Collection of CheckMK checks (see https://checkmk.com/). All checks and plugins are provided as is. Absolutely no warranty. Send any comments to thl-cmk[at]outlook[dot]com

Skip to content
Snippets Groups Projects
Commit 3e075aa0 authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

Update CONTRIBUTING.md

parent eda24771
No related branches found
No related tags found
No related merge requests found
......@@ -3,19 +3,23 @@
If you have any issues or ideas for improvement you can contact me in the [CMK forum](https://forum.checkmk.com/) by sending me a direct
message to `@thl-cmk` (this is the prefered way) or send me an email to _thl-cmk[at]outlook[dot]com_.
For some fixes/improvements I migth need a _snmpwalk_ from the device in question.
This must contain
If you have any issues at least let me know what CMK version/edition you are running, what Fritzbox (model/version) you are using.
- .1.3.6.1.2.1.1.1 sysDescr
- .1.3.6.1.2.1.1.2 sysObjectID
For some fixes/improvements I migth need the _agent output_ from the device in question.
and all the SNMP OIDs used in the plugin.
If you run the _snmpwalk_ command, please uses these options _**-ObentU**_ in addition to your snmp options like community, version etc.
For example:
For example, first get the actual command line from CMK:
```
OMD[build]:~$ cmk -D ares | grep Program
Program: /omd/sites/build/share/check_mk/agents/special/agent_fritzbox 192.168.10.254
Program: /omd/sites/build/local/share/check_mk/agents/special/agent_fritzbox_smarthome --pwstore=3@0@ares 192.168.10.254 --password '********************' --user checkmk --port 8443 --ignore_ssl --no-piggyback
```
snmpwalk -v2c -c public -ObentU 10.10.10.10 .1.3.6.1.2.1.1.1 > hostname.snmpwalk
snmpwalk -v2c -c public -ObentU 10.10.10.10 .1.3.6.1.2.1.1.2 >> hostname.snmpwalk
snmpwalk -v2c -c public -ObentU 10.10.10.10 .1.3.6.1.4.1.25049.17.1 >> hostname.snmpwalk
snmpwalk -v2c -c public -ObentU 10.10.10.10 .1.3.6.1.4.1.25049.17.2.1 >> hostname.snmpwalk
Then run the agnt with exact the same options and add `--debug`
```
OMD[build]:~$ /omd/sites/build/local/share/check_mk/agents/special/agent_fritzbox_smarthome --pwstore=3@0@ares 192.168.10.254 --password '********************' --user checkmk --port 8443 --ignore_ssl --no-piggyback --debug
Raw XML:
b'<devicelist version="1"><device identifier="13979 0878454" id="16" functionbitmask="320" fwversion="05.16" manufacturer="AVM" productname="Comet DECT"><present>1</present><name>Temp01</name><temperature><celsius>205</celsius><offset>0</offset></temperature><hkr><tist>41</tist><tsoll>39</tsoll><absenk>35</absenk><komfort>39</komfort><lock>0</lock><devicelock>1</devicelock><errorcode>0</errorcode><batterylow>0</batterylow><nextchange><endperiod>1703973600</endperiod><tchange>35</tchange></nextchange></hkr></device></devicelist>\n'
<<<fritzbox_smarthome:sep(0)>>>
[{"identifier": "13979 0878454", "id": "16", "functionbitmask": "320", "fwversion": "05.16", "manufacturer": "AVM", "productname": "Comet DECT", "present": "1", "name": "Temp01", "temperature": {"celsius": "205", "offset": "0"}, "hkr": {"tist": "41", "tsoll": "39", "absenk": "35", "komfort": "39", "lock": "0", "devicelock": "1", "errorcode": "0", "batterylow": "0", "nextchange": {"endperiod": "1703973600", "tchange": "35"}}}]
```
The first part is the raw XML output from your FritzBox. The second part is the parsed agent output.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment