Junos
Reply
Contributor
vovochka83
Posts: 23
Registered: ‎06-09-2011
0

SNMP trap and SNMP server

I would like to configure the snmp trap using syslog events as below:

 

Generating Traps Based on SysLog Events

[edit event-options policy p1]events ui_mgd_terminate;then { raise-trap}

 

But the problem is how can i configure the snmp server ip so that above events will know send to which snmp server, when it raise the event as trap...

Contributor
vovochka83
Posts: 23
Registered: ‎06-09-2011
0

Re: SNMP trap and SNMP server

i do understand that we can configure trap-group to specifc the snmp server to send trap, but how can i link the above event policy into below trap-group?

 

[edit snmp]trap-group jnpr {categories {link;vrrp-events;services;otn-alarms;}targets {192.168.69.179;}}
Distinguished Expert
lyndidon
Posts: 1,210
Registered: ‎06-06-2011
0

Re: SNMP trap and SNMP server

Once you configure the NMS server as indicated, the trap will be sent by the agent.

http://www.juniper.net/techpubs/en_US/junos10.0/information-products/topic-collections/config-guide-...
http://www.juniper.net/techpubs/en_US/junos10.0/information-products/topic-collections/config-guide-...

Define a policy that raises an SNMP trap in response to an event. If one or more of the listed events occur, the system log message for the event is converted into a trap. This enables an agent to notify a trap-based network management system (NMS) of significant events.

[Click the "Star" for Kudos if you think I earned it!
If this solution worked for you please flag my post as an "Accepted Solution" so others can benefit..]
Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.