Page 1 of 1

URLs with Nagios

Posted: Thu Mar 10, 2022 1:19 am
by TuqueroIMK852
Hi

I'm trying to monitor actual URLs, and not only hosts, with Nagios, as I operate a shared server with several websites, and I don't think its enough just to monitor the basic HTTP service (I'm including at the very bottom of this question a small explanation of what I'm envisioning).

(Side note: please note that I have Nagios installed and running inside a chroot on a CentOS system. I built nagios from source, and have used yum to install into this root all dependencies needed, etc...)

Re: URLs with Nagios

Posted: Mon Mar 14, 2022 3:16 am
by openappPW
You can use -

check_http -H website.address.com -w5 -c 10 (http check)
check_http -H website.address.com --ssl -w5 -c 10 (https check)