>>> "James Geiger" <[EMAIL PROTECTED]> 3/17/2008 8:42 PM >>>
> With the in and out octets, does anyone know the magic (formula) 
> that MRTG uses to convert it to a number that makes sense?  When 
> I do an snmpget on any particular device for those two OIDs it returns 
> some crazy number up in the billions.  MRTG converts it to something 
> (for example) like 2MB/s or what have you.  Is the formula also done 
> in perl or are there other internal conversion scripts to make it so its 
> readable by your average human? 
 
Yes, the maginc formula is Delta/300.  The OIDs returned are typically 
just the number of octets that have passed through the interface since:
 
a) the counter rolled over or, 
b) the device(or snmp stack) was started
 
Figuring that part out is really not that complicated.  It's all the 
other stuff (like rollover detection and normalization) that 
make MRTG such a powerful tool.
 
Paul

************************************
This email may contain privileged and/or confidential information that is 
intended solely for the use of the addressee.  If you are not the intended 
recipient or entity, you are strictly prohibited from disclosing, copying, 
distributing or using any of the information contained in the transmission.  If 
you received this communication in error, please contact the sender immediately 
and destroy the material in its entirety, whether electronic or hard copy.  
This communication may contain nonpublic personal information about consumers 
subject to the restrictions of the Gramm-Leach-Bliley Act and the 
Sarbanes-Oxley Act.  You may not directly or indirectly reuse or disclose such 
information for any purpose other than to provide the services for which you 
are receiving the information.
There are risks associated with the use of electronic transmission.  The sender 
of this information does not control the method of transmittal or service 
providers and assumes no duty or obligation for the security, receipt, or third 
party interception of this transmission.
************************************
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to