Info |
---|
Sometimes you need an snmp source for testing something in Checkmk. For this, you can use the snmp daemon. |
Warning |
---|
This short manual is tested with Ubuntu 20.4 and is not supported by Checkmk. |
Step-by-step guide
Code Block |
---|
|
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 below line:
Code Block |
---|
language | bash |
---|
theme | RDark |
---|
title | /etc/snmp/snmpd.conf |
---|
|
#agentaddress 127.0.0.1,[::1] |
Restart the snmp service.
Code Block |
---|
|
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 |
---|
|
root@linux# snmpbulkwalk -v2c -c public mysnmpdtesthost01 |
Related articles
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | KB |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label in ("kb-how-to-article","howto","snmp") and type = "page" and space = "KB" |
---|
labels | kb-how-to-article |
---|
|