Hi,
I am just trying to replace our current home made shell script, used to monitor some web sites (with curl or weget)… by the centreon Plugin centreon_protocol_http.pl
To day we have custimized our custom shell script output as follow :
OK: time to get page https://mywebsitehost/someting : 0.121768 - Page return Code is 200
This is what is returned in the STATUS INFORMATION of the centreon probe.
Having the name of the checked url is very usefull for us.
Now with the centreon plugin : we only get :
OK: response time 0.122s
The plugin cmd line is like :
/usr/lib/centreon/plugins/centreon_protocol_http.pl --plugin=apps::protocols::http::plugin --mode=response --hostname=mywebsitehost --proto='https' --port='443' --urlpath='/something' ……..etc
… I could not find how to make the checked url appear in the STATUS INFORMATION….
Any idea ?
Is is a shame as tthis plugin offeres many other options (Check different http_code, check page_content… etc)
Thanks a lot.