Since we will use perl localtime one liner to convert all Unix Timestampsto human readable format you must have Perl installed on your system. Perl Localtime converts a time as returned by the time function to a 9-element list with the time analyzed for the local time zone. In this post we will explain how to quickly and easily convert Unix Timestamp Nagios log file format to human friendly and readable format.Ĭonverting Nagios log file Unix Timestamp is actually very simple. If you are searching for information stored in Nagios log file, you will probably prefer to see the information in human readable date and time format. Nagios logs all messages and information to file /usr/local/nagios/var/ nagios.log. Timestamps in Nagios log file are stored in Unix Timestamp format which is not a human (friendly) readable time format. Nagios Is The Industry Standard In IT Infrastructure Monitoring.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |