I added a 8-port card to a switch router. Now all my graphs are not correct in what data they are displaying. Looks like the data is off by the number of ports I added.
Is there a easy way to set the data to display the correct ports again ? I did a refresh on the interfaces and i brought in all the new ports.
Thanks
interface changed
Moderators: Developers, Moderators
interface indeces changed
This is an "ugly" fact of life w/SNMP and Cisco -- interfaces indeces will change and that is annoying. However, it's a simple fix if caught early, otherwise your graphs won't be accurate as you'll have mixed data from different data sources. Been there, done that. Oh well.
It would appear that the easy fix in Cacti is to go to
...Console...data sources...edit data (for an individual data source)...and then change the interface index under "Interface number".
Haven't done it yet, but I haven't had an index change. I think I'll have
one this weekend.
It would appear that the easy fix in Cacti is to go to
...Console...data sources...edit data (for an individual data source)...and then change the interface index under "Interface number".
Haven't done it yet, but I haven't had an index change. I think I'll have
one this weekend.
It's not only Cisco devices problem. SNMP indexes may change on every other device (according to RFC).
In Cisco case however there is a chance to avoid this. If you have IOS later than 12.2.1 you can use command:
If the indexes have been changed already then you have to correct them one by one like bdbrumm suggested. It would be nice however to write a script that can shift up or down index numbers for given device.
- bulek
In Cisco case however there is a chance to avoid this. If you have IOS later than 12.2.1 you can use command:
Interface's index will remein the same even after reboot or hardware reconfiguration.snmp-server ifindex persist
If the indexes have been changed already then you have to correct them one by one like bdbrumm suggested. It would be nice however to write a script that can shift up or down index numbers for given device.
- bulek
If your cisco's have descriptions with each interface, it'll be easier to go into your data sources and use the InterfaceName instead of the InterfaceNumber.
We found this works just as well as the InterfaceNumber, but saves you the trouble of renumbering your interfaces in the event of a reboot with new hardware inserted into the router.
Now the problem is you have to convert all your cisco's to this format, but it should be the final 'change' .. unless, of course, you change the Interface Description on the cisco.
Enjoy.
--c
We found this works just as well as the InterfaceNumber, but saves you the trouble of renumbering your interfaces in the event of a reboot with new hardware inserted into the router.
Now the problem is you have to convert all your cisco's to this format, but it should be the final 'change' .. unless, of course, you change the Interface Description on the cisco.
Enjoy.
--c
Using Cisco InterfaceName instead of the InterfaceNumber
Could you please be more specific about how you use this option ?
I think this would save me alot of time, but it is not clear exactly how you implement it...
Thanks for your help.
Don
I think this would save me alot of time, but it is not clear exactly how you implement it...
Thanks for your help.
Don
kmpanilla wrote:If your cisco's have descriptions with each interface, it'll be easier to go into your data sources and use the InterfaceName instead of the InterfaceNumber.
We found this works just as well as the InterfaceNumber, but saves you the trouble of renumbering your interfaces in the event of a reboot with new hardware inserted into the router....
Who is online
Users browsing this forum: No registered users and 1 guest