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

update project

parent baade945
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -3,10 +3,9 @@
'download_url': 'https://thl-cmk.hopto.org',
'files': {'agent_based': ['checkpoint_raid.py'],
'checkman': ['checkpoint_raid'],
'web': ['plugins/metrics/checkpoint_raid.py',
'plugins/wato/checkpoint_raid.py']},
'web': ['plugins/wato/checkpoint_raid.py']},
'name': 'checkpoint_raid',
'num_files': 4,
'num_files': 3,
'title': 'Check Point appliance RAID',
'version': '20210810.v0.4',
'version.min_required': '2.0.0',
......
#!/usr/bin/python
# -*- 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
# Date : 2018-04-11
#
# Check Point soft RAID metrics plugin
#
##############################################################################
#
# define units for perfdata
#
##############################################################################
##############################################################################
#
# define metrics for perfdata
#
##############################################################################
metric_info['checkpoint_raid_disk_id_0'] = {
'title': _('Sync Disk 0'),
'unit': '%',
'color': '11/a',
}
metric_info['checkpoint_raid_disk_id_1'] = {
'title': _('Sync Disk 1'),
'unit': '%',
'color': '21/a',
}
##############################################################################
#
# map perfdata to metric
#
##############################################################################
check_metrics['check_mk-checkpoint_raid'] = {
'disk_id_0': {'name': 'checkpoint_raid_disk_id_0', },
'disk_id_1': {'name': 'checkpoint_raid_disk_id_1', }
}
##############################################################################
#
# how to graph perdata
#
##############################################################################
graph_info.append({
'title': _('Check Point soft RAID sync status'),
'metrics': [
('checkpoint_raid_disk_id_0', 'area'),
('checkpoint_raid_disk_id_1', '-area'),
],
})
##############################################################################
#
# define perf-o-meter
#
##############################################################################
perfometer_info.append(('stacked', [
{
'type': 'linear',
'segments': ['checkpoint_raid_disk_id_0',],
'total': 100,
},
{
'type': 'linear',
'segments': ['checkpoint_raid_disk_id_1',],
'total': 100,
}
]))
\ 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