Ubuntu SNMP install and configuration

By EssingtonITS team ·

Learn how to install and configure SNMP on Ubuntu, including backing up and creating a new configuration file, setting community strings, and starting the SNMPD service.

Installing SNMPD

apt-get install snmpd -y

Backup the Existing snmpd.conf File

mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.old

Create a New snmpd.conf File

Use the following configuration:

# Change public below to your preferred SNMP community string
com2sec readonly  default         public
group MyROGroup v2c        readonly
view all    included  .1                               80
access MyROGroup ""      any       noauth    exact  all    none   none
sysLocation Rack, Room, Building, City, Country [GPSX,Y]
sysContact Your Name 
#Distro Detection
extend .1.3.6.1.4.1.2021.7890.1 distro /usr/bin/distro

Install LibreNMS Distro

curl -o /usr/bin/distro https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/distro
chmod +x /usr/bin/distro

Start SNMPD Service

service snmpd restart

Looking to enhance your Linux infrastructure? At EssingtonITS.co.uk, we offer expert support and tailored solutions to optimise your systems. Let us help you achieve seamless integration and improved performance.

person people found this useful.

Related

Knowledge base 24 Nov 2026

SDE PC Terminal: turn a PC or laptop into a Terminal

The SDE PC image allows a 64-bit PC or laptop to function as an SDE Terminal, providing a streamlined setup for accessing SDE desktops. It's suitable for machines that can't run Windows 11 and can be run from a USB key or installed on the disk.

Knowledge base 23 Nov 2026

SDE Labs tutor guide: classes and students' copies

The article provides a comprehensive guide for tutors and Labs admins on managing SDE Labs classes, including creating classes, setting parameters, and handling student copies. It covers essential admin tasks like pausing classes, resetting student copies, and generating reports.

Knowledge base 23 Nov 2026

SDE Labs troubleshooting

This guide provides troubleshooting steps for common issues in SDE Labs, such as blueprint saving errors and console access problems. It includes causes and solutions for each problem, aimed at engineers, Labs admins, and helpdesk staff.

Expand 29 Jul 2026

How AI can support pupils with SEND

Explore how AI tools are aiding pupils with special educational needs and disabilities by simplifying text, breaking down tasks, and enhancing accessibility. Learn about the considerations schools should make before implementation.

Expand 29 Jul 2026

AI policy and practice in further education

Further education colleges need distinct AI policies due to their unique mix of vocational courses, diverse age groups, and specific funding and inspection requirements. This guidance highlights the importance of tailored AI approaches in FE settings.