Timestamp
Greg Vickers
g.vickers at qut.edu.au
Thu Sep 22 03:23:59 CEST 2005
Andreas,
Andreas Ericsson wrote:
> Richard Gliebe wrote:
>
>> Hi,
>>
>> how can I translate the timestamps in nagios.log to a real date/time:
>>
>> [1127294282] Auto-save of retention data completed successfully.
>> ^^^^^^^^^^^^
>>
>
> There's a very small C-program at http://oss.op5.se/nagios/naglog.c that
I'm getting a:
Not Found
The requested URL /nagios/naglog.c was not found on this server.
And I can't see anything like it on http://oss.op5.se/nagios - is the
script in another location?
> does this for you. You can either pipe the log to it or give it one or
> more filenames to parse. The output format is in european style, so it
> looks like this; 2005-09-21 21:30:41
Thank god! Who mixes up the order of significance (i.e. yy-dd-mm) in
dates anyway??? :p
--
Greg Vickers
Project Manager, IT Security
Information Technology Services
Queensland University of Technology
L12, 126 Margaret St, Brisbane
Phone: (07) 3864 9536
Email: g.vickers at qut.edu.au
IT Security web site: http://www.its.qut.edu.au/itsecurity/
CRICOS No. 00213J
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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