Linux/Unix Distribution Detection

Linux/Unix distribution detection is remarkably simple.

Put the distro from the scripts folder (default: /opt/observium/scripts/distro) into /usr//bin on the device to be monitored. Add this to the snmpd.conf file of the device to be monitored:

 extend .1.3.6.1.4.1.2021.7890.1 distro /usr/bin/distro

Restart the SNMP daemon!

If your snmpd does not like the extend line (this problem was observed on a particular version), you can also add this to the snmpd.conf file of the device to be monitored:

 exec .1.3.6.1.4.1.2021.7890.1 distro /usr/bin/distro