MRTG

I'm trying to get mrtg to read the CPU load of a 836 router

I'm using OID 1.3.6.1.4.1.9.2.1.57.0&1.3.6.1.4.1.9.2.58.0 OIDVeiw shows it's working ok, but MRTG does not show anything on the graphs

Please any ideas

Reply to
SuperSlueth
Loading thread data ...

I've seen same when i forgot to put 'gauge' on MRTG config.

Like this: Options[router_cpu]: nopercent, gauge, growright

Reply to
Seppo Mannisto

Got gauge in and it still doesn't display any dat on the graph

Reply to
SuperSlueth

Download NET-SNMP tools... then try SNMPWALK from dos command line to see if the router has that OID.. you may need to try anothe OID since most of the 800 series may have CPU OID in the OLD-CISCO-MIB, instead of like the other platforms who have old and new.

Reply to
jay

Tried OidView and there is data being given on

1.3.6.1.4.1.9.2.1.57.0&1.3.6.1.4.1.9.2.1.58.0 but mrtg doesn't show anything in the graphs the ATM and ethernet interface are working in mrtg

Reply to
SuperSlueth

Sounds like MRTG to debug if the router returns a value. Cacti is much better is your in a position to change.

Reply to
jay

Check the .log file. It sound contain lines that look like this:

1146844511 1604248853 3563344458 1146844511 170723 674134 170723 674134 1146844210 119218 272882 119218 272882 1146844200 118304 268658 119218 272882 1146843900 91246 145942 91809 146186 1146843600 74461 141091 74937 199141 1146843300 61974 196342 62050 199141 1146843000 62616 115423 79059 122470 1146842700 77994 128262 79059 280455 1146842400 51558 274821 95718 280455

Is the 2nd and 3rd fielf of the first line populated with anything other than a zero? How about the 2nd-5th fields of the following couple of lines? If it contains nothing more than a 0 then you're not getting any data back from the SNMP device. It could be caused by either a config problem on the router or a problem in your MRTG config. Scrutinize your config for typos.

If you have data but still don't have any on the graph try multiplying your target by 100:

Target[blah[: OID1&OID2:CommunityString@IP: * 100

Set your Options to gauge (make sure you spell it correctly). MayBytes should be 100.

Run MRTG by hand. Does it produce any errors? Try using the same config on another device with a known good SNMP configuration. Change the community string, IP, and OID but nothing else (to see if you have any typos in the config).

There's lots you can try at this point. Good luck.

J
Reply to
J

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.