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

update project

parent 1718bb31
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -13,6 +13,7 @@
# 12.03.2018 : code cleanup
# 07.06.2020 : added parse function
# code cleanup
# 08.06.2020 : changed snmp-scan function
#
# sample info
# [[u'1', u'192.167.10.10', u'1469790660', u'898864', u'189144']]
......@@ -83,7 +84,9 @@ check_info['checkpoint_eva_cu'] = {
'service_description' : 'Correlation unit %s',
'group' : 'checkpoint_eva_cu',
'has_perfdata' : True,
'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.48'),
'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.25.1.9.1', [ # CHECKPOINT-MIB::cpsemdCorrelationUnitEntry
'1', # cpsemdCorrelationUnitIndex
'2', # cpsemdCorrelationUnitIP
......
......@@ -11,6 +11,7 @@
# 12.03.2018 : code cleanup
# 07.06.2020 : split checkpoint_eva in to checkpoint_eva_status and checkpoint_eva_cu_status
# code cleanup
# 08.06.2020 : changed snmp-scanfunction
#
# sample info SamrtEvent activated
# [[u'1', u'1', u'34221335', u'0', u'0', u'', u'']]
......@@ -65,7 +66,9 @@ check_info['checkpoint_eva_cu_status'] = {
'service_description' : 'Correlation unit status',
'group' : 'checkpoint_eva_cu_status',
'has_perfdata' : True,
'snmp_scan_function' : lambda oid: oid('.1.3.6.1.2.1.1.2.0') == '.1.3.6.1.4.1.2620.1.6.123.1.48', # Management (SC, Log, Event,...)
'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.25.2', [ # CHECKPOINT-MIB::cpsead
'1', # cpseadProcAlive
'2', # cpseadConnectedToSem
......
......@@ -11,8 +11,16 @@
# added max levels for perfdata
# changed perfdata from bytes to MB
# added pnp-template --> moved to metrics
# 08.06.2020 : changed snmp-scan function
#
#
# sample info
# [[u'31296920804', u'171864801099', u'8994145', u'200478638080', u'0', u'399405051904']]
#
# not activated
# [[u'0', u'0', u'0', u'0', u'0', u'0']]
factory_settings['checkpoint_eva_db_defaults'] = {
'warncritdbdiskspace': [10, 5], # warn/crit if db capacity less then x GB
}
......@@ -76,7 +84,9 @@ check_info['checkpoint_eva_db'] = {
'service_description' : 'Eventia DB',
'group' : 'checkpoint_eva_db',
'has_perfdata' : True,
'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.48'),
'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.25.1', [ # CHECKPOINT-MIB::cpsemd
'5', # cpsemdCurrentDBSize
'6', # cpsemdDBCapacity
......@@ -85,5 +95,4 @@ check_info['checkpoint_eva_db'] = {
'10', # cpsemdDBIsFull
'11', # cpsemd_unknown_11
]),
}
}
\ No newline at end of file
......@@ -10,6 +10,7 @@
# 12.03.2018 : code cleanup
# 07.06.2020 : code cleanup
# added parse function
# 08-06.2020 : changed snmp-scan function
#
# sample info
# [
......@@ -104,7 +105,9 @@ check_info['checkpoint_eva_jobs'] = {
'service_description' : 'Eventia job %s',
'group' : 'checkpoint_eva_jobs',
'has_perfdata' : True,
'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.48'), # sysObjectID.0
'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.25.2.4.1', [ # CHECKPOINT-MIB::cpseadJobsEntry
'1', # cpseadJobIndex
'2', # cpseadJobID
......
......@@ -11,6 +11,7 @@
# 12.03.2018 : code cleanup
# 07.06.2020 : split checkpoint_eva in to checkpoint_eva_status and checkpoint_eva_cu_status
# code cleanup
# 08-06-2020 : changed snmp-scan function
#
# sample info SamrtEvent activated
# [[u'1', u'2305546', u'7606198', u'1469790658', u'0', u'', u'']]
......@@ -62,7 +63,9 @@ check_info['checkpoint_eva_status'] = {
'service_description' : 'Eventia analyzer status',
'group' : 'checkpoint_eva_status',
'has_perfdata' : True,
'snmp_scan_function' : lambda oid: oid('.1.3.6.1.2.1.1.2.0') == '.1.3.6.1.4.1.2620.1.6.123.1.48', # Management (SC, Log, Event,...)
'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.25.1', [ # CHECKPOINT-MIB::cpsemd
'1', # cpsemdProcAlive
'2', # cpsemdNewEventsHandled
......
......@@ -11,6 +11,6 @@
'name': 'checkpoint_smart_event',
'num_files': 7,
'title': u'Check Point Smart Event',
'version': '20200607.v0.2.0',
'version': '20200608.v0.2.0a',
'version.min_required': '1.2.8b8',
'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