howardjones / network-weathermap

Network Weathermap draws diagrams from data
http://www.network-weathermap.com/
MIT License
423 stars 95 forks source link

Any workaround for changing SNMP Indexes ? #232

Closed from88 closed 3 years ago

from88 commented 4 years ago

Hello,

We're using Network Weathermap with Observium, we started to monitor some Linux server interfaces, but after server reboot the if indexes of the server changes. And after that i need to set new value of that particular interface.

So. my question would be is there any workaround from Network weathermap perspective ?

Thanks

howardjones commented 4 years ago

Does Observium rename its rrd files at that point? What are you using as a TARGET string in Weathermap?

from88 commented 4 years ago

yes, observium creates new rrd file for that port. For example it was port-14.rrd. After linux reboots it gets port-16.rrd. And port ID also changes.

netniV commented 4 years ago

You may need to check the index that you are using within Observium. For example, you may find that ifAlias gives you a changing index but ifName keeps things consistent.

zombah commented 4 years ago

I don't know about Observium but LibreNMS which is Observium open source fork allow to choose this as Port Association Mode on device addition with options ifIndex,ifName,ifDescr or ifAlias.