Alternative "distro" script for Linux

# cat > /usr/local/bin/distro
lsb_release -ds
# chmod +x /usr/local/bin/distro
# distro
Ubuntu 18.04.3 LTS
# cat >> /etc/snmp/snmpd.conf
#Distro Detection
extend . distro /usr/local/bin/distro
# systemctl restart snmpd

After this I did a “rediscover” and librenms now knows that this server is Ubuntu.

Hi and welcome to community,

if you found something to fix/enhance in ‘distro’ it would be appreciated if you could write a Pull Request to