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

update project

parent cd0b23b0
No related branches found
No related tags found
No related merge requests found
title: Checkpoint Firewalls: Status of Connection to log server title: Checkpoint Firewalls: Status of Connection to the log server
agents: snmp agents: snmp
catalog: hw/network/checkpoint catalog: hw/network/checkpoint
license: GPL license: GPL
...@@ -6,7 +6,7 @@ distribution: https://thl-cmk.hopto.org ...@@ -6,7 +6,7 @@ distribution: https://thl-cmk.hopto.org
description: description:
This check monitors the connection form the firewall to the log server. This check monitors the connection form the firewall to the log server.
The service for the log server connection will be in the state {CRIT} if there The service for the log server connection will be in the state {CRIT} if there
an connection error or the connection state changes (for example form connected is an connection error or the connection state changes (for example form connected
to disconnected). The overall state changes to {WARN}/{CRIT} if the gateway to disconnected). The overall state changes to {WARN}/{CRIT} if the gateway
reports an overall state of error or warning. For "Local Logging" the over all reports an overall state of error or warning. For "Local Logging" the over all
service changes to {WARN} if the gateway reports "local logging configured" or service changes to {WARN} if the gateway reports "local logging configured" or
......
...@@ -6,7 +6,7 @@ distribution: https://thl-cmk.hopto.org ...@@ -6,7 +6,7 @@ distribution: https://thl-cmk.hopto.org
description: description:
This check monitors the log server service on the SmartManagemet, SmartLog or SmartEvent server. This check monitors the log server service on the SmartManagemet, SmartLog or SmartEvent server.
The service will be in the state {CRIT} if the server reports the log service is not alive or if there The service will be in the state {CRIT} if the server reports the log service is not alive or if there
an other error. In this case the check output gives details on the log server status. is an other error. In this case the check output gives details on the log server status.
On R80.10 the server does not always report the correct state. For ths reason you can disable On R80.10 the server does not always report the correct state. For ths reason you can disable
the the state check via WATO ("Ignore status and alive on Check Point R80.10") the the state check via WATO ("Ignore status and alive on Check Point R80.10")
......
No preview for this file type
#!/usr/bin/python #!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*- # -*- encoding: utf-8; py-indent-offset: 4 -*-
# #
# 19.07.2016 : Th.L. : monitor Check Point FW Log server status # License: GNU General Public License v2
# 24.07.2016 : Th.L. : changed for check state #
# 05.01.2018 : Th.L. : fix inventory function # Author: thl-cmk[at]outlook[dot]com
# 08.03.2018 : Th.L. : changed snmp scan function and inventory function # URL : https://thl-cmk.hopto.org
# 15.03.2018 : Th.L. : code cleanup #
# 09.01.2020 : Th.L. : fix missing . in OID #
# 19.07.2016 : monitor Check Point FW Log server status
# 24.07.2016 : changed for check state
# 05.01.2018 : fix inventory function
# 08.03.2018 : changed snmp scan function and inventory function
# 15.03.2018 : code cleanup
# #
# sample snmpwalk # sample snmpwalk
# #
...@@ -160,13 +164,6 @@ check_info['checkpoint_fw_ls'] = { ...@@ -160,13 +164,6 @@ check_info['checkpoint_fw_ls'] = {
'service_description' : 'FW Log server %s', 'service_description' : 'FW Log server %s',
'group' : 'cp_fw_ls', 'group' : 'cp_fw_ls',
'has_perfdata' : True, 'has_perfdata' : True,
#'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 '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) 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.1.30.1.0'), # todo: mib variable missing and oid('.1.3.6.1.4.1.2620.1.1.30.1.0'), # todo: mib variable missing
...@@ -187,4 +184,4 @@ check_info['checkpoint_fw_ls'] = { ...@@ -187,4 +184,4 @@ check_info['checkpoint_fw_ls'] = {
'5', # fwLSConnSendRate '5', # fwLSConnSendRate
]), ]),
], ],
} }
\ No newline at end of file
#!/usr/bin/python #!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*- # -*- encoding: utf-8; py-indent-offset: 4 -*-
# #
# 29.07.2016 : Th.L. : monitor Check Point FWM log server status # License: GNU General Public License v2
# 08.05.2018 : Th.L. : changed snmp scan and inventory function #
# 16.03.2018 : Th.L. : added R80.10 MIBs # Author: thl-cmk[at]outlook[dot]com
# 30.05.2018 : Th.L. : removed empty OIDs CHECKPOINT-MIB::lsConnectedClientsEntry, # URL : https://thl-cmk.hopto.org
# CHECKPOINT-MIB::lsConnectedGatewaysEntry #
# CHECKPOINT-MIB::lsLoggingInfo #
# 29.07.2016 : monitor Check Point FWM log server status
# 08.05.2018 : changed snmp scan and inventory function
# 16.03.2018 : added R80.10 MIBs
# 30.05.2018 : removed empty OIDs CHECKPOINT-MIB::lsConnectedClientsEntry,
# CHECKPOINT-MIB::lsConnectedGatewaysEntry
# CHECKPOINT-MIB::lsLoggingInfo
# #
# #
...@@ -227,4 +232,4 @@ check_info['checkpoint_fwm_ls'] = { ...@@ -227,4 +232,4 @@ check_info['checkpoint_fwm_ls'] = {
# '5', # lsClientDbLock # '5', # lsClientDbLock
# ]), # ]),
] ]
} }
\ No newline at end of file
...@@ -8,6 +8,6 @@ ...@@ -8,6 +8,6 @@
'name': 'checkpoint_log_server', 'name': 'checkpoint_log_server',
'num_files': 6, 'num_files': 6,
'title': u'Check Point Log service status', 'title': u'Check Point Log service status',
'version': '20200109.v0.1.2d', 'version': '20180731.v0.1.2c',
'version.min_required': '1.2.8b8', 'version.min_required': '1.2.8b8',
'version.packaged': '1.4.0p35'} 'version.packaged': '1.4.0p38'}
\ No newline at end of file \ No newline at end of file
#!/usr/bin/python #!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*- # -*- encoding: utf-8; py-indent-offset: 4 -*-
#
# License: GNU General Public License v2
#
# Author: thl-cmk[at]outlook[dot]com
# URL : https://thl-cmk.hopto.org
#
register_check_parameters( register_check_parameters(
subgroup_applications, subgroup_applications,
'checkpoint_fwm_ls', 'checkpoint_fwm_ls',
...@@ -17,4 +22,4 @@ register_check_parameters( ...@@ -17,4 +22,4 @@ register_check_parameters(
), ),
None, None,
match_type='dict', match_type='dict',
) )
\ 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