Hi there ! I'm using Nagios on a linux OpenSuse 10.2 and NRPE_NT 0.8.0.2.
I created different script (batch) on Windows wich work well. Now I scripted a file check and I have problem with backslashes (\) So I used a simple script as follow (test.cmd) : echo %* exit 0 And I use check_nrpe from Suse, trying to send \ like this : ./check_nrpe -H tbm000fb4x00454 -c check_arg\!test which returns : test But the problem comes when I try that : ./check_nrpe -H tbm000fb4x00454 -c check_arg\!test\\this Which returns this : CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. And on the log : 2007-11-21 09:16:05; 2116; 4;Error: Request contained illegal metachars! 2007-11-21 09:16:05; 2116; 4;Client request was invalid, bailing out... I suppose that as nrpe_nt is made to work on Windows, it should be a way to send a backslash, but I can't... Is someone can help me with it ? Best Regards, Benoit Benoit da Costa ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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
