# cat > /usr/local/bin/distro
#!/bin/sh
lsb_release -ds
# chmod +x /usr/local/bin/distro
# distro
Ubuntu 18.04.3 LTS
# cat >> /etc/snmp/snmpd.conf
#Distro Detection
extend .1.3.6.1.4.1.2021.7890.1 distro /usr/local/bin/distro
# systemctl restart snmpd
After this I did a “rediscover” and librenms now knows that this server is Ubuntu.