Page 1 of 1
Nagios Log File with wrong time stamp.
Posted: Mon Jun 18, 2018 2:53 am
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
Re: Nagios Log File with wrong time stamp.
Posted: Mon Jun 18, 2018 9:31 am
by tmcdonald
Can you let us know what Nagios XI version you are using? We would like to try and replicate this ourselves.
Re: Nagios Log File with wrong time stamp.
Posted: Tue Jun 19, 2018 9:13 am
by nagiosEngie
Hi,
We are using Nagios Latest Available Version: 5.4.13, on a Redhat server 7.x
Cheers
Sandro
Re: Nagios Log File with wrong time stamp.
Posted: Tue Jun 19, 2018 1:02 pm
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
Re: Nagios Log File with wrong time stamp.
Posted: Wed Jun 20, 2018 5:34 am
by nagiosEngie
Hi,
So when the log rotates it will check the status of all hosts and write in the log?
Thanks
Sandro
Re: Nagios Log File with wrong time stamp.
Posted: Wed Jun 20, 2018 8:30 am
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.