Perl plugins: No output from plugin
Dennis Hopp
dhopp at GOCSC.com
Tue Aug 23 00:53:38 CEST 2005
I'm trying to use the check_snmp_load.pl and check_snmp_storage.pl
I can run the plugin from the command line (as both root and nagios
user) and get the right results but when it's fired off automatically I
keep getting "No output from plugin".
Here are the relevant config:
define service{
use generic-service
hostgroup_name LinuxServers
service_description LOAD
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups domain-admins
check_command check_linux_load!2,2,3!3,3,4
}
define command{
command_name check_linux_load
command_line $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ -C
public -w $ARG1$ -c $ARG2$ -L
}
$USER1$=/opt/nagios/plugins
[root at cartier plugins]# ls -l /opt/nagios/plugins/check_snmp_load.pl
-rwxr-xr-x 1 root root 14168 Aug 22 12:42
/opt/nagios/plugins/check_snmp_load.pl
Thanks,
--Dennis
* "Privileged/Confidential Information of Communications Supply
Corp. may be contained in this message. If you are not the addressee of
this message, you may not copy, use or deliver this message to anyone.
In such event, you should destroy the message and kindly notify the
sender by reply e-mail. It is understood that opinions or conclusions
that do not relate to the official business of Communications Supply
Corp. are neither given nor endorsed by Communications Supply Corp."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050822/f1df4b95/attachment.html>
More information about the Users
mailing list