unexpected host status on central server

Marc Powell marc at ena.com
Wed Apr 12 21:28:01 CEST 2006



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Trask
> Sent: Wednesday, April 12, 2006 1:04 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] unexpected host status on central server
> 

[chop chop chop]

> On DS1, the web interface and running the check_fping command both
> result in this:
> "FPING CRITICAL - 111.222.333.444 (loss=100%)"
> 
> If I run this check manually on the command line on CS, I also get:
> "FPING CRITICAL - 111.222.333.444 (loss=100%)"
> 
> However, cs's web interface shows the status as:
> "UP"
> "FPING WARNING - 111.222.333.444"
> 
> What's going on?  Did I miss some config option on the cs?  This is
> the latest versions of nagios and nsca (v2.2 and v2.6 respectively).

Your check command on cs is probably generating output to STDERR. Did
you perform your command line test as the nagios user? Try adding '2>&1'
to the end of your command definition ala

command_line    $USER1$/check_fping $HOSTADDRESS$ -n 1 -w5000.0 100
-c5000.0 100 2>&1

Are you using check_fping or is it a home-brew plugin?

--
Marc


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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