[Nagiosplug-devel] quoting authentication strings with nrpe_nt

Terry td3201 at gmail.com
Fri Aug 24 20:52:54 CEST 2007


I am using nrpe_nt with wmi plugins.  I am passing some authentication
strings like:
/usr/lib/nagios/plugins/check_nrpe -H -c get_service_auth
-a msdtc 'asdfasdf' 'foo!bar'

Notice the password has an exclamation point (!) in it.  How can I
quote this properly?  I have tried:

All with no luck.  If I escape it with backslash (\), NRPE complains with:
CHECK_NRPE: Received 0 bytes from daemon.  Check the remote server
logs for error messages.

I cannot change this password so I must think of a work around.

More information about the Devel mailing list