Search found 5 matches

by miketartaglia
Mon Apr 23, 2018 3:56 pm
Forum: Open Source Nagios Projects
Topic: Monitoring Web Virtual Hosts
Replies: 7
Views: 2568

Re: Monitoring Web Virtual Hosts

That worked!! Thank you so much!
by miketartaglia
Sat Apr 21, 2018 9:37 pm
Forum: Open Source Nagios Projects
Topic: Monitoring Web Virtual Hosts
Replies: 7
Views: 2568

Re: Monitoring Web Virtual Hosts

I just denied access to the default website of my apache server and all my URL's that I am monitoring seem to be going to that site. This leads me to believe that the host headers aren't getting there via Nagios maybe? the sites work fine in a browser. What am I missing? Sorry for so many posts. I a...
by miketartaglia
Sat Apr 21, 2018 8:41 pm
Forum: Open Source Nagios Projects
Topic: Monitoring Web Virtual Hosts
Replies: 7
Views: 2568

Re: Monitoring Web Virtual Hosts

One of the reasons why I am messing around with the check_http configuration is because when the site in question goes down Nagios still thinks it's online. So I thought maybe the default website was responding because the actual website is down.
by miketartaglia
Sat Apr 21, 2018 5:29 pm
Forum: Open Source Nagios Projects
Topic: Monitoring Web Virtual Hosts
Replies: 7
Views: 2568

Re: Monitoring Web Virtual Hosts

Here is the check_http part of my command.cfg file.

# 'check_http' command definition
define command{
command_name check_http
command_line $USER1$/check_http -I $HOSTADDRESS$ $ARG1$
}
by miketartaglia
Fri Apr 20, 2018 9:59 pm
Forum: Open Source Nagios Projects
Topic: Monitoring Web Virtual Hosts
Replies: 7
Views: 2568

Monitoring Web Virtual Hosts

Below is the sample config I am using to try to monitor a web site. From all my reading I have done, I think this is the right way, however, when verifying the config file (websites.cfg) it doesn't like the check_http -H in the file. I am using Nagios Core 4.1.1. Any help would be appreciated. defin...