nrpe options - confused
Andreas Ericsson
ae at op5.se
Fri Oct 21 10:45:36 CEST 2005
Albert Whale wrote:
> I am attempting to implement the options with the check_nrpe command. I
> can run the command from the command line properly.
>
> /usr/lib/nagios/plugins/check_nrpe -H ns4 -c check_disk -a 20% 10% /
> DISK OK - free space: / 2461 MB (82%);| /=527MB;2390;2689;0;2988
>
> I am implementing the configuration using the NagiosQL 2005 (I have a
> few updates for the the Nagios Control Section - where should I send them?)
>
> Anyway, the checkcommand format is:
>
> $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$
>
> If the /etc/nrpe.cfg is set up for
>
> command[check_disk]=/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c
> $ARG2$ -p $ARG3$
>
> How can I implement the check_nrpe to send the ARGS to the Remote server
> which is accepting multiple arguments?
>
> Do I need to put in another entry for check_nrpe in the check commands
> section to issue the additional arguments?
>
Yes. Or you can just space-separate the arguments.
> TIA
>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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