Nagios Log File with wrong time stamp.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagiosEngie
Posts: 104
Joined: Thu May 03, 2018 7:57 am

Nagios Log File with wrong time stamp.

Post by nagiosEngie »

Hello Nagios Crew,
I ha ve an issue with the nagios.log file.
The time stamp dose not change after dailiy log rotation as you can see in image attached (log01.jpg).
Can you help please?

Thanks

SAndro
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios Log File with wrong time stamp.

Post by tmcdonald »

Can you let us know what Nagios XI version you are using? We would like to try and replicate this ourselves.
Former Nagios employee
nagiosEngie
Posts: 104
Joined: Thu May 03, 2018 7:57 am

Re: Nagios Log File with wrong time stamp.

Post by nagiosEngie »

Hi,
We are using Nagios Latest Available Version: 5.4.13, on a Redhat server 7.x
Cheers
Sandro
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Log File with wrong time stamp.

Post by scottwilkerson »

It is working, all of those entries are at the same time (second) and are just logging the current state of each host/service
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
nagiosEngie
Posts: 104
Joined: Thu May 03, 2018 7:57 am

Re: Nagios Log File with wrong time stamp.

Post by nagiosEngie »

Hi,
So when the log rotates it will check the status of all hosts and write in the log?
Thanks
Sandro
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Log File with wrong time stamp.

Post by scottwilkerson »

nagiosEngie wrote:Hi,
So when the log rotates it will check the status of all hosts and write in the log?
Thanks
Sandro
Yes it writes them in the log, but it had the current status in memory.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked