check_perc.pl

Robert Ferguson robert.ferguson at replacements.com
Wed Dec 19 22:09:02 CET 2007


Good Afternoon

 

I am having an issue with this plugin.  Maybe one of you can help.  I am
receiving a null return when nagios runs this command, however when
running on command line, it returns just fine.  Here is my command
definition and define service:

 

# 'check_perc.pl' command definition

define command{

                command_name             check_perc

                command_line                  $USER1$/check_perc.pl -H
$HOSTADDRESS$ -C $ARG1$ -D $ARG2$ -T $ARG3$

                }

 

define service{

                use
local-service

                host_name                         HostNameHere

                service_description        Check Perc

                check_command             check_perc!public!phys!am

                }

 

As I said, I have been successful in running this at the command line
both as root and as nagiosuser.  Any help would be appreciated.

 

Thanks,

 

Robert

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071219/e822fc85/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
-------------- next part --------------
_______________________________________________
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