OS: CentOS 5.5
Version: Nagios XI 2011R1.5
Duplication Steps:
Log in
Do a search for one of our hosts "MYHOSTNAME"
Click on "MYHOSTNAME" to open up the the page with "overview, performance graphs, etc"
Next, click on the pie chart graph button for "view host availability".
We see this error:
JPGraph Error: 15009
Illegal pie plot. Sum of all the data is zero for pie plot.
I'm not sure when this bug was introduced. The managers mentioned that they used to see more information than the circle pie chart that shows up now as well.
It would be nice to see the trend history here instead of the pie charts. The managers like the trend graphs more for showing down time on the systems.
New problem discovered with reporting
New problem discovered with reporting
You do not have the required permissions to view the files attached to this post.
Re: New problem discovered with reporting
Is this showing up in IE, Firefox, or both? The JPGraph (javascript library), which is what that reporting tool uses is not recommended for use with IE.
Re: New problem discovered with reporting
Hmm, I tested your steps in both FF and IE, and I get the summary tables, but no pie charts at all. I'll do some snooping on this and see what I can figure out.
Re: New problem discovered with reporting
Let's go ahead and mark this one. I'm not sure why, but the problem doesn't happen any more.
Re: New problem discovered with reporting
Guys,
I had raised this as a bug previously where it said null pointer exception divide by zero, it looks like it doesnt handle small percentages very well. I had thought it was fixed with r1.9 but doesnt look like. I think handling small percentages should be what we should focus on. I have seen the graphs disappear under extremely small values.
Cheers
Arnab
I had raised this as a bug previously where it said null pointer exception divide by zero, it looks like it doesnt handle small percentages very well. I had thought it was fixed with r1.9 but doesnt look like. I think handling small percentages should be what we should focus on. I have seen the graphs disappear under extremely small values.
Cheers
Arnab