<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>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">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>