How to enable SNMP on Ubuntu Linux 18.04 and above
How to enable SNMP on Ubuntu Linux 18.04 and above
Note: To continue to use an Ubuntu Server as an Auvik Collector, customers will need a minimum version of Ubuntu 20.04. As of July 29, 2023, Ubuntu 18.04 and earlier are EOL/EOS and cannot be used to host the Auvik collector.
For new installations of an Auvik Collector, we recommend Ubuntu 22.04.
While these instructions are for Ubuntu 18.04, the commands are generally the same for newer versions of Ubuntu.
- Install SNMP
sudo apt install snmpd snmp libsnmp-dev
When prompted, type “Y” to continue - Make a backup of the original snmpd.conf file:
sudo cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.bak
- Edit the snmpd.conf file:
sudo vi /etc/snmp/snmpd.conf
- Locate the following line:
#agentAddress udp:161,udp6:[::1]:161
- Uncomment and modify it to match the example below. This will enable SNMP to listen on all interfaces:
agentAddress udp:161
- Uncomment the following line:
#rocommunity public localhost
- Modify to set your desired community string and specify the IP address of your Auvik collector - e.g.
rocommunity v2string 10.0.21.83
- Save & exit the file
- Reload the snmpd service:
sudo service snmpd restart
Related Posts:
- How To Setup LVS (Linux Virtual Server) Load Balancer on Rocky Linux 8.5
- How To Install Magento 2.4 on Rocky Linux 8
- How To Install Docker on Oracle Linux Server 9
- How to Install WHM/cPanel in Almalinux?
- How To Install Ruby on Rails with PostgreSQL on Rocky Linux 8
- How To Install EMQX MQTT Broker on Rocky Linux 8
- How To Install Kamailio SIP Server on Rocky Linux 8
- How to Install and Configure RabbitMQ Server on Rocky Linux 8
- Setup Quick DNS Server On Rocky Linux 8.5 Using Dnsmasq
- 2 Ways To install Ruby On Rocky Linux | RVM
Latest Posts
- Server-Side Scripting: PHP, Node.js, Python – A Detailed Comparison
- Securing Your Website in 2024: Essential Strategies for Online Safety
- The Future of Web Development Technologies: Trends to Watch in 2024
- How Banks Handle Server-Side Operations and Ensure System Security: An Inside Look
- Tips for Writing Clean, Understandable, and Efficient Code: Avoiding Garbage Code
- Tailwind CSS: Revolutionizing Modern Web Design
- Basic Linux Commands for Beginners: A Starter Guide
- Dairy Farming Loan Apply
- BSNL Recharge Plan
- Bijli Bill Mafi Yojana Online Apply
Technical
- DevOps Roadmap
- How To Install and Configure an SNMP on Ubuntu 20.04
- Apple releases iOS 18 Developer Beta 2 with iPhone screen mirroring, RCS toggle,and more
- How to enable SNMP on Ubuntu Linux 18.04 and above
- How to Force HTTPS Using .htaccess (Updated 2024)
- Display All PHP Errors: Basic & Advanced Usage
- PHP alert
- MongoDB loads but breaks, returning status=14
- MongoDB database deleted automatically
- MongoDB all Error Solutions
Category