
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.