I've been using Cacti for about a month to monitor just north of a hundred routers (with plans to have over 500 within 3 months), specifically for latency and bandwidth utilization. Today, I performed a trace of Cacti's polling against one of these routers. There were a total of three SNMP polls:
1. Request for ccitt.1 (as interpreted by Wireshark), to which the router replied with the sysDescr.. (Cisco IOS, blah, blah)
2. Request for sysUpTime - Router replied as expected
3. Request for ifInOctets, ifOutOctets, etc. Router replied as expected.
Another NMS that we use performs polls for any bandwidth related task along with sysUpTime in the same SNMP GET request. The delta between the sysUpTimes is used to calculate the bandwidth utilization for that polling interval. The theory is that the sysUpTime request is always synchronized with the request for the data, so the calculated delta values are always in the right time interval. By not performing the sysUpTime request simultaneously with the data request, some small portion of the delta is always assigned by Cacti to the time interval before it actually occurred.
In addition, this would remove one round-trip to each site every polling interval. If the sysDescr request could be rolled in as well, all the better.
This may seem like a relatively minor detail, but attention to detail like this help push a product into the "Enterprise class" arena.
Improve accuracy of bandwidth measurements
Moderators: Developers, Moderators
-
- Posts: 45
- Joined: Fri Jan 04, 2008 11:45 am
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
It would be an issue if sysUptime was actually used for any calculations, which it is not, because it's not consistent among all the SNMP agent in the world.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
-
- Posts: 45
- Joined: Fri Jan 04, 2008 11:45 am
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Local system time is used for the update into the RRDTool file.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 1 guest