(No output!) Errors in Nagios 2.4
Andy Shellam
andy.shellam-lists at mailnetwork.co.uk
Mon Aug 28 16:11:45 CEST 2006
Hi Brian
Whenever I'd changed the configuration I always used "killall -HUP nagios."
The machine does use the rc init scripts on bootup and shutdown.
Several times I've kill'd the nagios process so absolutely nothing of
nagios was running, removed all the state information from nagios/var,
then used the rc init script to fire it back up again.
I understand Nagios spawns more processes, I just thought it strange it
would spawn another daemon during a check?
Anyway, last night we had some awful problems on that machine (files not
being found when they were actually there - probably explaining the "127
- plugin not found" message.)
I rebooted the machine last night and kicked Nagios off at shortly
before midnight. Out of my 17 services and 5 hosts, there are only two
services that are playing up now - the rest have been in the same
(correct) state for 15 and half hours now.
The 2 that are playing up still is an nrpe check which executes a
check_disk and check_swap command on another machine. The status logs
of the 2 services since midnight are shown below.
I have no idea where "tcp" comes in, as it's not present in any of the
commands ("/usr/local/nagios/libexec/check_nrpe -H $ARG1$ -p 5666 -t 60
-c $ARG2$") - $ARG1$ is $HOSTADDRESS$ and $ARG2$ is "check_endeavour"
and "check_swap" for the 2 checks respectively. The NRPE on the remote
machine for these two commands reads:
command[check_endeavour]=/usr/local/nagios/libexec/check_disk -p
/endeavour -w 10% -c 5%
command[check_swap]=/usr/local/nagios/libexec/check_swap -w 10% -c 5%
Is it possible this machine is having difficulty reading the
/etc/services file, hence not being able to map a protocol number?
### START STATUS LOG 2 ###
28-08-2006 00:00:00 28-08-2006 05:50:49 0d 5h 50m 49s SERVICE OK
(HARD) DISK OK - free space: /endeavour 135492 MB (94% inode=100%):
28-08-2006 05:50:49 28-08-2006 05:56:32 0d 0h 5m 43s SERVICE UNKNOWN
(HARD) Cannot map "tcp" to protocol number
28-08-2006 05:56:32 28-08-2006 14:32:36 0d 8h 36m 4s SERVICE OK
(HARD) DISK OK - free space: /endeavour 135492 MB (94% inode=100%):
28-08-2006 14:32:36 28-08-2006 14:38:33 0d 0h 5m 57s SERVICE UNKNOWN
(HARD) Cannot map "tcp" to protocol number
28-08-2006 14:38:33 28-08-2006 14:55:34 0d 0h 17m 1s+ SERVICE OK
(HARD) DISK OK - free space: /endeavour 135482 MB (94% inode=100%):
### END STATUS LOG 2 ###
### START STATUS LOG 2 ###
28-08-2006 00:00:00 28-08-2006 05:50:40 0d 5h 50m 40s SERVICE OK
(HARD) SWAP OK - 100% free (7828 MB out of 7828 MB)
28-08-2006 05:50:40 28-08-2006 05:56:32 0d 0h 5m 52s SERVICE UNKNOWN
(HARD) Cannot map "tcp" to protocol number
28-08-2006 05:56:32 28-08-2006 15:00:36 0d 9h 4m 4s+ SERVICE OK
(HARD) SWAP OK - 100% free (7828 MB out of 7828 MB)
### END STATUS LOG 2 ###
Thanks
Andy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060828/1ad5850e/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
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