I am trying to check a URL.
Here is what the problem is. The URL has an exclamation mark (!) and the command check_http is not working properly.
/usr/local/nagios/libexec/check_http -I xx.xx.xx.xx
-s “0 - Success”
When I run this in command line, I get
-bash: !+abcaaaaaaaaa: event not found
The question is how to make check_http to recognize the exclamation mark in the URL as part of the URL.