how to scape # with check_http

Nacho . aguayo33 at gmail.com
Mon Feb 4 15:44:26 CET 2019


Thanks in advance,

I´m trying to monitor an URL that contains an # and when I execute tje
check_http can´t resolve it correctly, if I try with wget there isn´t
problem to do that.

This is the command that I´m executing to try:

check_http -H pruebas.es -S -u /raSaasUserPortal/web/console.html#/login -w
1 -c 4


I have probed to scape with "" and '' and \ :

check_http -H pruebas.es -S -u "/raSaasUserPortal/web/console.html#/login"
-w 1 -c 4
check_http -H pruebas.es -S -u "/raSaasUserPortal/web/console.html\#/login"
-w 1 -c 4
check_http -H pruebas.es -S -u '/raSaasUserPortal/web/console.html#/login'
-w 1 -c 4
check_http -H pruebas.es -S -u '/raSaasUserPortal/web/console.html\#/login'
-w 1 -c 4


Thank a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20190204/bf8b8afb/attachment.html>


More information about the Help mailing list