Dates are in future after power outage..
Kenny Gillen
subflux at gmail.com
Wed Jul 13 12:18:38 CEST 2011
The following worked:
"stop nagios rename the retain file and start nagios, the file must
recreate correctly."
---
For info, the retention file in "Fully Automated Nagios" install is located in
/var/log/nagios
and is named: retention.dat
---
Many thanks Carlos!
On 5 July 2011 11:48, Carlos de Santa-Ana Garcia <carlos at dsag.jazztel.es> wrote:
> Hi
>
>
>
> That info is on a "retain state" file, so you can:
>
>
> set retain to off on nagios config, restart, and set retain on again,
> and restart nagios.
>
>
> or
>
>
> stop nagios rename the retain file and start nagios, the file must
> recreate correctly.
>
>
>
> Greets.
>
>
>
>
> El 05/07/2011 10:58, Kenny Gillen escribió:
>> Hi,
>>
>> After a power outage, my (Nagios® 3.0.6) install (part of Fully
>> Automated Nagios distro) has somehow become corrupt.
>>
>> It was working great before the outage, now all host checks have dates
>> in the future. (server time is normal)
>>
>> "Next Scheduled Active Check: 18-08-2017 23:09:56
>> Last State Change: 07-04-2017 08:51:56"
>>
>> Is it possible to recover my install without having to create all the
>> configs from scratch again?
>>
>> Thanks
>>
>> ------------------------------------------------------------------------------
>> All of the data generated in your IT infrastructure is seriously valuable.
>> Why? It contains a definitive record of application performance, security
>> threats, fraudulent activity, and more. Splunk takes this data and makes
>> sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-d2d-c2
>> _______________________________________________
>> 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
>>
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> 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
>
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
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