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 078e4b0b authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

Update CONTRIBUTING.md

parent 8d871943
No related branches found
No related tags found
No related merge requests found
......@@ -12,36 +12,11 @@ Please include:
For active checks I might need the output of the check command. I.e.
```
~$ ./local/lib/nagios/plugins/check_ntp -H ares
Stratum: 3, Reference ID: 194.25.134.196, Time: Sun Apr 7 13:38:52 2024
....
| ntp_offset=-0.005115509033203125;0.2;0.5; ntp_delay=0.02794170379638672;0.2;0.5; ntp_root_dispersion=0.0051116943359375;200;500;
```
For agent based plugins I might need also the agent output of the plugin.
```
$ /omd/sites/build/local/share/check_mk/agents/special/agent_cisco_meraki Meraki_Cloud
<<<cisco_meraki_org_organisations:sep(0)>>>
...
...
...
```
For SNMP based plugins I migth need a snmpwalk fom the device in question. This must contain
```
.1.3.6.1.2.1.1.1 sysDescr
.1.3.6.1.2.1.1.2 sysObjectID
```
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:
```
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.0.8802.1.1.2.1.4.1.1 >> hostname.snmpwalk
snmpwalk -v2c -c public -ObentU 10.10.10.10 .1.0.8802.1.1.2.1.3.7.1.3 >> hostname.snmpwalk
$ ~/local/lib/python3/cmk_addons/plugins/bgp_topology/libexec/check_bgp_topology --host bgp1
Objects: 456, Connections: 380, Time taken: 337 milliseconds
Objects: 456
Connections: 380
Written to: /omd/sites/build/var/check_mk/topology/data/BGP_bgp1/data_bgp.json
Time taken: 337 milliseconds
Plugin version: 0.0.2-20241223|'topology_time_taken'=0.336563401B;;;;
```
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