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

update project

parent 242cb263
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -2,13 +2,17 @@
# -*- encoding: utf-8; py-indent-offset: 4 -*-
#
#
# Monitor status of Check Point appliance power supply
# License: GNU General Public License v2
#
# Author: Th.L.
# Author: thl-cmk[at]outlook[dot]com
# URL : https://thl-cmk.hopto.org
# Date : 2018-07-31
#
# 2018-07-31:
# Monitor status of Check Point appliance power supply
#
# 2020-06-08: changed snmp-scan function
#
# ToDo: remove VSX...
#
# sample snmpwalk (two power supplys)
#
......@@ -63,13 +67,9 @@ check_info['checkpoint_powersupply'] = {
'default_levels_variable' : 'checkpoint_powersupply_defaults',
'service_description' : 'Power supply %s',
'group' : 'cp_powersupply',
#'snmp_scan_function': lambda oid: oid('.1.3.6.1.2.1.1.2.0') in ['.1.3.6.1.4.1.2620.1.6.123.1.67', # ClusterXL Gateway
# '.1.3.6.1.4.1.2620.1.6.123.1.65', # Appliance
# '.1.3.6.1.4.1.2620.1.6.123.1.64', # VSX Gateway
# '.1.3.6.1.4.1.2620.1.6.123.1.62', # Gateway
# '.1.3.6.1.4.1.2620.1.6.123.1.49', # R77.30 Gateway
# '.1.3.6.1.4.1.2620.1.6.123.1.48', # Mgmt
'snmp_scan_function': lambda oid: oid('.1.3.6.1.2.1.1.2.0').startswith('.1.3.6.1.4.1.2620.1.6.123.1'),
'snmp_scan_function': lambda oid: (oid('.1.3.6.1.2.1.1.2.0').startswith('.1.3.6.1.4.1.2620.1.6.123.1') or
oid('.1.3.6.1.2.1.1.2.0').startswith('.1.3.6.1.4.1.8072.3.2.10')) and
oid('.1.3.6.1.4.1.2620.1.6.1.0', '').lower().startswith('svn foundation'),
'snmp_info' : ('.1.3.6.1.4.1.2620.1.6.7.9.1.1', [ # CHECKPOINT-MIB::powerSupplyEntry
'1', # powerSupplyIndex
'2', # powerSupplyStatus
......
......@@ -7,4 +7,4 @@
'title': u'Check Point power supply status',
'version': '20180731.v0.0.1',
'version.min_required': '1.2.8b8',
'version.packaged': '1.4.0p35'}
\ No newline at end of file
'version.packaged': '1.4.0p38'}
\ No newline at end of file
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