View FAQ

[ Return To FAQ Index | Search The FAQs ]

FAQ Database : Nagios : Developer Information

Title:What timestamp format is used in data and log files?
FAQ ID:F0068
Submitted By:Ethan Galstad 
Last Updated:09/26/2002

Description:User would like to know what type of timestamp is used in various data files. 


Various data and log files contain timestamps to indicate when records were added, updated, etc. Some of these files include:

  • Main log file
  • Status file
  • Comment file
  • Downtime file
  • Retention file

All timestamps used in these files are in time_t format, which is obtained the system time() function. The value of the timestamp indicates the number of seconds elapsed since the UNIX epoch (00:00:00 GMT, January 1, 1970).


Related FAQs:
F0070How can I convert the timestamp values in the log file to a friendlier format?
Keywords:timestamp datestamp