Page 1 of 1

Error while monitoring website URL

Posted: Thu May 26, 2016 7:28 am
by HAL
Hi,

We need to monitor two website URL's : http://xxxx:52980/site/0/ and http://xxxx:52980/site/2/. Here, xxxx is the IP address of server on which this site is configured.
Please guide.

Re: Error while monitoring website URL

Posted: Thu May 26, 2016 9:32 am
by bwallace
Check_http will for for you, refer to the man page here:
http://nagios-plugins.org/doc/man/check_http.html

NOTE:
check_http requires separation between fqdn and full path by using flag -u

check_command example:
check_http -H example.com -u "/site/0/" -p52980