Hey guys, I’m trying to get MRTG up and running to monitor my Stingray’s.
I thought I would start with monitoring the CPU and memory usage but thus far I can’t even get the CPU monitoring to work.
Here is my cfg file for CPU monitoring, as far as know its correct. (community string and host IP have been redacted)
RouterUptime[hrProcessor.768]: [email protected]
Title[hrProcessor.768]: CPU Load
PageTop[hrProcessor.768]: Active CPU Load %
YLegend[hrProcessor.768]: CPU Utilization
Legend1[hrProcessor.768]: Active CPU in % (Load)
In short MRTG runs without error, it renders the webpage but does not populate the graphs.
If you walk that OID with an SNMP browser, do you get sane values?
Sorry I do not understand what the sane value is
Sorry, I meant GET. Do a GET on that OID.
Name/OID: hrProcessorLoad.768; Value (Integer): 7
Ok so you're getting sane values out which is good. As I recall, you can open the MRTG file (hrProcessor.768?) which stores the raw values, are those values being stored?
It does seem to be receiving data (see attached)
I attached the log as it contians the same data as the OID file.
Hmm.. that file shows that MRTG appears not to be logging any valid data. It's been some years since I last used it but I recall running into something similar myself. An SNMP get would return valid data but MRTG would not store it. Unfortunately I don't recall the solution but I believe it is MRTG config that needs tweaking.
Cheers for the follow up I wanted to make sure it wasn't the Stingray not playing ball.
Off to the MRTG forums I go...............