OHhh...ok i gotcha now! I was looking at the wrong screen. If i go to Service Detail, everything shows up as being updated very recently.<br><br>Thanks for the help.<br><br>-Ryan<br><br><div><span class="gmail_quote">On 1/27/06,
<b class="gmail_sendername">Marc Powell</b> <<a href="mailto:marc@ena.com">marc@ena.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br>> -----Original Message-----<br>> From: <a href="mailto:nagios-users-admin@lists.sourceforge.net">nagios-users-admin@lists.sourceforge.net</a> [mailto:<a href="mailto:nagios-users-">nagios-users-</a><br>>
<a href="mailto:admin@lists.sourceforge.net">admin@lists.sourceforge.net</a>] On Behalf Of Ryan Whalen<br>> Sent: Friday, January 27, 2006 12:39 PM<br>> To: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net
</a><br>> Subject: Re: [Nagios-users] Pinging every host at a specific interval?<br>> {Disarmed} {Fraud?}<br>><br>> Here is an example of a Host. I have ~40-50 of these one after<br>another in<br>> the minimal.cfg
file.<br>><br>> define host{<br>> use nn-ping ; Name of host<br>template<br>> to use<br>> host_name Ryan Whalen<br>> alias Ryan Whalen
<br>> address <a href="http://192.168.1.15">192.168.1.15</a><br>> check_command check-host-alive<br>> max_check_attempts 10<br><br>I'd recommend changing this to 1 and verify that check_host_alive only
<br>sends 1 or 2 pings. You really don't need more than that under normal<br>circumstances to determine if the host is down. Adjust that if you have<br>a lossy network that you can't fix for some reason.<br><br>Also, now that I re-read your original mail it might be a
<br>misunderstanding about how nagios operates. You say --<br><br>"What I would like to happen is for Nagios to ping them all every 5<br>minutes, and display their status. However, some hosts have not been<br>polled for over 2 hours."
<br><br>Nagios only checks the status of a _host_ IFF a service on that host<br>returns a non-OK state. The logic is that if a service is OK then the<br>host must be OK so why check it? Are the delayed checks that you are
<br>seeing truly host checks or service checks as well?<br><br><br>> Here is the service template:<br>><br>> define service{<br>> name nn-service ; The 'name' of<br>this<br>> service template
<br>> active_checks_enabled 1 ; Active service<br>checks<br>> are enabled<br>> passive_checks_enabled 1 ; Passive service<br>checks<br>> are enabled/accepted<br>> parallelize_check 1 ; Active service
<br>checks<br>> should be parallelized (disabling this can lead t<br>> obsess_over_service 1 ; We should obsess<br>over<br>> this service (if necessary)<br><br>What is your OCSP command doing? Could that be causing a delay?
<br><br>> process_perf_data 1 ; Process performance<br>data<br><br>Same question here. How are you processing the perfdata?<br><br><br>> define service{<br>> use nn-service ; Name of
<br>> service template to use<br>> host_name Ryan Whalen,(other hosts go<br>here)<br>> service_description PING<br>> is_volatile 0<br>
> check_period 24x7<br>> max_check_attempts 4<br>> normal_check_interval 5<br>> retry_check_interval 1<br>> contact_groups admins
<br>> notification_interval 960<br>> notification_period 24x7<br>> check_command check_ping!100.0,20%!500.0,60%<br>> }<br><br>Looks good. What do you use for your timeouts in
nagios.cfg? We use --<br><br>service_check_timeout=45<br>host_check_timeout=30<br>event_handler_timeout=30<br>notification_timeout=30<br>ocsp_timeout=5<br>perfdata_timeout=5<br><br>In your ps list do you see any orphaned check commands or nagios
<br>processes that have been hanging out for a while? What does the<br>scheduling queue show for the services that haven't been checked in a<br>while.<br><br><br>--<br>Marc<br><br><br>-------------------------------------------------------
<br>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files<br>for problems? Stop! Download the new AJAX search engine that makes<br>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
<br><a href="http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642">http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642</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">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>