Hello all,
I am using Nagios 4.1.1.
When I create an "Availability" report for the service for the last 24 hours, the "Service Log Entries" appearing refer to a wrong time period.
For example:
Report period today: Today --> 8/1 up to 12/1
Report period today: Last 24h --> 7/1 up to 12/1
Report period today: Yesterday --> 7/1 up to 12/1
The rest options seems to work as expected.
Last 24h:
Strange availabilty report
-
- Posts: 140
- Joined: Thu Apr 18, 2013 8:25 am
- Location: libexec
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Strange availabilty report
There have been a lot of improvements to the way we handle time since 4.1.1. Is it possible for you to upgrade to 4.2.4?
If you compiled from source, instructions at https://assets.nagios.com/downloads/nag ... ading.html
If you installed from distro repos, you won't want to mix the two. You could, however, look at the changelog and only modify the files needed, assuming they aren't binary. I don't want to spend the time going through the changelog file by file if you can just upgrade. There are a lot of security improvements on top of the improvements to time.
If you compiled from source, instructions at https://assets.nagios.com/downloads/nag ... ading.html
If you installed from distro repos, you won't want to mix the two. You could, however, look at the changelog and only modify the files needed, assuming they aren't binary. I don't want to spend the time going through the changelog file by file if you can just upgrade. There are a lot of security improvements on top of the improvements to time.
-
- Posts: 140
- Joined: Thu Apr 18, 2013 8:25 am
- Location: libexec
Re: Strange availabilty report
Yes, I have read the changelog, show the privilege escalation & the PoC available on the internetdwhitfield wrote:There have been a lot of improvements to the way we handle time since 4.1.1. Is it possible for you to upgrade to 4.2.4?
If you compiled from source, instructions at https://assets.nagios.com/downloads/nag ... ading.html
If you installed from distro repos, you won't want to mix the two. You could, however, look at the changelog and only modify the files needed, assuming they aren't binary. I don't want to spend the time going through the changelog file by file if you can just upgrade. There are a lot of security improvements on top of the improvements to time.
Is the above behavior expected or there is a problem with it?
Are there bugfix not reported in the changelog or fixes releated to the above related to version 4.2.4?
Best Regards
Re: Strange availabilty report
When the Availability report is run, there is a setting called "Backtracked Archives (To Scan For Initial States):" and that is set to 4 to go back 4 days to determine the initial states.
When the report is displayed, it will show them on the report. If you set that to 0, they will not be displayed on the report.
Try doing that and see if it displays the expected results you are looking for in your report.
When the report is displayed, it will show them on the report. If you set that to 0, they will not be displayed on the report.
Try doing that and see if it displays the expected results you are looking for in your report.
Be sure to check out our Knowledgebase for helpful articles and solutions!