Linux ifalias
If you would like to put descriptions on your interfaces on Linux os, you can use the script provided in scripts/ifAlias.py
Install additional (python) package:
| Text Only | |
|---|---|
Save it somewhere on the systems you want to return ifAliases (i.e. /usr/local/bin/ifAlias.py), then add this into your snmpd.conf:
pass_persist .1.3.6.1.2.1.31.1.1.1.18 /usr/local/bin/ifAlias.py
- Common Linux systems support
ip link set aliascommand:
| Text Only | |
|---|---|
- Generic Debian/Ubuntu:
You can put the descriptions into /etc/network/interfaces
- FRR installs (https://frrouting.org/)
for access script to /etc/frr/frr.conf you need add Debian-snmp user to frr and frrvty groups:
| Text Only | |
|---|---|
On the next poll, Observium should then pick up your descriptions. (Don't forget to restart snmpd after changing the configuration!)