|
|
| Author |
Message |
martin Guest
|
Posted: Tue Sep 16, 2003 1:56 pm Post subject: snmp screws up dynamic devices |
|
|
hi there!
i have problems getting data for interface graphs via snmp. i have serveral dynamic devices like ppp0 ippp0 tun0 ...
the problem is, that the devices get their snmp-id in order they get up. which means that when they get up in a different order than the first time, traffic which is made by ppp0 might get graphed for tun0.
i also tried Index Type= ifDesc but that also doesn't work for me.
any ideas?
thanks in advance and sorry for my bad english
martin |
|
| Back to top |
|
 |
raX Lead Developer
Joined: 13 Oct 2001 Posts: 2234 Location: Carlisle, PA
|
Posted: Thu Sep 18, 2003 12:48 am Post subject: |
|
|
Selecting "Index Type= ifDesc" is a good start. Now if your ifIndex's switch around, you can go into "Polling Hosts", select the device, and click the green circle next to "SNMP - Interface Statistics". Cacti still needs a feature that will detect this change and "recache" the host automatically. This is definitely coming sometime in the near future.
-Ian |
|
| Back to top |
|
 |
bulek Cacti Pro User
Joined: 20 May 2002 Posts: 852 Location: Poland
|
Posted: Thu Sep 18, 2003 2:42 pm Post subject: |
|
|
Ian,
Such automatic change detection would be a nice adition to Cacti. I was using similar solution for some time with version 0.6.8a and it was applicable for cisco routers only. Before poll I was checking ccmHistoryStartupLastChanged.0 (.1.3.6.1.4.1.9.9.43.1.1.3.0) object. It reports time when someone saved config on cisco router. Comparing it to previously read time I was able to detect a change. If the times were different I was updating the interface config first. Also device reboot resulted with time set to 0 which also caused interface config to be updated.
- bulek |
|
| Back to top |
|
 |
martin Guest
|
Posted: Thu Sep 18, 2003 3:54 pm Post subject: |
|
|
| yes, such a feature would be great! |
|
| Back to top |
|
 |
|