How-to use SNMPD for testing purposes

Sometimes you need a snmp source for testing something in Checkmk. For this, you can use the snmp daemon.
Table of Contents


This short manual is tested with Ubuntu 20.4 and is not supported by Checkmk.

Step-by-step guide

  1. Install snmpd and snmp

    root@linux# sudo apt install snmpd snmp

    .

  2. The file /etc/snmp/snmpd.conf contains the configuration of SNMPD. To query the SNMP from different sources, comment the below line:

    /etc/snmp/snmpd.conf
    #agentaddress 127.0.0.1,[::1]

    .

  3. Restart the snmp service

    root@linux# /etc/init.d/snmpd restart

    .

  4. Now you can create a snmpwalk by using snmpbulkwalk.  This will work locally as well as remotely.

    root@linux# snmpbulkwalk -v2c -c public mysnmpdtesthost01