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

update project

parent 2b887282
No related branches found
No related tags found
No related merge requests found
No preview for this file type
#!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*-
#
# 01.08.2016 : Th.L. : monitor Check Point Application control
# 17.06.2017 : Th.L. : added last update check
# 03.01.2017 : Th.L. : fixed inventory function for bad ino data
# 03.01.2017 : Th.L. : fixed lastupdate check
# 08.03.2018 : Th.L. : fixed update status, changed snmp scan function and inventory
# 15.03.2018 : Th.L. : code cleanup
# License: GNU General Public License v2
#
# Author: thl-cmk[at]outlook[dot]com
# URL : https://thl-cmk.hopto.org
#
# 01.08.2016 : monitor Check Point Application control
# 17.06.2017 : added last update check
# 03.01.2017 : fixed inventory function for bad ino data
# 03.01.2017 : fixed lastupdate check
# 08.03.2018 : fixed update status, changed snmp scan function and inventory
# 15.03.2018 : code cleanup
# 07.06.2020 : code cleanup
#
# sample info
# [[u'valid', u'Mon Jul 1 01:00:00 2019', u'Contract is up to date.', u'new',
......@@ -23,7 +28,8 @@ factory_settings['checkpoint_apcl_defaults'] = {
def inventory_checkpoint_apcl(info):
return[(None, None)]
if len(info[0]) == 12:
return[(None, None)]
def check_checkpoint_apcl(item, params, info):
......@@ -99,13 +105,6 @@ check_info['checkpoint_apcl'] = {
'default_levels_variable': 'checkpoint_apcl_defaults',
'service_description' : 'Application control',
'group' : 'checkpoint_apcl',
#'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
# '.1.3.6.1.4.1.8072.3.2.10'] # Virtual System (Linux),
'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') in ['.1.3.6.1.4.1.8072.3.2.10',]) # Virtual System (Linux)
and oid('.1.3.6.1.4.1.2620.1.39.1.1.0'), # CHECKPOINT-MIB::applicationControlSubscriptionStatus.0
......
......@@ -6,6 +6,6 @@
'name': 'checkpoint_application_control',
'num_files': 2,
'title': u'Check Point Application control',
'version': '20180731.v0.1.2c',
'version': '20200607.v0.1.2d',
'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
#!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*-
#
# Author : Th.L.
# License: GNU General Public License v2
#
# Author: thl-cmk[at]outlook[dot]com
# URL : https://thl-cmk.hopto.org
#
# Content: wato plugin for snmp check 'checkpoint_apcl'
# to configure waring/critical levels for last update
#
#
register_check_parameters(
subgroup_applications,
'checkpoint_apcl',
......
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