I have two check_load in my nrpe.cfg file:
command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
command[check_load2]=/usr/lib/nagios/plugins/check_load -w $ARG1$ -c $ARG2$
When I call them, unfortunately the one with arguments doesn't work.
check_nrpe -t 60 -H 172.16.165.214 -c "check_load"
OK - load average: 0.00, 0.00, 0.00|load1=0.000;15.000;30.000;0;
load5=0.000;10.000;25.000;0; load15=0.000;5.000;20.000;0;
[r...@localhost ~]# /usr/local/groundwork/nagios/libexec/check_nrpe -t 60 -H
172.16.165.214 -c "check_load2"
Warning threshold must be float or float triplet!
So this makes it look like it is looking for the arguments, however when I
supply them, it returns no data.
[r...@localhost ~]# /usr/local/groundwork/nagios/libexec/check_nrpe -t 60 -H
172.16.165.214 -c "check_load2" -a "15,10,5" "30,25,20"
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for
error messages.
This happens for other commands also, such as check_users etc
Anyone able to point me in the right direction? (remote machine is RHEL4u6 with
the RPMs installed (not compiled from source)
Thanks
B
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nagios-users mailing list
[email protected]
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