Page 1 of 1

Availability Reports

Posted: Thu Dec 22, 2011 9:39 am
by easy2kent
Hello,

I am running Nagios XI on a virtual machine. I have recently upgraded to XI1.9 and now the availability reports are coming up with a pie graph sum of pie graph is 0: I select a time frame and then select a host or hostgroup and attached is what is the output of what the pie graph is normally. Is this an error on my part or an error in Nagios?

Thanks,
Kent

Re: Availability Reports

Posted: Thu Dec 22, 2011 11:47 am
by lmiltchev
Do you get the same result if you use different browsers? The JPGraph (javascript library), which is what that reporting tool uses is not recommended for use with IE.

Re: Availability Reports

Posted: Thu Dec 22, 2011 12:00 pm
by easy2kent
Yes same result in IE, Chrome, and Firefox, could it have something to do with Java then?

Thanks

Re: Availability Reports

Posted: Thu Dec 22, 2011 12:34 pm
by lmiltchev
We will have to do some more digging into it. So far, we have been able to reproduce this error ONLY by selecting an "invalid" interval ("From" and "To" fields) for the Custom Period filter.

Examples of how to recreate this issue:
Any field empty ("From" or "To")
"From: 12/5/2011 To: 12/1/2011" instead of: "From: 12/1/2011 To: 12/5/2011"
"From: 12/1/2012 To: 12/5/2011" instead of: "From: 12/1/2011 To: 12/5/2011"
etc.

Please, double check your defined period to make sure there are no similar errors. Meanwhile, we will do some more testing. Thanks!

Re: Availability Reports

Posted: Thu Dec 22, 2011 2:08 pm
by easy2kent
I checked the dates and they are correct but sometimes it will show a different error. The way the pie graphs looks is that the hosts were down 100% of the time. The host data pie graph looks like the attached file and the host data is as follows:

Host Data
Host Up Down Unreachable
0.000 99.962% 0.038% 0.000%
0.000 99.949% 0.051% 0.000%
0.000 99.969% 0.031% 0.000%
Average 99.960% 0.040% 0.000%

So, none of the Hosts have names and then the same goes for the services where the Hosts now have names but the services do not. The service pie graph is correct.

Service Data
Host Service Ok Warning Unknown Critical
Number 1 Server 2.000 91.817% 8.183% 0.000% 0%
0.000 99.983% 0.000% 0.000% 0.017%
0.000 14.926% 0.000% 0.000% 85.074%
0.000 99.948% 0.000% 0.000% 0.052%
0.000 99.959% 0.000% 0.000% 0.041%
0.000 99.964% 0.000% 0.000% 0.036%
0.000 99.954% 0.000% 0.000% 0.046%
0.000 99.983% 0.000% 0.000% 0.017%
0.000 99.983% 0.000% 0.000% 0.017%
0.000 99.955% 0.000% 0.000% 0.045%
Number 2 Server 0.000 99.948% 0.000% 0.000% 0.052%
0.000 99.948% 0.000% 0.000% 0.052%
0.000 99.948% 0.000% 0.000% 0.052%
0.000 99.948% 0.000% 0.000% 0.052%
0.000 99.948% 0.000% 0.000% 0.052%
0.000 97.053% 0.000% 0.000% 2.947%
Number 3 Server 0.000 99.983% 0.000% 0.000% 0.017%
0.000 100.000% 0.000% 0.000% 0%
0.000 99.983% 0.000% 0.000% 0.017%
0.000 99.983% 0.000% 0.000% 0.017%
0.000 100.000% 0.000% 0.000% 0%
0.000 99.942% 0.000% 0.000% 0.058%
0.000 99.965% 0.000% 0.000% 0.035%
0.000 100.000% 0.000% 0.000% 0%
0.000 99.952% 0.000% 0.000% 0.048%
0.000 99.948% 0.000% 0.000% 0.052%
0.000 97.064% 0.000% 0.000% 2.936%
0.000 58.130% 41.870% 0.000% 0%
0.000 99.945% 0.000% 0.000% 0.055%
Average 95.109% 1.726% 0.000% 3.165%

Re: Availability Reports

Posted: Thu Jan 19, 2012 6:26 am
by Aleon
We have the same problem - if I create Availability report limited to Service group, there will appear some Hosta data:
Host Data
Host Up Down Unreachable
1.000 0.000% 0.000% 0.000%
2.000 0.000% 0.000% 0.000%
3.000 0.000% 0.000% 0.000%
4.000 0.000% 0.000% 0.000%
5.000 0.000% 0.000% 0.000%
6.000 0.000% 0.000% 0.000%
8.000 0.000% 0.000% 0.000%
9.000 0.000% 0.000% 0.000%
10.000 0.000% 0.000% 0.000%
11.000 0.000% 0.000% 0.000%
14.000 0.000% 0.000% 0.000%
15.000 0.000% 0.000% 0.000%
16.000 0.000% 0.000% 0.000%
17.000 0.000% 0.000% 0.000%
23.000 0.000% 0.000% 0.000%
53.000 0.000% 0.000% 0.000%
60.000 0.000% 0.000% 0.000%
0.000% 0.000% 0.000%
0.000% 0.000% 0.000%
0.000% 0.000% 0.000%
0.000% 0.000% 0.000%
0.000% 0.000% 0.000%
0.000% 0.000% 0.000%
0.000% 0.000% 0.000%
0.000% 0.000% 0.000%
0.000% 0.000% 0.000%
0.000% 0.000% 0.000%
0.000% 0.000% 0.000%
0.000% 0.000% 0.000%
0.000% 0.000% 0.000%
0.000% 0.000% 0.000%
0.000% 0.000% 0.000%

So none of the hosts have names and it is same at the Service data - the names of hosts are there but the names of services are not there.
Also if I want to download reprot as a pdf, it will write there all hosts we have in Nagios XI - why all hosts when I limited the report for service group.

Re: Availability Reports

Posted: Thu Jan 19, 2012 12:20 pm
by scottwilkerson
This is a known bug that is fixed in the next release (maybe a couple weeks)