nrpe command line test question
Maxwell,Brady
maxwellb at oclc.org
Fri May 11 19:00:08 CEST 2007
My nrpe.cfg on the remote host contains these commands
command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c
$ARG2$ -p $ARG3$
command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p
/dev/vga/root
running a check_nrpe from the command line has the following results.
[root at nagios02 ~]# /usr/local/nagios/libexec/check_nrpe -H hostname -c
check_disk -a 10 5 /dev/vga/root
check_disk: Warning threshold must be integer or percentage!
[root at nagios02 ~]# /usr/local/nagios/libexec/check_nrpe -H hostname -c
check_disk1
DISK OK - free space: / 801 MB (12% inode=81%);|
/=5625MB;6405;6415;80;6425
I would like to be able to pass arguments to the remote system, allowing
me to set threshold values at the service level.
Can anyone tell me why I get the error "Warning threshold must be
integer or percentage!" ?
Or suggest another method of passing the args to the remote nrpe
process?
Thanks
Brady
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070511/88f93d93/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- 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