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

Delete checkpoint_mho_ports.py

parent e1966db2
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
from cmk.gui.i18n import _
from cmk.gui.plugins.metrics import (
metric_info,
graph_info,
perfometer_info,
)
metric_info['checkpoint_mho_port_rx_ucats'] = {
'title': _('RX Unicasts'),
'unit': '1/s',
'color': '11/a',
}
metric_info['checkpoint_mho_port_tx_ucats'] = {
'title': _('TX Unicasts'),
'unit': '1/s',
'color': '11/b',
}
metric_info['checkpoint_mho_port_rx_mcats'] = {
'title': _('RX Multicasts'),
'unit': '1/s',
'color': '12/a',
}
metric_info['checkpoint_mho_port_tx_mcats'] = {
'title': _('TX Multicasts'),
'unit': '1/s',
'color': '12/b',
}
metric_info['checkpoint_mho_port_rx_bcats'] = {
'title': _('RX Broadcasts'),
'unit': '1/s',
'color': '13/a',
}
metric_info['checkpoint_mho_port_tx_bcats'] = {
'title': _('TX Broadcasts'),
'unit': '1/s',
'color': '13/b',
}
metric_info['checkpoint_mho_port_rx_err'] = {
'title': _('RX Errors'),
'unit': '1/s',
'color': '14/a',
}
metric_info['checkpoint_mho_port_tx_err'] = {
'title': _('TX Errors'),
'unit': '1/s',
'color': '14/b',
}
metric_info['checkpoint_mho_port_rx_frames'] = {
'title': _('RX Frames'),
'unit': '1/s',
'color': '15/a',
}
metric_info['checkpoint_mho_port_tx_frames'] = {
'title': _('TX Frames'),
'unit': '1/s',
'color': '15/b',
}
metric_info['checkpoint_mho_port_rx_bytes'] = {
'title': _('RX bandwidth'),
'unit': 'bits/s',
'color': '16/a',
}
metric_info['checkpoint_mho_port_tx_bytes'] = {
'title': _('TX bandwidth'),
'unit': 'bits/s',
'color': '16/b',
}
metric_info['checkpoint_mho_port_rx_fcs_err'] = {
'title': _('RX FCS Errors'),
'unit': '1/s',
'color': '21/a',
}
metric_info['checkpoint_mho_port_tx_fcs_err'] = {
'title': _('TX FCS Errors'),
'unit': '1/s',
'color': '21/b',
}
graph_info['checkpoint_mho_port_bytes'] = {
'title': _('Check Point MHO port bytes'),
'metrics': [
('checkpoint_mho_port_rx_bytes', 'area'),
('checkpoint_mho_port_tx_bytes', '-area'),
],
}
graph_info['checkpoint_mho_port_frames'] = {
'title': _('Check Point MHO port frames'),
'metrics': [
('checkpoint_mho_port_rx_frames', 'line'),
('checkpoint_mho_port_rx_ucats', 'stack'),
('checkpoint_mho_port_rx_mcats', 'stack'),
('checkpoint_mho_port_rx_bcats', 'stack'),
('checkpoint_mho_port_tx_frames', '-line'),
('checkpoint_mho_port_tx_ucats', '-stack'),
('checkpoint_mho_port_tx_mcats', '-stack'),
('checkpoint_mho_port_tx_bcats', '-stack'),
],
}
graph_info['checkpoint_mho_port_errors'] = {
'title': _('Check Point MHO port errors'),
'metrics': [
('checkpoint_mho_port_rx_err', 'line'),
('checkpoint_mho_port_rx_fcs_err', 'line'),
('checkpoint_mho_port_tx_err', '-line'),
('checkpoint_mho_port_tx_fcs_err', '-line'),
],
}
perfometer_info.append(('stacked', [
{
'type': 'logarithmic',
'metric': 'checkpoint_mho_port_rx_bytes',
'half_value': 100.0 * 48,
'exponent': 2,
},
{
'type': 'logarithmic',
'metric': 'checkpoint_mho_port_tx_bytes',
'half_value': 100.0 * 48,
'exponent': 2,
},
]))
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