Log Rotations Issue

Randal, Phil phil.randal at hoopleltd.co.uk
Thu Feb 7 13:42:53 CET 2013


Hmm, does Nagios clean out old entries in retention.dat on a daily basis?  And it's this process which is failing, and it's not log-related?

I'm unlikeky to find any time to check the source in the immediate future, alas.

Phil


-----Original Message-----
From: Alaric [mailto:paxindustria at gmail.com]
Sent: 06 February 2013 15:43
To: Nagios Users List
Subject: Re: [Nagios-users] Log Rotations Issue


On Jan 31, 2013, at 12:53 PM, "Randal, Phil" <phil.randal at hoopleltd.co.uk> wrote:

> I'm seeing the same issue here :-(
>
> Phil
>
>

Phil,


Stopping Nagios completely,  and then flushing retention.dat worked for me.

I stopped Nagios, NSCA, and NRPE, then did a "cat > retention.dat " then restarted all of the nagios related services. (reloaded xinetd too which is where mk_livestatus runs for me)

The following night, log rotations worked and Current status updated correctly.   I have no real idea what this worked, but it did. I hope it helps you!


-a



------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
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
“Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Hoople Ltd. You should be aware that Hoople Ltd. monitors its email service. This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it.
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
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