diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000000000000000000000000000000000000..5f2e591f41ff208ea55cbcbc7b013315a1132c9e --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,19 @@ +# 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.18.2 >> hostname.snmpwalk +``` diff --git a/README.md b/README.md index 5e242d007732e8eec53ce665ae08eee229d8e0a8..35ddf082b60d57c3d8cbe10edf409baa0f303815 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# License/support of Check Point systems +# License/support of Check Point systems [(Download the MKP package)](/../../../-/raw/master/inv_checkpoint_support.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: * License/support status +--- +#### Want to contribute? +Nice ;-) Have a look at the [contribution guidelines](CONTRIBUTING.md "Contributing") +--- + Here is a sample inventory  \ No newline at end of file diff --git a/agent_based/inv_checkpoint_support.py b/agent_based/inv_checkpoint_support.py index 9ab2cbaf069dfcc39da2b5fe1c93a7299259b2e0..70f3305cce6d4a3a6a96599d0cee695a85160420 100644 --- a/agent_based/inv_checkpoint_support.py +++ b/agent_based/inv_checkpoint_support.py @@ -26,11 +26,11 @@ import time 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_support.mkp b/inv_checkpoint_support.mkp index 0097ccd3c99b7cfd919a60035951162e34ac9647..893e3a9e9fcd52a01647e1a3698998abc10faded 100644 Binary files a/inv_checkpoint_support.mkp and b/inv_checkpoint_support.mkp differ diff --git a/packages/inv_checkpoint_support b/packages/inv_checkpoint_support index 5a0395cccc682b707d8ecfb8aa0fcd0de8353372..046d1265b58d3f8886bb4912f0a003bd1cf55b8c 100644 --- a/packages/inv_checkpoint_support +++ b/packages/inv_checkpoint_support @@ -9,5 +9,5 @@ 'title': 'Check Point appliance support 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