On 3 Mar 2010, at 16:22, Will VanDuzer wrote:

So Ton,
Sorry to bring this back up, but what is the retry interval?  It has to check every 1 minute, where is this set?  I see you said the check interval isn’t definted, but what about the retry?

Hosts are not checked at regular intervals by default (check_interval = 0) - hosts are checked whenever a service assigned to that host return a non-OK status.

If a host is then found to be down it uses the retry interval

It is possible to set a check interval on hosts to force regular checking.

These options are all available on the host configuration page and are set on a per host basis

 
Thanks,
Will
 
From: [email protected] [mailto:[email protected]] On Behalf Of Ton Voon
Sent: Monday, August 24, 2009 2:46 PM
To: Opsview Users
Subject: Re: [opsview-users] I'm trying to understand in Opsview whatdefault host check intervals are.
 
 
On 24 Aug 2009, at 19:02, James Whittington wrote:


I’m trying to understand in Opsview what default host check intervals are.
We run a reverse ssh distributed Opsview setup and we saw something that confused us a bit.
 
One of my co-workers was trying to test a notification on a host he had set up.
We could get the service check to go critical and the host went critical but the host stayed in a soft state and did not trigger a host down alert.
 
I’m pretty sure the hosts are inheriting settings from the host-global template but I was confused about the check interval being set to 0.
Here is the template I think is being used
define host{
        name                            host-global
        event_handler_enabled           0       ; Host event handler is enabled
        flap_detection_enabled          1       ; Flap detection is enabled
        process_perf_data               1       ; Process performance data
        retain_status_information       1       ; Retain status information across program restarts
        retain_nonstatus_information    1       ; Retain non-status information across program restarts
        max_check_attempts              2
        obsess_over_host                0
        check_freshness                 0
        passive_checks_enabled          1
        check_interval                  0       ; For the moment, set check_interval to 0 so hosts only checked on demand, like Nagios 2
        contact_groups                  emptydefit
        register                        0       ; DONT REGISTER THIS DEFINITION IT'S JUST A TEMPLATE!
}
 
Does each soft state service check in a “Non-Okay” state generate a host check attempt?
 
It pretty much would have to otherwise you would never see a host down notification.
 
We set check_interval for hosts to 0, which means there are no regular host checks. Host checks will be on-demand, ie when a service state change occurs.
 
What state does the slave say the host is in? How many services are on this host? Is this recreateable?
 
Ton
 
 
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

  Duncs
 
-- 
Duncan Ferguson
Senior Developer



Opsera Limited | Unit 69 Suttons Business Park
Reading | Berkshire | RG6 1AZ | UK

Phone:   
+44 (0) 845 057 7887
Mobile
:   +44 (0) 7968 148 748
Skype:   duncan_j_ferguson     Email:   
[email protected]
www.opsera.com

Opsera Limited is registered in the UK under Company Number 5396532. Our registered office is Gorse View, Horsell Rise, Woking, SurreyGU21 4RB.

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to