| Cheshire Cat Computing http://mail.steveshipway.org/forum/ |
|
| How to Graph Available Memory with Cisco IOS http://mail.steveshipway.org/forum/viewtopic.php?f=11&t=105 |
Page 1 of 1 |
| Author: | mcotrone@netdsi.com [ Mon Jan 05, 2004 11:50 am ] |
| Post subject: | How to Graph Available Memory with Cisco IOS |
I spend some time figuring this out as my first custom target so I figured I would post it. This graphs the available memory from Cisco devices that use IOS. This however doesn't work against a PIX which I am still trying to figure out it's OID. # Monitor the Available Memory Target[10.10.254.254_MEM]: 1.3.6.1.4.1.9.9.48.1.1.1.6.0&1.3.6.1.4.1.9.9.48.1.1.1.6.0:datanet@10.10.254.254 MaxBytes[10.10.254.254_MEM]: 59392000 UnScaled[10.10.254.254_MEM]: dwm Options[10.10.254.254_MEM]: gauge noo nopercent Title[10.10.254.254_MEM]: Available DRAM PageTop[10.10.254.254_MEM]: <H1>Available Memory</H1> routers.cgi*Mode[10.10.254.254_MEM]: mem routers.cgi*Icon[10.10.254.254_MEM]: chip-sm.gif Background[10.10.254.254_MEM]: #ffffff ShortLegend[10.10.254.254_MEM]: Bytes YLegend[10.10.254.254_MEM]: Free DRAM (MBytes) Legend1[10.10.254.254_MEM]: Free DRAM LegendI[10.10.254.254_MEM]: Free DRAM: routers.cgi*MBLegend[10.10.254.254_MEM]: Installed DRAM Total |
|
| Author: | stevesh [ Mon Jan 05, 2004 2:57 pm ] |
| Post subject: | |
Additional suggestion... If the MIB is returning the queried value in Mb (I can't tell from your sample), then you could use Factor[targetname]: 1024000 to convert it to bytes. Then you will not need to use routers.cgi*Options[targetname]: fixunit ShortLegend[targetname]: MBytes (fixunit prevents 1024 from being displayed as 1K, so that 1024 will not get displayed as 1KMB, it will be 1024MB) Of course, if it is returning the value in bytes already, then just ignore this suggestion |
|
| Author: | mcotrone@netdsi.com [ Mon Jan 05, 2004 5:27 pm ] |
| Post subject: | |
Steve, Thank you for the suggestions! It is collecting information in bytes, but your way looks cleaner. Thank you again! Mike |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|