RE: [cacti-user] Re: Initial release of the Bacula SNMP

This is a discussion on RE: [cacti-user] Re: Initial release of the Bacula SNMP within the SNMP Users forums, part of the Networking and Network Related category; On Fri, 2005-10-21 at 17:32 -0500, Les Mikesell wrote: > What's supposed to happen when the ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-24-2005
Dave Shield
 
Posts: n/a
Default RE: [cacti-user] Re: Initial release of the Bacula SNMP

On Fri, 2005-10-21 at 17:32 -0500, Les Mikesell wrote:
> What's supposed to happen when the value doesn't fit in a Counter32?


The Counter32 value will report the bottom 32-bits
(with the higher bits simply being discarded).

Remember that in the SNMP world, an individual Counter-based value
has no meaning. Counter32 (and Counter64) object are used to
monitor the *difference* between two successive readings.


So:
ifconfig eth1 ; sleep 60 ; ifconfig eth1

might report
eth1 TX bytes:33033390619 (31503.0 Mb)
eth1 TX bytes:33033391619 (31503.0 Mb)


while
snmpget eth0 ; sleep 60 ; snmpget eth0

might report

ifOutOctets.1 = 149182455
ifOutOctets.1 = 149183455


The raw numbers are different, but the delta:

33033391619 - 33033390619 = 1000
149183455 - 149182455 = 1000

is the same. That's how SNMP Counters work.



Dave


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:23 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0