(No output!) Errors in Nagios 2.4
Andy Shellam
andy.shellam-lists at mailnetwork.co.uk
Mon Aug 28 17:55:39 CEST 2006
Hi Patrick
Nothing telling in the logs as far as I can see.
On the Nagios server:
> Aug 28 14:32:36 dns nagios: SERVICE ALERT: Sydney-1;Disk Space on
> /endeavour;UNKNOWN;HARD;1;Cannot map "tcp" to protocol number
That's the only line for that time and date.
On the client, absolutely nothing since the NRPE daemon was started:
Aug 27 10:23:40 sydney-1 nrpe[2505]: Starting up daemon
Aug 27 10:23:40 sydney-1 nrpe[2505]: Listening for connections on port 5666
Aug 27 10:23:40 sydney-1 nrpe[2505]: Allowing connections from:
127.0.0.1,84.18.200.160
One thing I had noticed is there were 8 services that were checked at
that exact time. Don't know if this could be a factor in it or not.
I'm in the process of setting up a Nagios 2.5 server - I'm going to use
exactly the same configuration files and plugins, stop the 2.4 server
and let the 2.5 server run for a couple of days. If I don't get any of
these errors then I'll know it's a server issue.
THanks
Andy.
Morris, Patrick wrote:
>> 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?
>>
>
> Have you checked the system logs on both the client and the Nagios
> server? This looks suspiciously like a "too many open files" kind of
> error.
>
> !DSPAM:37,44f30806143291559514578!
>
>
>
-------------------------------------------------------------------------
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
_______________________________________________
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