diff --git a/checkpoint_raid.mkp b/checkpoint_raid.mkp index ba060d6091fc62d50bcbfc270550f94eaa9ca0d1..fda2aca4199d8be349369f7378a8ca730a81ab71 100644 Binary files a/checkpoint_raid.mkp and b/checkpoint_raid.mkp differ diff --git a/packages/checkpoint_raid b/packages/checkpoint_raid index 276d5db7d27100db123a177c27bf29c11d10cb76..dc4b7443b81e34547ecbf7cc83c347267b0108c0 100644 --- a/packages/checkpoint_raid +++ b/packages/checkpoint_raid @@ -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', diff --git a/web/plugins/metrics/checkpoint_raid.py b/web/plugins/metrics/checkpoint_raid.py deleted file mode 100644 index a9482d72393625d4bd68e5a37906d1e0289d631d..0000000000000000000000000000000000000000 --- a/web/plugins/metrics/checkpoint_raid.py +++ /dev/null @@ -1,82 +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