Routing
Reply
Contributor
ugo_nwamo
Posts: 19
Registered: ‎11-23-2009
0

automatically send bgp updates/notifications to emails

 

Hi,

 

I need assistance. I want to know immediately when my bgp peer fails. Can this be automated through Junos e.g by sending it to my mail instead of logging into my Juniper router to find out

Distinguished Expert
muttbarker
Posts: 2,294
Registered: ‎01-29-2008
0

Re: automatically send bgp updates/notifications to emails

JUNOS logging does not offer any way to directly email. The easiest way to do this is to send your event messages to an external syslog processor which can then parse and email as appropriate.

Kevin Barker
JNCIP-SEC
JNCIS-ENT, FWV, SSL, WLAN
JNCIA-ER, EX, IDP, UAC, WX
Juniper Networks Certified Instructor
Juniper Networks Ambassador

Juniper Elite Reseller
J-Partner Service Specialist - Implementation

If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.
Contributor
ugo_nwamo
Posts: 19
Registered: ‎11-23-2009
0

Re: automatically send bgp updates/notifications to emails

Thanks for the quick response muttbarker, how do i send the event messages to the syslog server. How about monitoring the bgp notifications remotely without logging into the router

Distinguished Expert
muttbarker
Posts: 2,294
Registered: ‎01-29-2008
0

Re: automatically send bgp updates/notifications to emails

To push log information to a syslog server you specify the server and the desired log information.

 

set system syslog host xxx.xxx.xxx.xxx

You can the specify the log file(s) and severity level(s) of the messages you want pushed to your syslog.

Kevin Barker
JNCIP-SEC
JNCIS-ENT, FWV, SSL, WLAN
JNCIA-ER, EX, IDP, UAC, WX
Juniper Networks Certified Instructor
Juniper Networks Ambassador

Juniper Elite Reseller
J-Partner Service Specialist - Implementation

If this worked for you please flag my post as an "Accepted Solution" so others can benefit. A kudo would be cool if you think I earned it.
Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.