NRPE 2.0 arguments question

Steve Shipway s.shipway at auckland.ac.nz
Mon Dec 19 21:35:14 CET 2005


>	   There is no problem about it... I have my 
>checkcommands.cfg's check_nrpe configured like 
>check_nrpe -t 30 -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ 
>$ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$ 
>$ARG10$ $ARG11$, just in case I need lots of arguments. 
>   The only point you have to pay attention is passing 
>no arguments at all... There may be - as far as I'm 
>concerned - two problems: 
	
You also want to watch out for arguments containing spaces or shell
metacharacters.  For this reason, I define multiple check_nrpe commands as
appropriate with the arguments quoted, to avoid issues where the argument
contains special characters or spaces.

Steve




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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