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

Update CONTRIBUTING.md

parent 0cda12f9
No related branches found
No related tags found
No related merge requests found
......@@ -12,36 +12,22 @@ 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)>>>
...
...
...
~$ ./local/lib/nagios/plugins/check_radius -H radiusserver --username dummyuser --password dummypassword --secret secret
Response: access reject, Response time 1006ms
Response: access reject
Response time 1006ms|radius_response_time=1.006008138
```
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:
~$ ~/local/lib/nagios/plugins/check_radius --host radiusserver --secret secret --username aabbccddeeff --password aabbccddeeff
Response: access accept, Response time 6ms
Response: access accept
Response time 6ms
Number of attributes in response: 4
Response attributes:
Tunnel-Type: [13]
Tunnel-Medium-Type: ['IEEE-802']
Tunnel-Private-Group-Id: ['10']
Service-Type: ['Outbound-User']|radius_response_time=0.006371595999999999
```
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
```
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