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">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">www.website.com</a>!/!Ap$</div><div> icon_image www.png</div><div> display_name <a href="http://website.com">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 clear="all"><div>Sincerely,<br>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 Wed, Dec 5, 2012 at 2:26 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">
<br><br><div class="gmail_quote"><div class="im">On Tue, Dec 4, 2012 at 4:44 PM, 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">
Nagios is checking services way too often. It's supposed to check once every 2 minutes, then failback to checking once every 1 minute on a failure.<div><br></div><div>I believe this is the relevant parts of the nagios.cfg file:<br>
</div></blockquote></div><div><br>Actually the relevant part for how often a check should be executed is in the service definition of the check. Mostly the service itself uses a template with the "use" option. In this case you have to check your templates.cfg file.<br>
</div></div><br>If you don't find it, please post the relevant service definition and the definition of the template being used by the service.<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>