Traps & eventman.log

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
oslec
Posts: 55
Joined: Mon Jan 14, 2013 5:19 pm

Re: Traps & eventman.log

Post by oslec »

Hi,
I see the next ..in the logs
Oct 28 19:39:54 mxtulm01nagiosxi nagios: Warning: Global host event handler command '/usr/bin/php /usr/local/nagiosxi/scripts/handle_nagioscore_event.php --handler-type=host --host="MXCMXM01RTDCLFISP02" --hostaddress="10.225.118.9" --hoststate=DOWN --hoststateid=1 --lasthoststate=DOWN --lasthoststateid=1 --hoststatetype=SOFT --currentattempt=3 --maxattempts=5 --hosteventid=5075361 --hostproblemid=2470853 --hostoutput="CRITICAL - 10.225.118.9: rta nan, lost 100%" --longhostoutput="" --hostdowntime=0' timed out after 0.00 seconds

Is a Warning and timeout..

If I run this command in shell..
/usr/bin/php /usr/local/nagiosxi/scripts/handle_nagioscore_event.php --handler-type=host --host="MXCMXM01RTDCLFISP02" --hostaddress="10.225.118.9" --hoststate=DOWN --hoststateid=1 --lasthoststate=DOWN --lasthoststateid=1 --hoststatetype=SOFT --currentattempt=3 --maxattempts=5 --hosteventid=5075361 --hostproblemid=2470853 --hostoutput="CRITICAL - 10.225.118.9: rta nan, lost 100%" --longhostoutput="" --hostdowntime=0

The eventman show me the trap ..

PHP Notice: Undefined index: contact in /usr/local/nagiosxi/html/includes/utils-notifications.inc.php on line 0
PHP Notice: Undefined variable: _SESSION in /usr/local/nagiosxi/html/includes/utils-users.inc.php on line 1980
RUNNING COMMAND: /usr/bin/snmptrap -v 2c -c public 10.150.10.73:162 '' NAGIOS-NOTIFY-MIB::nHostEvent nHostname s "MXCMXM01RTDCLFISP02" nHostStateID i 1 nHostOutput s "CRITICAL - 10.225.118.9: rta nan, lost 100%" nHostAlias s "MXCMXM01RTDCLFISP02"
.............
PROCESSED 1 EVENTS
.....................

What happen with the timeout ?


Regards!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Traps & eventman.log

Post by ssax »

Please create a ticket for this and include a link back to this forum thread so we can get a remote session setup:

https://support.nagios.com/tickets/

Thank you!
Locked