How long Nagios keep memorized status and change status informations?

Enrico Zimol lomiz.mail at gmail.com
Fri Oct 1 15:37:36 CEST 2010


On 1 October 2010 15:34, Enrico Zimol <lomiz.mail at gmail.com> wrote:
> Thank you so much!
> I've another question: I see that on that files the time use a sintax
> like "[1274071697]" at the begin of each line.
> How can I "decode" that value?
> In qmail I used tai64nlocal, is there a tool to do that on this format?

Solved :)

perl -pe 's/(\d+)/localtime($1)/e' logfile.log

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
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