Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Sending BGP Alerts to DFM

Is there a way of sending BGP alerts to Device Fault Manager 1.2 in realtime?

3 REPLIES
Silver

Re: Sending BGP Alerts to DFM

Like a trap you mean?

You could, but if DFM can interpret that seems doubtfull to me.

DFM only looks at fuctioning of the device.

If you can get the device to convert the traps to syslog you may use the RME automated actions to do something with the BGP message.

Hope this helps

Cheers,

Michel

Community Member

Re: Sending BGP Alerts to DFM

Thanks Michel

I did not look into this option at first so thanks for pointing me in this direction.

I have selected my BGP alerts within the Define Automated Action box and selected Enable Action. How do I determine what action to use, do I have to use a script within the command line section? If so, where can I source some ready made scripts for things such as forwarding an email alert whenever a BGP syslog is generated.

Cisco Employee

Re: Sending BGP Alerts to DFM

If you go to the directory CSCOpx/cgibin/sysloga you can use the sampleEmailScript.pl to generate an email for certain syslog messages received. You can then use the script something like this:

/opt/CSCOpx/bin/perl /opt/CSCOpx/cgibin/sysloga/sampleEmailScript.pl -text_message $M -email_ids who@whoever.com -subject config -from cw2000 -smtp 10.0.1.1

Also, if you have another NMS that can receive traps, you can forward BGP related traps to DFM which in turn would forward them to the other NMS.

138
Views
0
Helpful
3
Replies
CreatePlease to create content