Narrow down sensors by selecting Linux/MacOS and SNMP then select the required sensor. Select the device created, then Add Sensor Start the snmpd service sudo systemctl start snmpdĪdd the IP address of the Linux device we were just working onĪdd credentials, matching what was created on the Linux device previously Note the encryption key, which is simply a string shared with client and server createUser USERNAME SHA PASSWORD AES ENCRYPTIONKEYĮdit the snmpd conf file nano /etc/snmp/nfĬomment out the following line- agentAddress udp:127.0.0.1:161Īdd the following line to allow remote access from our PRTG server- agentAddress udp:161Īnd the following line to grant read only access to the user we created earlier- rouser USERNAME priv Replace USERNAME, PASSWORD and ENCRYPTIONKEY with your values. Stop the snmpd service sudo systemctl stop snmpdĬreate credentials for SNMPv3 authentication sudo nano /var/lib/snmp/nfĪdd the following line beneath the comment block at the top. On the Debian / Ubuntu device you would like to monitor. I’ve gone as lightweight as possible and only installed snmpd to get disk space, CPU and memory monitoring working. I wanted to share a quick guide on monitoring Debian / Ubuntu with SNMPv3 and PRTG as I couldn’t find any high level, up-to-date information readily available. On Ubuntu 18.04, you can easily install Apache by pulling the package from the official repository. Recently I’ve been focusing on something I’ve overlooked for too long- monitoring. You need to have Apache installed before you can run MRTG on your machine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |