[Nagiosplug-devel] Issue with check_fping (Need Help)

Florian Gleixner flo at bier.homeip.net
Fri Aug 18 11:11:08 CEST 2006


If your fping binary (usually /usr/sbin/fping) does not have the suid
root bit set, then you cannot use the plugin as nagios-user.

chown root /usr/sbin/fping
chmod u+xs /usr/sbin/fping

should solve this problem.

Flo

Singh Saimbhi wrote:
> 
> 
> Hi,
> 
>  
> 
> I am tring to run the plugin check_fping from Nagios. And it does not
> work. When I run via command line then everything is ok.
> 
> [root at ushqua024 libexec]# ./check_fping -H 148.92.191.185  -w 100.0,10%
> -c 200.0,20% -n 5
> 
> FPING OK - 148.92.191.185 (loss=0%, rta=68.200000
> ms)|loss=0%;10;20;0;100 rta=0.068200s;0.100000;0.200000;0.000000
> 
> [root at ushqua024 libexec]#
> 
>  
> 
>  
> 
> Now the error I get from Nagios is:
> 
> [1155849434] EXTERNAL COMMAND:
> SCHEDULE_FORCED_SVC_CHECK;W280BZ4R661;FPING;1155849417
> 
> [1155849444] SERVICE ALERT: W280BZ4R661;FPING;UNKNOWN;SOFT;2;FPING
> UNKNOWN - 148.92.213.48
> 
>  
> 
>  
> 
>         service_description             FPING
> 
>         check_command                check_fping!100,10%!300,20%!5
> 
>  
> 
> define command {
> 
>         command_name    check_fping
> 
>         command_line    $USER1$/check_fping -H $HOSTADDRESS$ -w $ARG1$
> -c $ARG2$ -n $ARG3$
> 
> }
> 
>  
> 
> Can you please help!!!!!!!!!!
> 
>  
> 
> Regards,
> Singh, Saimbhi
> Palm, Inc.
> 950 W. Maude Ave
> Sunnyvale , CA 94085
> Tel: 408-617-8439
> Email: singh.saimbhi at palm.com <mailto:singh.saimbhi at palm.com>
> 
> Location: SV02.4.112
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> 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 Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null





More information about the Devel mailing list