SNMP Trap component

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ss6396
Posts: 35
Joined: Wed Mar 19, 2014 11:26 am

SNMP Trap component

Post by ss6396 »

We have XI setup to send snmp traps to netcool for all alarms but are finding that when a service or host alarm reaches the notification interval and regenerates notification, it does not send another snmp trap. What do we need to do to get XI to send an snmp trap each time a service or host notification occurs?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: SNMP Trap component

Post by sreinhardt »

Considering that event handlers are only run on state change, we would need to do something different if you wanted traps at every notification interval. I would probably suggest making a notification command that is identical to the trap event handler, then create a contact that can be assigned to this command. Finally any hosts\services that you intend to sent traps for, assign this contact to and traps should begin coming in at each notification interval. Someone else may have a better idea, but I think this is about it at the moment.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
ss6396
Posts: 35
Joined: Wed Mar 19, 2014 11:26 am

Re: SNMP Trap component

Post by ss6396 »

sreinhardt wrote:Considering that event handlers are only run on state change, we would need to do something different if you wanted traps at every notification interval. I would probably suggest making a notification command that is identical to the trap event handler, then create a contact that can be assigned to this command. Finally any hosts\services that you intend to sent traps for, assign this contact to and traps should begin coming in at each notification interval. Someone else may have a better idea, but I think this is about it at the moment.
I set up commands for sending service traps and host traps and also set up a contact that uses those commands and it is working as suggested. You may close this thread.
Locked