[Nagiosplug-help] check_nrpe idea

Jason Martin jhmartin at toger.us
Wed Apr 28 13:29:02 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I bleve you can enclose a given argument to -a in quotes to prevent it 
from being split.

- -Jason Martin
On Wed, 28 Apr 2004, Arnold Cano wrote:

> Would anyone else think adding an option to configure what the separator
> character should be when using the "-a <arglist...>" option?
> 
> The problem I am trying to deal with occurs when I have a argument that
> already contains spaces (such as a windows service name). I know I could
> just create a command declaration in the nrpe.cfg for each one but for
> the sake of maintenance I am using command arguments. This means my
> commands in nrpe.cfg are simplified to one command as so...
> 
> command[check_nrpe]=<path_to_nrpe>/check_nrpe -H $ARG1$ -c $ARG2$ -a
> $ARG3$
> 
> Arnold
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g. 
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.5 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD4DBQFAkBPdl2ODWuqVSBMRAtqyAJjrcmcH7/uqw276POmvf2Sa0PZAAJ42ZgTA
sJ7j1n1n7hHWvfLVjeI+Qg==
=acFX
-----END PGP SIGNATURE-----




More information about the Help mailing list