<html><body bgcolor="#FFFFFF"><div><br><br>On Jul 4, 2011, at 5:05 AM, "Mihamina Rakotomandimby" <<a href="mailto:mihamina@bbs.mg">mihamina@bbs.mg</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>
<!-- Converted from text/plain format -->
<br>
<p><font size="2">Hi all,<br>
<br>
Using mrtg on Debian Squeeze, I can monitor NICs.<br>
Mostly on Cisco 3750,3550,2950,2960 and 1841.<br>
<br>
I use the "MIB" generated for me by MRTG's "cfgmaker".<br>
I would like to add:<br>
- CPU<br>
- Network Error<br>
- Memory usage<br>
<br>
To do so, I searche don the internet and found how to do with full OIDs.<br>
Example for CPU: <a href="http://pastebin.com/EA7gDY1W"><a href="http://pastebin.com/EA7gDY1W">http://pastebin.com/EA7gDY1W</a></a><br>
<br>
It would be easier with names (MIBs?) instead of "cryptic" OIDs.<br></font></p></div></blockquote><div>LoadMibs:</div><div><br></div><div>This is a global statement. Only the last LoadMibs found when larding the confit is recognized. LoadMibs will not chase dependencies, so you need to find all of the Imports stanzas in the mib files and make certain the mibs imported are loaded first. </div><br><blockquote type="cite"><div><p><font size="2">
How to find the _names_ for these devices to monitor:<br>
- CPU<br></font></p></div></blockquote>CPU doesn't have a stable instance. On 3750s, for example, the instance number is x001, where x is the stacking module number. I wrote a template published at <a href="http://steveshipway.org">steveshipway.org</a> that hunts the instances down for CPU and memory, and also figures out which oid is the correct one, since cisco has revised the mib several times. <br><blockquote type="cite"><div><p><font size="2">
- Network Error<br></font></p></div></blockquote>Not certain what you mean by this, but an iftemplate would be your friend here. <br><blockquote type="cite"><div><p><font size="2">
- Memory usage<br></font></p></div></blockquote>See above. <br><blockquote type="cite"><div><p>
</p>
</div></blockquote><div>--</div><div>Dan McDonald,CCIE #2495</div></body></html>