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

update project

parent b1540b02
No related branches found
No related tags found
No related merge requests found
No preview for this file type
{'author': 'Th.L. (thl-cmk[at]outlook[dot]com)', {'author': u'Th.L. (thl-cmk[at]outlook[dot]com)',
'description': 'Cisco flash plugins:\n - snmp_cisco_flash: inventory plugin for Cisco flash memory\n - cisco_flash: check for Cisco partitions\n', 'description': u'Cisco flash plugins:\n - snmp_cisco_flash: inventory plugin for Cisco flash memory\n - cisco_flash: check for Cisco partitions\n\n- 2020-05-13: added support for CMK1.6x\n',
'download_url': 'https://thl-cmk.hopto.org', 'download_url': 'https://thl-cmk.hopto.org',
'files': {'agents': [], 'files': {'checks': ['cisco_flash'],
'bin': [],
'checkman': [],
'checks': ['cisco_flash'],
'doc': [],
'inventory': ['snmp_cisco_flash'], 'inventory': ['snmp_cisco_flash'],
'lib': [],
'mibs': [],
'notifications': [],
'pnp-templates': [],
'web': ['plugins/metrics/cisco_flash.py', 'web': ['plugins/metrics/cisco_flash.py',
'plugins/views/inv_cisco_flash.py', 'plugins/views/inv_cisco_flash.py',
'plugins/wato/cisco_flash.py', 'plugins/wato/cisco_flash.py',
'plugins/wato/inv_cisco_flash.py']}, 'plugins/wato/inv_cisco_flash.py']},
'name': 'cisco_flash', 'name': 'cisco_flash',
'num_files': 6, 'num_files': 6,
'title': 'Cisco flash plugins', 'title': u'Cisco flash plugins',
'version': '20191104v.0.2b', 'version': '20200513v.0.2c',
'version.min_required': '1.4.0p35', 'version.min_required': '1.4.0p35',
'version.packaged': '1.4.0p35'} 'version.packaged': '1.6.0p8'}
\ No newline at end of file \ No newline at end of file
#!/usr/bin/python #!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*- # -*- encoding: utf-8; py-indent-offset: 4 -*-
try:
from cmk.gui.plugins.views.inventory import (
declare_invtable_view,
render_inv_dicttable,
)
except:
pass
inventory_displayhints.update({ inventory_displayhints.update({
'.hardware.components.flash.devices:': {'title': _('Flash devices'), 'render': render_inv_dicttable, '.hardware.components.flash.devices:': {'title': _('Flash devices'), 'render': render_inv_dicttable,
'keyorder': ['index', 'name', 'description', 'size', ], 'keyorder': ['index', 'name', 'description', 'size', ],
...@@ -22,7 +30,7 @@ inventory_displayhints.update({ ...@@ -22,7 +30,7 @@ inventory_displayhints.update({
'.hardware.components.flash.devices:*.nameextended' : {'title': _('Name extended'), }, '.hardware.components.flash.devices:*.nameextended' : {'title': _('Name extended'), },
'.hardware.components.flash.chips:': {'title': _('Flash chips'), 'render': render_inv_dicttable, '.hardware.components.flash.chips:': {'title': _('Flash chips'), 'render' : render_inv_dicttable,
'keyorder': ['flashindex', 'index', 'description', ], 'keyorder': ['flashindex', 'index', 'description', ],
'view': 'invflashchips_of_host', 'view': 'invflashchips_of_host',
}, },
...@@ -36,7 +44,7 @@ inventory_displayhints.update({ ...@@ -36,7 +44,7 @@ inventory_displayhints.update({
'.hardware.components.flash.chips:*.maxwriteretries': {'title': _('max. write retries'), }, '.hardware.components.flash.chips:*.maxwriteretries': {'title': _('max. write retries'), },
'.hardware.components.flash.chips:*.maxeraseretries': {'title': _('max. erasure retries'), }, '.hardware.components.flash.chips:*.maxeraseretries': {'title': _('max. erasure retries'), },
'.hardware.components.flash.partitions:': {'title': _('Flash partitions'), 'render': render_inv_dicttable, '.hardware.components.flash.partitions:': {'title': _('Flash partitions'), 'render' : render_inv_dicttable,
'keyorder': ['flashindex', 'index', 'name', 'size', 'freespace', 'filecount', ], 'keyorder': ['flashindex', 'index', 'name', 'size', 'freespace', 'filecount', ],
'view': 'invflashpartitions_of_host', 'view': 'invflashpartitions_of_host',
}, },
......
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