Nagios Notification State Issue

Dale Wilhelm dwilhelm at peakwebhosting.com
Wed Nov 10 23:43:47 CET 2010


Thanks for the reply...

I haven't changed any of the setting for retention since the system was deployed. I tried deleting the retention.dat and status.dat and restarting and the problem persists. I even tried different user perms on the file and no go... Here are my settings nagios.conf:

retain_state_information=1
state_retention_file=/usr/local/nagios-3.2.1/var/retention.dat
retention_update_interval=60
use_retained_program_state=1
use_retained_scheduling_info=1
retained_host_attribute_mask=0
retained_service_attribute_mask=0
retained_process_host_attribute_mask=0
retained_process_service_attribute_mask=0
retained_contact_host_attribute_mask=0
retained_contact_service_attribute_mask=0

If I am not mistaken I believe all of that is set by default... I don't see any status.sav files. Just the status.dat...

On 11/10/10 6:00 AM, "Andreas Ericsson" <ae at op5.se> wrote:

On 11/10/2010 01:25 PM, Dale Wilhelm wrote:
> ( this time with a proper subject )
>
> Hello All...
>
> I am seeing an odd problem host status and retention after reloads
> and I am wondering if anyone else has seen this and possibly knows of
> a fix it... When I disable notifications for a host via the UI the
> command completes and I see that notifications are indeed disabled,
> notifications stop, etc... However when I reload Nagios the
> notifications are re-enabled. This is only showing up with host
> checks, service check state is retained after a reload. I can see the
> status.dat file change however the retention.dat always stays the
> same ( notifications_enabled=0 ). I am not even sure if that is it or
> not, or if this is a permissions issue or some kind. Also, this has
> worked with this build in the past. It stopped working a short time
> ago... Any help would be greatly appreciated...
>

Have you disabled retention data lately but kept an old retention data
file around? Normally, retention data should be saved in a file named
status.sav.

--
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101110/51a486ef/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list