No performance graphs issue solved on VM

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
phardstaff
Posts: 2
Joined: Thu Oct 20, 2011 3:31 pm

No performance graphs issue solved on VM

Post by phardstaff »

Hi all, I had an interesting problem using the Vmware appliance of Nagios XI. Been pulling my hair out for 2 days over this :) I had downloaded XI at home and at work for testing however on both I had the same problem and while I saw some similar problems in the forums none of the answers there solved my issue. I would add a Cisco router and everything would be fine but I would get no performance graphs. They would all come up saying Performance Data Unavailable.
noperfdata.png
This seemed to be a correct analysis as when I looked at service status I would get this

OK - Current BW in: Mbps Out: Mbps

Ie no data collected. So after trying everything in the FAQ I was still getting nowhere. So then last night I was about to post to the forum when I took one last look at it and found the interesting part of the FAQ about How To Test Check Commands From The Command-line. So I got the correct command together and got an error back, I can’t post it exactly as I don’t have it front of me but basically when I ran

/usr/local/nagios/libexec/check_rrdtraf

it was failing on line 306 saying no such command as bc or something like that ? So I did a

yum install bc

and after that this command ran OK from the command line and read the bandwidth from the router. Then shortly after that it started to graph, yay !! So now I have my ping graphs and bandwidth graphs which is what I was after. This may not solve everyone’s problems but might help some of the others who are having the same problem. Just see if you have bc installed.

So my question is why wasn’t bc installed already ? I went the VM route thinking I wouldn’t have to do any setup. I ask as I have now the same problem with the interface status graphs, they don’t show, just a blank square saying performance data unavailable ? However this time the command works OK form the command line and service status shows

OK: Interface FastEthernet0 (index 1) is up.

Any ideas ? I got the same problem with the default graphs for localhost SSH and Total processes.
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: No performance graphs issue solved on VM

Post by mguthrie »

We just caught this same issue today actually. There have been several repo changes lately, and bc used to be a dependency for another package, but as of CentOS 5.7 and 6 it has to be installed on it's own. This will be fixed in our upcoming 1.8 release.