Re: [Nagios-users] freshness checks not working

2011-12-28 Thread JM
Jim Avery jim at jimavery.me.uk writes:

  your objects.cache file correct?
 
  I believe so. Do you see something out of the ordinary?
 
 I can't see anything wrong with that at all, no.
 
 The only difference I can think of between what you have and what I
 have is I don't use an event handler. 

I have tested that (event handlers are enabled globally, but only defined in a
few rare places): for now the freshness check seems to work again. 
If it is really related to that, is there a special meaning to it, or can it be
considered a bug?
Other possible causes that have come to mind is:
- template used by the service is nested at least 3 levels deep (not sure how
many people do that)
- obsess-over-service is also enabled although I can't remember why rightaway...

Thanks for now.


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] freshness checks not working

2011-12-27 Thread JM
Jim Avery jim at jimavery.me.uk writes:
 Is the the relevant entry for that service check in
 your objects.cache file correct?

I believe so. Do you see something out of the ordinary:

host_name   xxx
service_description yyy
check_period24x7
check_command   check_dummy!0
contact_groups  cg_xx
notification_period 24x7
initial_state   o
check_interval  1.00
retry_interval  1.00
max_check_attempts  1
is_volatile 1
parallelize_check   1
active_checks_enabled   0
passive_checks_enabled  1
obsess_over_service 1
event_handler_enabled   1
low_flap_threshold  0.00
high_flap_threshold 0.00
flap_detection_enabled  0
flap_detection_options  o,w,u,c
freshness_threshold 600
check_freshness 1
notification_optionsu,w,c
notifications_enabled   1
notification_interval   240.00
first_notification_delay0.00
stalking_optionsn
process_perf_data   1
failure_prediction_enabled  1
retain_status_information   1
retain_nonstatus_information1



--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] freshness checks not working

2011-12-27 Thread JM
Jim Avery jim at jimavery.me.uk writes:

  Can someone tell me why some real services derived from the above template
  do not seem to do the freshness checks?
 
 Are you sure they don't do the freshness check?  


Definitely, once a trap was received, the state remains critical...


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] freshness checks not working

2011-12-23 Thread jm+nagios-users
Hi there,

consider the following template:

define service {
name   x_trap
register   0; DONT REGISTER  - ITS NOT
REAL,JUST A TEMPLATE!
host_name  host
active_checks_enabled  0
passive_checks_enabled 1
is_volatile1
max_check_attempts 1
normal_check_interval  1
retry_check_interval   1
flap_detection_enabled 0
contact_groups cg_x
notification_options   w,u,c
notification_interval  240
notification_period24x7
check_freshness 1
freshness_threshold 600
check_command check_dummy!0
check_period 24x7
}

Can someone tell me why some real services derived from the above template
do not seem to do the freshness checks?

define service {
usex_trap
service_descriptionX-service
contact_groups x-team
}

We're running Nagios 3.2.1.
Thanks and happy holidays.


--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] contactgroup definition

2010-08-18 Thread jm+nagios-users
Is it normal that there is NO error on startup when I
- in a contact definition
- add a contactgroups directive
- for a contactgroup that has not been defined?

I only get an error when I try to use a non-existing contact group in a
service definition. This makes me wonder what is going on.

[FEATURE REQUEST] No matter how it finally works, it would be nice to be
able to generate the groups on-the-fly as mentioned above, but with the
possibility to view the resulting groups.

Thanks
JM


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null