nagios downtime.dat file

Marc Powell marc at ena.com
Tue Apr 26 17:05:01 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Timothy Carr
> Sent: Tuesday, April 26, 2005 5:35 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] nagios downtime.dat file
> 
> Hi everyone,
> 
> What do the figures in downtime.dat file mean ? Some sorted unix
> timestamp thingum ? .. If so .. how do i decyfer it ?
> 
> ;1114529400;1114530300;1;900;

[entry time]
HOST|SERVICE_DOWNTIME:downtime_id;host_name;service_description;downtime
_start;downtime_end;fixed_flag;duration_if_fixed;author;author_comment

The timestamps are indeed a unix timestamp thingum.

http://www.nagios.org/faqs/viewfaq.php?faq_id=68

Most programming languages have a localtime equivalent that can be used
to programmatically convert the date to a human readable format. You can
also use 'date' from the command line or any number of time conversion
websites for one-off's.

--
Marc


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&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