I want to check a URL but from the remote machine. I've do with NRPE without problems. However, I have an issue with a URL with special characters ('&', '=' '?' '+'). If I run in remote machine:
Code: Select all
./check_http -H ssl.mysite.com -u /coa?utm_source=red\&utm_medium=home\&utm_term=run+now -s Hello -w 5 -c 30 --sni
HTTP OK: HTTP/1.1 301 Moved Permanently - 751 bytes in 0,069 second response timeBut if I run via NRPE:
Code: Select all
/usr/lib/nagios/plugins/check_nrpe -H 192.168.1.22 -c 'check_web_remote' -a "-H ssl.mysite.com -u /coa?utm_source=red\&utm_medium=home\&utm_term=run+now -s Hello -w 5 -c 30 --sni"
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.Can anyone help me?
Thanks in advance.
Regards.