file name format of log archives

Greg Vickers g.vickers at qut.edu.au
Fri Apr 16 04:06:35 CEST 2004


At 07:42 PM 15/04/2004, Paul L. Allen wrote:
>Greg Vickers writes:
>>We've got a couple of years of logs now and the default format of 
>>nagios-mm-dd-yyyy-00.log is pretty yukky :)
>
>That's one way of looking at it.  However, mm dd yyyy is the standard US
>date format.  Unless you're in the US military, where it's dd mm yyyy,
>as in the UK and Australia (and other places).

Australia here :)

>Partly because of these differences and ambiguities, ISO came up with
>yyyy mm dd.  It has the advantage that it can be sorted with a simple
>ASCII sort, which is not possible with the other two formats.  Which is
>why many programs that create datestamped filenames use ISO format for the
>datestamp.
>A change sounds good to me.

I'll see if I can link the file name to use a date stamp as specified in 
the date_format directive in nagios.cfg. I'll post a patch to the list.


=================================
Greg Vickers
Computer Systems Officer
Student Support and Systems,
Teaching and Learning Support Systems,
Queensland University of Technology,
Kelvin Grove Campus,
Brisbane,
Australia

CRICOS No 00213J

Ph: 07 3864 8276 Fax: 07 3864 5425
Mob: 0416 001 674 SD: #66147 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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