ping UNKNOWN status

Karl DeBisschop karl at debisschop.net
Sun Mar 30 15:38:47 CEST 2003


On Sun, 2003-03-30 at 01:00, Felix F. wrote:
> Hello,
> 
> It looks like the resource file did not have read permission but I fixed
> that. The problem still persists.
> 
> I've tried using:
> 
> check_command                   check_ping!100.0!20!500.0!60!
> and
> check_command                   check_ping!100.0,20%!500.0,60%
> 
> Both show PING as unknown.
> 
> The /bin/ping command is owned by root but has world execution enabled.


is it setuid root as well?

> Sorry about the forum post. Didn't know they were linked. 

Hmm. Neither did I. Now I see why we ended up with two posts.

--
Karl

> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Karl
> DeBisschop
> Sent: Saturday, March 29, 2003 10:36 PM
> To: matrix4050
> Cc: Nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] ping UNKNOWN status
> 
> On Sat, 2003-03-29 at 14:51, matrix4050 wrote:
> > Hello,
> > 
> > The check_ping command doesn't seem to work with nagios. 
> > 
> > The "Status Information" is "/bin/ping -n -U -c 5 IP_HERE" and the
> STATUS of my ping command is UNKNOWN even though i tried to execute the
> above command manually and I got all the correct output.
> 
> Someone recently had a similar problem, and discovered thar resource.cfg
> was not rreadble by nagios.
> 
> Also, when you ran the command, was it as nagios? Some systems place
> limits on who can execute ping, and nagios is typically confugured as a
> non-priveleged user (it should be configured as such for security
> reasons).
> 
> BTW, you later post was not needed, and the HTML should be avoided as
> well. Waiting a few hours for an answer to appear on a weekend should
> not be too much of a trial for you, especially given how much you have
> paid for the support.
> 
> --
> Karl
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> 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




-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
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