event_handler send_snmptrap

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

event_handler send_snmptrap

Post by lafargeuser »

Just need an explanation on below,
define service{
use generic-service
host_name Windows AD
service_description Uptime
#event_handler send_snmptrap
event_handler_enabled 1
check_command check_nt!UPTIME
}

If I comment or uncomment event hander, how this will effect ? Does it have any relation with server or service ?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: event_handler send_snmptrap

Post by sreinhardt »

That depends what you have send_snmptrap defined as. It may attempt to send some form of trap to the windows machine or another. Could you post a copy of the event handler?
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.
Locked