submit_check_result always critical

Marc Powell marc at ena.com
Wed Nov 14 00:18:53 CET 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Robert Gil
> Sent: Tuesday, November 13, 2007 3:34 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] submit_check_result always critical
> 
> I am setting up a distributed nagios environment for the first time
and
> have come into a couple road blocks.
> 
> 
> 
> For some reason the passive checks always come back as critical. From
the
> command line they show correctly. Also the $OUTPUT$ variable does not
> appear to return any information in the submit_check_result script. I
got
> the script out of the documentation. Perhaps the variable is
incorrect?

Looks to me like you might have been referencing the 1.0 documentation
($OUTPUT$ is a 1.x only macro). The 2.0 documentation on Distributed
Monitoring uses the correct macros.

http://nagios.sourceforge.net/docs/2_0/distributed.html

--
Marc


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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