diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000000000000000000000000000000000000..3891dc608fcad95977c617a314b992a2ea01abee --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,20 @@ +# Contributing + +If you have any issues or ideas for improvement you can send me an email to _thl-cmk[at]outlook[dot]com_. + +For some fixes/improvements 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.3.6.1.4.1.2620.1.6.20.8.1 >> hostname.snmpwalk +snmpwalk -v2c -c public -ObentU 10.10.10.10 .1.3.6.1.4.1.2620.1.6.20.10.1 >> hostname.snmpwalk +``` diff --git a/README.md b/README.md index 5687df38ef3665e9325b1bb269eded4ebba0f181..e40dd69cfc11d78392aa76b6060a604b44bafff2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# inventory of Check Point Hardware Appliances +# inventory of Check Point Hardware Appliances [(Download the MKP package)](/../../../-/raw/master/inv_checkpoint_updates.mkp "Download MKP package") **Note: this package is for CheckMK version 2.x. For other versions see the corresponding branch.** @@ -6,5 +6,10 @@ adds the following to the inventory: * Available/installed/recommended updates +--- +#### Want to contribute? +Nice ;-) Have a look at the [contribution guidelines](CONTRIBUTING.md "Contributing") +--- + Here is a sample inventory  diff --git a/agent_based/inv_checkpoint_updates.py b/agent_based/inv_checkpoint_updates.py index 2774caa8503faa93277d18bac6032517725889f1..213069d72da6de95ae764b4055a6d4fbd30857c7 100644 --- a/agent_based/inv_checkpoint_updates.py +++ b/agent_based/inv_checkpoint_updates.py @@ -36,11 +36,11 @@ from typing import List, NamedTuple -from .agent_based_api.v1.type_defs import ( +from cmk.base.plugins.agent_based.agent_based_api.v1.type_defs import ( StringTable, InventoryResult, ) -from .agent_based_api.v1 import ( +from cmk.base.plugins.agent_based.agent_based_api.v1 import ( register, SNMPTree, TableRow, diff --git a/inv_checkpoint_updates.mkp b/inv_checkpoint_updates.mkp index 518802330bafe01e2e2a097226b2ca731fef5c01..4c928aa15fbb7501689f4e41d91c6db442c77721 100644 Binary files a/inv_checkpoint_updates.mkp and b/inv_checkpoint_updates.mkp differ diff --git a/packages/inv_checkpoint_updates b/packages/inv_checkpoint_updates index 144f477a7753587aa8ae881f456e2f25e5a6df55..bb685002c89ab4c2b3f921e946629ea77a1aba3f 100644 --- a/packages/inv_checkpoint_updates +++ b/packages/inv_checkpoint_updates @@ -11,5 +11,5 @@ 'title': 'Check Point appliance avilable updates inventory plugin', 'version': '20210208.v.0.1', 'version.min_required': '2.0.0b8', - 'version.packaged': '2.0.0p1', + 'version.packaged': '2021.07.14', 'version.usable_until': None} \ No newline at end of file