Nagios custom check_http plugin
Posted: Mon Feb 01, 2016 3:13 pm
Hi all,
I would like to use the check_http plugin to check on the status of a website and if the get request returns anything but 415, I get a critical. So 415 is the OK status for that server.
Will that be something that I can use Nagios's default check_http plugin or I should use a custom made perl plugin like this? https://exchange.nagios.org/directory/P ... pt/details
All I would like to do is for Nagios to make a get request to that webservice (-H the host's IP and -p 80) and if it gets a 415 response then that shows my service is up and running. Anything else, would mean that the service has stopped.
Or can I just use check_tcp? If I get a connection refused, will Nagios send a notification?
Thanks in advance
I would like to use the check_http plugin to check on the status of a website and if the get request returns anything but 415, I get a critical. So 415 is the OK status for that server.
Will that be something that I can use Nagios's default check_http plugin or I should use a custom made perl plugin like this? https://exchange.nagios.org/directory/P ... pt/details
All I would like to do is for Nagios to make a get request to that webservice (-H the host's IP and -p 80) and if it gets a 415 response then that shows my service is up and running. Anything else, would mean that the service has stopped.
Or can I just use check_tcp? If I get a connection refused, will Nagios send a notification?
Thanks in advance