diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a9245871053dda9efc2cc3299a3ec20846b8c8e6..5849807345b4364cb538661eec7dc0b32922f3ab 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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;;;; ``` -