Availability report issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
smoren
Posts: 62
Joined: Tue Sep 29, 2015 7:24 am

Availability report issue

Post by smoren »

Hello,

Service Data table in Availability report contains wrong data when First Assumed Service State is changed. See table bellow for one specific service (as an example):

Code: Select all

First Assumed Service State |OK       |Warning  |Unknown  |Critical
Service OK                  |100%     |  0%     |  0%     |  0%
Service Warning             | 14.286% |  0%     | 85.714% |  0%
Service Unknown             | 14.286% | 85.714% |  0%     |  0%
Service Critical            | 14.286% |  0%     |  0%     | 85.714%
Rows Service OK and Service Critical contains correct values, but data for Warning and Unknown states should be swapped.
Can you replicate this issue, or am I doing something wrong?
Thanks.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Availability report issue

Post by lmiltchev »

Can you show us the State History report for this service for the same timeperiod?
Be sure to check out our Knowledgebase for helpful articles and solutions!
smoren
Posts: 62
Joined: Tue Sep 29, 2015 7:24 am

Re: Availability report issue

Post by smoren »

I dont have my notes here with me right now, but using another service - state history was empty - it was always OK, so no state change :-) (including soft states).
But for you - to replicate:
1. create new service (any, but it might be in OK state :-) )
2. wait few minutes and create availability report. Choose reporting period Today (or any of This... periods)
3. Run report for each value of First Assumed Service State - especially Service Warning and Service Unknown
4. you should get values similar to the ones in my table. (you will probably get 98% instead of 85% :) )
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Availability report issue

Post by lmiltchev »

I was able to recreate the issue, and filed an internal bug report (TASK ID 7690). Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
smoren
Posts: 62
Joined: Tue Sep 29, 2015 7:24 am

Re: Availability report issue

Post by smoren »

I hope calculations using other attributes are correct :) So far, I haven't found other issues... but it doesn't mean they are not there :-)
You can go ahead and close this thread. Thanks.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Availability report issue

Post by rkennedy »

Sounds good, I'll close this out now -- feel free to open a new thread if you ever need assistance in the future.
Former Nagios Employee
Locked