I removed the spaces from the command.  I noticed that there were two Nagios processes running, so I killed them both and restarted Nagios.<div><br></div><div>Within a few minutes, it was checking the site more often that it should:</div>
<div><div>Nagios - - [07/Dec/2012:00:29:05 -0500] "GET / HTTP/1.1" 200 22458 "-" "check_http/v1.4.16 (nagios-plugins 1.4.16)"</div><div>Nagios - - [07/Dec/2012:00:29:28 -0500] "GET / HTTP/1.1" 200 22459 "-" "check_http/v1.4.16 (nagios-plugins 1.4.16)"</div>
<div>Nagios - - [07/Dec/2012:00:30:13 -0500] "GET / HTTP/1.1" 200 22459 "-" "check_http/v1.4.16 (nagios-plugins 1.4.16)"</div><div>Nagios - - [07/Dec/2012:00:31:19 -0500] "GET / HTTP/1.1" 200 22459 "-" "check_http/v1.4.16 (nagios-plugins 1.4.16)"</div>
<div>Nagios - - [07/Dec/2012:00:31:22 -0500] "GET / HTTP/1.1" 200 22459 "-" "check_http/v1.4.16 (nagios-plugins 1.4.16)"</div><div>Nagios - - [07/Dec/2012:00:31:44 -0500] "GET / HTTP/1.1" 200 22459 "-" "check_http/v1.4.16 (nagios-plugins 1.4.16)"</div>
<div>Nagios - - [07/Dec/2012:00:32:29 -0500] "GET / HTTP/1.1" 200 22458 "-" "check_http/v1.4.16 (nagios-plugins 1.4.16)"</div><div>Nagios - - [07/Dec/2012:00:33:36 -0500] "GET / HTTP/1.1" 200 22459 "-" "check_http/v1.4.16 (nagios-plugins 1.4.16)"</div>
<div>Nagios - - [07/Dec/2012:00:33:38 -0500] "GET / HTTP/1.1" 200 22459 "-" "check_http/v1.4.16 (nagios-plugins 1.4.16)"</div><div><br></div><div>Doug Eubanks<br><a href="mailto:admin@dougware.net" target="_blank">admin@dougware.net</a><br>
K1DUG<br>(919) 201-8750</div><br>
<br><br><div class="gmail_quote">On Thu, Dec 6, 2012 at 11:22 AM, Claudio Kuenzler <span dir="ltr"><<a href="mailto:ck@claudiokuenzler.com" target="_blank">ck@claudiokuenzler.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Thu, Dec 6, 2012 at 1:13 AM, Doug Eubanks <span dir="ltr"><<a href="mailto:admin@dougware.net" target="_blank">admin@dougware.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Of course you are correct, here's one of the services.  According to the site log, it looks like Nagios is firing off three to four requests to the server, each time it's being checked.  These log entries are all from one vhost log file, so it's not like Nagios is checking 4 sites, it's checking the same site 4 times at once.<div>


<br></div><div><div>NagiosServer - - [05/Dec/2012:19:09:40 -0500] "GET / HTTP/1.1" 200 22459 "-" "check_http/v1.4.16 (nagios-plugins 1.4.16)"</div><div>NagiosServer - - [05/Dec/2012:19:09:40 -0500] "GET / HTTP/1.1" 200 22459 "-" "check_http/v1.4.16 (nagios-plugins 1.4.16)"</div>


<div>NagiosServer - - [05/Dec/2012:19:09:40 -0500] "GET / HTTP/1.1" 200 22459 "-" "check_http/v1.4.16 (nagios-plugins 1.4.16)"</div><div>NagiosServer - - [05/Dec/2012:19:09:40 -0500] "GET / HTTP/1.1" 200 22459 "-" "check_http/v1.4.16 (nagios-plugins 1.4.16)"</div>


</div><div><br></div><div><div>define service {</div><div>        host_name       server</div><div>        service_description     <a href="http://www.website.com" target="_blank">www.website.com</a></div><div>        initial_state   o</div>


<div>        is_volatile     0</div><div>        max_check_attempts      2</div><div>        normal_check_interval   2</div><div>        retry_interval  1</div><div>        first_notification_delay        0</div><div>        active_checks_enabled   1</div>


<div>        passive_checks_enabled  1</div><div>        check_period    24x7</div><div>        parallelize_check       1</div><div>        obsess_over_service     1</div><div>        check_freshness 1</div></div><div><div>


        freshness_threshold     60</div><div>        event_handler_enabled   1</div><div>        process_perf_data       1</div><div>        retain_status_information       1</div><div>        retain_nonstatus_information    1</div>


<div>        notification_interval   4</div><div>        notification_period     24x7</div><div>        notifications_enabled   1</div><div>        action_url      /pnp4nagios/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$</div>


<div>        check_command   check_http - vhost - url - string!<a href="http://www.website.com" target="_blank">www.website.com</a>!/!Ap$</div><div>        icon_image      www.png</div><div>        display_name    <a href="http://website.com" target="_blank">website.com</a></div>


<div>        notification_options    w,u,c,r,f,s</div></div><div><div>        stalking_options        o,w,u,c</div><div>        contact_groups  Null Placeholder Group</div><div>        servicegroups   Public Facing Services</div>


<div>}</div></div><div><br></div></blockquote></div><br></div></div>You're right, the check should only happen every 2 mins (normal_check_interval). <br>But what looks strange to me is the check_command.<br>Do you actually have command definition called "check_http - vhost - url - string" ? I'm not sure if spaces are allowed in the definition.<br>

Can you post the command definition?<br><br><br>What happens if you change the check_command to the following:<br><br>check_command    check_website!<a href="http://www.website.com" target="_blank">www.website.com</a>!-u /<br>
<br>where the command definition of check_website looks like that:<br>
<br>define command{<br>        command_name    check_website<br>        command_line    $USER1$/check_http -H $ARG1$ $ARG2$<br>        }<br><br><br><br><br>
<br>------------------------------------------------------------------------------<br>
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial<br>
Remotely access PCs and mobile devices and provide instant support<br>
Improve your efficiency, and focus on delivering more value-add services<br>
Discover what IT Professionals Know. Rescue delivers<br>
<a href="http://p.sf.net/sfu/logmein_12329d2d" target="_blank">http://p.sf.net/sfu/logmein_12329d2d</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br></div>