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

Delete inv_opengear_serial_lines.py

parent bd26986f
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# License: GNU General Public License v2
#
# Author: thl-cmk[at]outlook[dot]com
# URL : https://thl-cmk.hopto.org
# Date : 2022-07-08
# File : view/inv_opengear_serial_lines
#
from cmk.gui.i18n import _
from cmk.gui.plugins.views import (
inventory_displayhints,
)
from cmk.gui.plugins.views.inventory import declare_invtable_view
inventory_displayhints.update({
'.hardware.serial_lines:': {
'title': _('Serial lines'),
'keyorder': [
'index',
'label',
'speed', 'databits', 'parity', 'stopbits', 'flowcontrol'
],
'view': 'invseriallines_of_host',
},
'.hardware.serial_lines:*.index': {'title': _('Index'), },
'.hardware.serial_lines:*.label': {'title': _('Label'), },
'.hardware.serial_lines:*.speed': {'title': _('Speed'), },
'.hardware.serial_lines:*.databits': {'title': _('Data bits'), },
'.hardware.serial_lines:*.parity': {'title': _('Parity'), },
'.hardware.serial_lines:*.stopbits': {'title': _('Stop bits'), },
'.hardware.serial_lines:*.flowcontrol': {'title': _('Flow control'), },
'.hardware.serial_lines:*.cts': {'title': _('CTS'), },
'.hardware.serial_lines:*.dcd': {'title': _('DCD'), },
'.hardware.serial_lines:*.dtr': {'title': _('DTR'), },
'.hardware.serial_lines:*.rts': {'title': _('RTS'), },
})
declare_invtable_view('invseriallines', '.hardware.serial_lines:', _('Serial lines'), _('Serial lines'))
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