New problem discovered with reporting

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

New problem discovered with reporting

Post by niebais »

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.
nagios_image_cropped.jpg
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.
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: New problem discovered with reporting

Post by mguthrie »

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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: New problem discovered with reporting

Post by mguthrie »

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.
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: New problem discovered with reporting

Post by niebais »

Let's go ahead and mark this one. I'm not sure why, but the problem doesn't happen any more.
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: New problem discovered with reporting

Post by arnab.roy »

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