Versions Compared

Key

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


Manchmal brauche ich zum Testen von Checkmk eine SNMP-Quelle, also Zugang zu einem SNMP-Daemon. Hier bietet sich das einfache Paket snmpd an, welches folgendermassen z.B. in Ubuntu 20.04 installiert werden kann

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


Panel
borderColorblack
bgColor#f8f8f8
titleTable of Contents

Table of Contents


Warning

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

...

  1.  snmp

    .

  2. The file /etc/snmp/snmpd.conf

...

  1. 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]

...

Sicherheitshalber sollte der SNMPD neugestartet werden

  1. .

  2. Restart the snmp service

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

...

Zum Testen kann ein SNMP-Walk angefragt werden, sowohl lokal als auch remote

  1. .

  2. Now you can create a snmpwalk by using snmpbulkwalk.  This will work locally as well as 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

Page Properties
hiddentrue


Related issues