Versions Compared

Key

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

...

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


Panel
borderColorblack
bgColor#f8f8f8
titleTable of Contents

Table of Contents


Notewarning

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

Step-by-step guide

  1. Install snmpd and snmp

    Code Block
    languagebash
    themeRDark
    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:

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

    .

  3. Restart the snmp service

...

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

    .

  2. Now you can create a snmpwalk by using snmpbulkwalk.  This will work

...

  1. locally as well as

...

  1. remotely.

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



Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "kb-how-to-article" , "howto" , "snmp" ) and type = "page" and space = "KB"
labelskb-how-to-article

...