Page 1 of 1

How to send SNMP trap to another service

Posted: Tue Sep 12, 2017 10:09 am
by peakyblinder
Hi,

Having just migrated from Nagios Core to XI I now need to configure our SNMP trap push. With Core I could send an SNMP trap to Tivoli. The SNMP trap would be fired when an alert for a particular service is triggered, it would use the contact to run a command, the command would run a script and would squirt the SNMP to Tivoli.

It was something like this - http://askaralikhan.blogspot.co.uk/2010 ... agios.html

In Nagios XI I cant figure how to do this - can it even be done?

This seems to indicate it can but it looks like it will send either all or nothing - https://assets.nagios.com/downloads/nag ... ios_XI.pdf

Any ideas?

Thanks,

Re: How to send SNMP trap to another service

Posted: Tue Sep 12, 2017 11:56 am
by cdienger
Event handlers can be used per host/service to send snmptraps. https://assets.nagios.com/downloads/nag ... ios-XI.pdf covers event handlers. Using this and http://askaralikhan.blogspot.co.uk/2010 ... agios.html, you should be able to do what you're looking for.