Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Sometimes you need a snmp source for testing something in checkmk. For this, you can use snmp daemon.

Note

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


Code Block
languagebash
themeRDark
root@linux# sudo apt install snmpd snmp


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

Code Block
languagebash
themeRDark
title/etc/snmp/snmpd.conf
#agentaddress 127.0.0.1,[::1]


Restart the snmp service.

Code Block
languagebash
themeRDark
root@linux# /etc/init.d/snmpd restart


Now you can create a snmpwalk by using snmpbulkwalk.  This will work local as well as remote.

Code Block
languagebash
themeRDark
root@linux# snmpbulkwalk -v2c -c public mysnmpdtesthost01

...