Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


snmp screws up dynamic devices

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
martin
Guest





PostPosted: Tue Sep 16, 2003 1:56 pm    Post subject: snmp screws up dynamic devices Reply with quote

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

PostPosted: Thu Sep 18, 2003 12:48 am    Post subject: Reply with quote

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

PostPosted: Thu Sep 18, 2003 2:42 pm    Post subject: Reply with quote

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





PostPosted: Thu Sep 18, 2003 3:54 pm    Post subject: Reply with quote

yes, such a feature would be great!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group