cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2616
Views
0
Helpful
3
Replies
ronaldobf
Beginner

How to send specific traps to a specific snmp server

Hi guys.

Today I got a request to insert an equipment to our monitoring system.

The customer already has its monitoring system with its configuration.

Since I only manage the WAN, I would like to make polling and also get traps for only a specific BGP peer and the WAN interface.

For polling, I know I can use the snmp view, but for trap generation, how can I prevent my monitoring system to receive unnecessary traps (the ones I am not interested to and the customer still needs it in order to monitor all the equipment).

example:

Customer has its monitoring server in order to receive all the traps related to interface, CPU, internal routing protocol states, environmental traps, etc and I only need to receive traps for a specific interface, a specific BGP peer.

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
Vinod Arya
Cisco Employee

I dont think there is a way to control Traps per interface wise.

For sending specific traps to a perticular snmp-server we can use trap names after the host command :

snmp-server host

snmp-server host x.x.x.x public bgp .. .. .

-Thanks

-Thanks Vinod **Rating Encourages contributors, and its really free. **

View solution in original post

3 REPLIES 3
Vinod Arya
Cisco Employee

I dont think there is a way to control Traps per interface wise.

For sending specific traps to a perticular snmp-server we can use trap names after the host command :

snmp-server host

snmp-server host x.x.x.x public bgp .. .. .

-Thanks

-Thanks Vinod **Rating Encourages contributors, and its really free. **

View solution in original post

Got it. That´s what I thought.

Thanks.


@Vinod Arya wrote:

I dont think there is a way to control Traps per interface wise.

 

For sending specific traps to a perticular snmp-server we can use trap names after the host command :

 

snmp-server host

 

snmp-server host x.x.x.x public bgp .. .. .

 

-Thanks


Do you have to first enable the specific trap and then point it to a host?

 

Example:

snmp-server enable trap cpu

snmp-server host user1 192.168.1.1 cpu

Content for Community-Ad