[mrtg] Difference Between SNMP1 & SNMP2 cfg files

McDonald, Dan Dan.McDonald at austinenergy.com
Mon Mar 23 14:39:25 CET 2009


On Sun, 2009-03-22 at 20:31 +1300, Steve Shipway wrote:
> On the whole, the only difference between an SNMPv1 and SNMPv2-based
> MRTG configuration file is that to use SNMPv2 you have ':::::2' on the
> end of the Target definition.  

In the file, yes.  But there is something else going on in the
background.  mrtg polls ifInOctets and ifOutOctets when using snmp v1 or
if the noHC[] directive is present, and ifHCInOctets and ifHCOutOctets
when using snmp v2 or v3 without the noHC[] directive


> If you change to and from using OIDs rather than interface identifiers
> then that's down to how you generate the configuration file.
>  
> Steve
> 
> ______________________________________________________________________
> From:  Kashif Siddiq Patoli [patoli at gmail.com]
> Sent: Saturday, 21 March 2009 11:48 p.m.
>  
> Previously, I was running MRTG with SNMPv1. Later on, I switched to
> SNMPv2. But one thing that I have noticed that the v1 cfg files point
> to OIDs while I am not observing OID in v2 cfg files. Can you plz
> elaborate on this?
>  


-- 
Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
Austin Energy
http://www.austinenergy.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20090323/b5a84e07/attachment.bin 


More information about the mrtg mailing list