check_fping works at command line, but not in the nagios web client

Subhendu Ghosh sghosh at sghosh.org
Fri Jan 10 21:02:46 CET 2003


Assuming you are running the command line as the nagios user????

Looks like there is an error on stderr which is causing the WARNING 
level...

-sg

On Fri, 10 Jan 2003, Peter Krzystofiak wrote:

> this works...
> 
> ./check_fping -H yahoo.com
> FPING OK - yahoo.com (loss=0.000000%, rta=69.100000 ms)
> 
> ---------------------------------------------------------------
> The problem is that in the nagios web view monitor page
>  
>  WARNING 01-09-2003 12:33:51 0d 0h 2m 10s 1/3 FPING WARNING - yahoo.com  
> 
> Why do I get a "FPING WARNING - yahoo.com" error?
> ---------------------------------------------------------------
> define command {
>   command_name check_fping
>   command_line $USER1$/check_fping -H $HOSTADDRESS$ -b $ARG1$
> }
> 
> ---------------------------------------------------------------
> 
> define service {
> use generic-service
> host_name 3.1_services
> service_description FPING
> is_volatile 0
> check_period 24x7
> max_check_attempts 3
> normal_check_interval 3
> retry_check_interval 3
> contact_groups flcd-admins
> notification_interval 120
> notification_period 24x7
> notification_options c,r
> check_command check_fping!1024
> }
> 
> ---------------------------------------------------------------
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld http://www.vasoftware.com
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 

-- 




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list