Hello, I am using nrpe_nt with wmi plugins. I am passing some authentication strings like: /usr/lib/nagios/plugins/check_nrpe -H 10.0.1.127 -c get_service_auth -a 10.0.1.5 msdtc 'asdfasdf' 'foo!bar'
Notice the password has an exclamation point (!) in it. How can I quote this properly? I have tried: "foo!bar" 'foo!bar' "foo\!bar" 'foo\!bar' 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. Maybe a perl wrapper with qq// ? Thanks! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list [email protected] 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
