no check results posted, no macro expand: solaris 10, new install
David Dozier
David.Dozier at Sun.COM
Wed Mar 18 03:05:29 CET 2009
All,
I am having difficulty with a new 3.0.6 install on Solaris 10; check
results are not being posted to and/or successfully reaped from the temp
file in var/spool/checkresults
The plugins (eg, /usr/local/nagios/libexec/check_http) can be
successfully launched manually, and return the expected results.
The checks are being scheduled & launched, for the hosts and services
defined. Most other aspects of the GUI seem as expected. But no data
is being reported to the Nagios web app.
To simplify debugging, I am looking only at localhost, as defined in the
out-of-the-source objects/localhost.cfg
Debugging_level=2
Debuggins_output=16
In the debug fragment below, Expanded Command Ouput is not expanded;
the $USER1$, $HOSTADDRESS$ and other macros remain as literals.
Is this an artifact of the debug logging? Or might this be part of the
problem?
A fragment from var/nagios.debug
[] ** Running async check of host 'localhost'...
[] Checking host 'localhost'...
[] Adjusting check attempt number for host 'localhost': current
attempt=1/10, state=0, state type=1
[] New check attempt number = 1
[] Raw Command Input: $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80%
-c 5000.0,100% -p 5
[] Expanded Command Output: $USER1$/check_ping -H $HOSTADDRESS$ -w
3000.0,80% -c 5000.0,100% -p 5
[] Check result output will be written to
'/opt/local/nagios-3.0.6/var/spool/checkresults/checkNraWhI' (fd=7)
[] Host check is executing in child process (pid=17909)
[] Starting to reap check results.
[] Starting to read check result queue
'/opt/local/nagios-3.0.6/var/spool/checkresults'...
[] Finished reaping 0 check results
FYI: I set Debugging_output=256, and every "Expanded Command Output" is
not expanded, and every "Reap check results" yeilds 0 check results.
Any ideas?
Many thanks,
David
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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