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

-------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to