AW: Problem with $OUTPUT$
Tiago Cruz
tiagocruz at forumgdh.net
Thu Apr 13 18:51:45 CEST 2006
Thomas.Zimmer at oppenheim.de wrote:
> Did you upgrade from version 1.x to 2.x?
Yes Thomas, many thanks by reply!!!
> There´s no macro $OUTPUT$ in version 2.x any more... Use $SERVICEOUTPUT$ or
> $HOSTOUTPUT$ instead.
Great! Now I can see this information:
[1144945775] EXTERNAL COMMAND:
PROCESS_SERVICE_CHECK_RESULT;golum.br.xxxxx.net;Apache;-1;CRITICAL
Very good, thanks again!
Now... let me know two more things:
1-) The status that goes to my nagios server are E.O.K, but the
information still wrong in my Apache, like this:
Apache WWW - CRITICAL - 13-04-2006 - 0d 2h 16m 38s - 1/5 - $OUTPUT$
Process - OK 13-04-2006 - 0d 3h 27m 29s - 1/5 - PROCS
2-) The "ping" command not work any more?
This information are sent by my station:
[1144945646] INITIAL SERVICE STATE:
golum.br.xxxxx.net;Ping;UNKNOWN;HARD;5;/bin/ping -n -U -w 10 -c 5 10.0.0.197
This information are sent by my nagios distributed to my nagios server:
[1144945895] EXTERNAL COMMAND:
PROCESS_SERVICE_CHECK_RESULT;golum.br.xxxxx.net;Ping;-1;/bin/ping
And this is the result in web interface:
Ping - UNKNOWN - 13-04-2006 - 0d 21h 35m 0s - 5/5 - /bin/ping
Do you know where am I wrong?
Many thanks!
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list