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

update project

parent 5e6d804f
No related branches found
No related tags found
No related merge requests found
2022-07-08: initial release
2022-11-08: added support for CM81XX series (sysObjectID = .1.3.6.1.4.1.25049.101)
2023-02-20: moved gui files from ~/local/share/check_mk/... to ~/local/lib/check_mk...
......@@ -10,6 +10,7 @@
#
# inventory of opengear console servers serial lines
#
# 2023-02-20: moved gui files from ~/local/share/check_mk/... to ~/local/lib/check_mk...
#
from cmk.base.plugins.agent_based.agent_based_api.v1 import (
......
#!/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
#
# 2023-02-20: moved from ~/local/share/check_mk/... to ~/local/lib/check_mk...
#
from cmk.gui.i18n import _
from cmk.gui.plugins.views.utils 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'))
No preview for this file type
......@@ -2,11 +2,10 @@
'description': 'Inventory for opengear KVM devices serial lines\n',
'download_url': 'https://thl-cmk.hopto.org',
'files': {'agent_based': ['inv_opengear_serial_lines.py'],
'web': ['plugins/views/inv_opengear_serial_lines.py']},
'gui': ['views/inv_opengear_serial_lines.py']},
'name': 'inv_opengear_serial_line',
'num_files': 2,
'title': 'opengear serial line inventory',
'version': '20220708.v.0.0.1',
'version.min_required': '2.0.0',
'version.packaged': '2021.09.20',
'version': '20230220.v.0.0.2',
'version.min_required': '2.1.0',
'version.packaged': '2.1.0p21',
'version.usable_until': None}
\ 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