<HTML>
<HEAD>
<TITLE>Re: [Nagios-users] Nagios Notification State Issue</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Thanks for the reply... <BR>
<BR>
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:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>retain_state_information=1<BR>
state_retention_file=/usr/local/nagios-3.2.1/var/retention.dat<BR>
retention_update_interval=60<BR>
use_retained_program_state=1<BR>
use_retained_scheduling_info=1<BR>
retained_host_attribute_mask=0<BR>
retained_service_attribute_mask=0<BR>
retained_process_host_attribute_mask=0<BR>
retained_process_service_attribute_mask=0<BR>
retained_contact_host_attribute_mask=0<BR>
retained_contact_service_attribute_mask=0<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
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... <BR>
<BR>
On 11/10/10 6:00 AM, "Andreas Ericsson" <<a href="ae@op5.se">ae@op5.se</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>On 11/10/2010 01:25 PM, Dale Wilhelm wrote:<BR>
> ( this time with a proper subject )<BR>
><BR>
> Hello All...<BR>
><BR>
> I am seeing an odd problem host status and retention after reloads<BR>
> and I am wondering if anyone else has seen this and possibly knows of<BR>
> a fix it... When I disable notifications for a host via the UI the<BR>
> command completes and I see that notifications are indeed disabled,<BR>
> notifications stop, etc... However when I reload Nagios the<BR>
> notifications are re-enabled. This is only showing up with host<BR>
> checks, service check state is retained after a reload. I can see the<BR>
> status.dat file change however the retention.dat always stays the<BR>
> same ( notifications_enabled=0 ). I am not even sure if that is it or<BR>
> not, or if this is a permissions issue or some kind. Also, this has<BR>
> worked with this build in the past. It stopped working a short time<BR>
> ago... Any help would be greatly appreciated...<BR>
><BR>
<BR>
Have you disabled retention data lately but kept an old retention data<BR>
file around? Normally, retention data should be saved in a file named<BR>
status.sav.<BR>
<BR>
--<BR>
Andreas Ericsson                   <a href="andreas.ericsson@op5.se">andreas.ericsson@op5.se</a><BR>
OP5 AB                             www.op5.se<BR>
Tel: +46 8-230225                  Fax: +46 8-230231<BR>
<BR>
Considering the successes of the wars on alcohol, poverty, drugs and<BR>
terror, I think we should give some serious thought to declaring war<BR>
on peace.<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>