This should do it!
event manager applet Group-Study
event syslog pattern "%TRACKING-5-STATE: 1 interface Di1 ip routing Up->Down"
action 1.0 mail server "192.168.1.1" to "cisco_at_cisco.com" from "Admin_at_cisco.com" subject "Dialer-Status" body "Interface Dialer 1 is Down"
HTHs
On May 12, 2010, at 2:33 PM, Edouard Zorrilla wrote:
> Thaks I will,
>
> Regards
>
> ----- Original Message ----- From: "eseosa" <eseosa.ehiwe_at_gmail.com>
> To: "Edouard Zorrilla" <ezorrilla_at_tsf.com.pe>
> Cc: <security_at_groupstudy.com>; <ccielab_at_groupstudy.com>
> Sent: Wednesday, May 12, 2010 11:14 AM
> Subject: Re: Proactive monitoring of IP SLA with SNMP
>
>
>> Exactly.Try it and lets see the outcome.
>>
>> On 5/12/10, Edouard Zorrilla <ezorrilla_at_tsf.com.pe> wrote:
>>> Yes,
>>>
>>> It really helps...,
>>>
>>> So I will need the routers send traps instead of pull it.
>>>
>>> Regards
>>>
>>> ----- Original Message -----
>>> From: "eseosa" <eseosa.ehiwe_at_gmail.com>
>>> To: "Edouard Zorrilla" <ezorrilla_at_tsf.com.pe>
>>> Cc: <security_at_groupstudy.com>; <ccielab_at_groupstudy.com>
>>> Sent: Wednesday, May 12, 2010 10:49 AM
>>> Subject: Re: Proactive monitoring of IP SLA with SNMP
>>>
>>>
>>>> Hi Edouard ,
>>>>
>>>> Since the dialer interface is you primary interface you will be
>>>> interested in its line protocol status .
>>>>
>>>> rather than worrying about a tracking mib you can enable link status
>>>> traps on the dialer interface using the command below:
>>>> int dialer 1
>>>> snmp trap link-status
>>>>
>>>> and configure other snmp related commands(snmp-server community ,
>>>> snmp-server host etc)
>>>>
>>>>
>>>> HTH
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On 5/12/10, Edouard Zorrilla <ezorrilla_at_tsf.com.pe> wrote:
>>>>> Hello Guys,
>>>>>
>>>>> I hope you can help me with this. Here we have routers with two internet
>>>>> access (DMVPN Network), one is the principal and the other one is the
>>>>> back
>>>>> up.
>>>>>
>>>>> We have set up the router in this way :
>>>>>
>>>>> track 1 interface Dialer1 ip routing
>>>>> ip route 0.0.0.0 0.0.0.0 Dialer1 track 1
>>>>> ip route 0.0.0.0 0.0.0.0 Vlan2 dhcp 100
>>>>>
>>>>> PE0001#CA0269#sh ip int brief | ex down
>>>>> Interface IP-Address OK? Method Status
>>>>> Protocol
>>>>> Dialer1 <Public IP1> YES IPCP up
>>>>> up
>>>>> FastEthernet0 unassigned YES unset up
>>>>> up
>>>>> FastEthernet1 unassigned YES unset up
>>>>> up
>>>>> FastEthernet2 unassigned YES unset up
>>>>> up
>>>>> FastEthernet3 unassigned YES unset up
>>>>> up
>>>>> FastEthernet4 unassigned YES NVRAM up
>>>>> up
>>>>> Tunnel10 172.xx.117.69 YES NVRAM up
>>>>> up
>>>>> Tunnel20 172.yy.117.69 YES NVRAM up
>>>>> up
>>>>> Virtual-Access1 unassigned YES unset up
>>>>> up
>>>>> Vlan1 10.1xy.69.1 YES NVRAM up
>>>>> up
>>>>> Vlan2 <Public IP2> YES DHCP up
>>>>> up
>>>>> PE0001#
>>>>>
>>>>> PE0001#sh inventory
>>>>> NAME: "881", DESCR: "881 chassis.
>>>>>
>>>>>
>>>>> So, if dialer 1 get into a issue, default gateway move to be the
>>>>> secondary
>>>>> line. As soon as "track 1" senses that dialer is in a issue, it will show
>>>>>
>>>>> us
>>>>> a
>>>>> message :
>>>>>
>>>>> %TRACKING-5-STATE: 1 interface Di1 ip routing Up->Down
>>>>>
>>>>> My question is, how can I make that snmp take care of this message ? I
>>>>> want
>>>>> to
>>>>> respond to issues at the first sign of a problem, I mean when primary
>>>>> internet
>>>>> line is down. It would be very good that a Open Source solution (CACTI or
>>>>> Nagios ) could send me one email and show one alarm in monitor tab.
>>>>>
>>>>> But I do not know yet, how can I get the MIB for "track" feature on Cisco
>>>>> IOS.
>>>>> If I guess that If I am able to get the MIB for track command I would be
>>>>> able
>>>>> to monitor my cisco router when the primary line is down.
>>>>>
>>>>> Thanks a lot for your time,
>>>>>
>>>>> Regards
>>>>>
>>>>>
>>>>> Blogs and organic groups at http://www.ccie.net
>>>>>
>>>>> _______________________________________________________________________
>>>>> Subscription information may be found at:
>>>>> http://www.groupstudy.com/list/CCIELab.html
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Warm Regards,
>>>>
>>>> Eseosa
>>>> CCIE #23782
>>>> Before God we are all equally wise - and equally foolish.
>>>> Albert Einstein
>>>>
>>>>
>>>
>>>
>>
>>
>> --
>> Warm Regards,
>>
>> Eseosa
>> CCIE #23782
>> Before God we are all equally wise - and equally foolish.
>> Albert Einstein
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at: http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Wed May 12 2010 - 14:46:15 ART
This archive was generated by hypermail 2.2.0 : Tue Jun 01 2010 - 07:09:53 ART