SNMP Agent Setup (Sending Data)

  1. Download snmpd

    sudo apt update
    sudo apt install snmpd
    sudo nano /etc/snmp/snmpd.conf
    

  2. Inside snmpd.conf, change the line agentaddress 127.0.0.1,[::1] to agentAddress udp:161,udp6:[::1]:161 and on a new line, add rocommunity public. Save these changes to the file. See example here.

  3. Restart snmpd and check the status

    sudo service snmpd restart
    sudo service snmpd status
    

At this point, the agent has been set up to send data to SC4SNMP. Now on to setting up SC4SNMP itself!


Last update: August 3, 2022