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)',
'description': 'Cisco flash plugins:\n - snmp_cisco_flash: inventory plugin for Cisco flash memory\n - cisco_flash: check for Cisco partitions\n',
{'author': u'Th.L. (thl-cmk[at]outlook[dot]com)',
'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',
'files': {'agents': [],
'bin': [],
'checkman': [],
'checks': ['cisco_flash'],
'doc': [],
'files': {'checks': ['cisco_flash'],
'inventory': ['snmp_cisco_flash'],
'lib': [],
'mibs': [],
'notifications': [],
'pnp-templates': [],
'web': ['plugins/metrics/cisco_flash.py',
'plugins/views/inv_cisco_flash.py',
'plugins/wato/cisco_flash.py',
'plugins/wato/inv_cisco_flash.py']},
'name': 'cisco_flash',
'num_files': 6,
'title': 'Cisco flash plugins',
'version': '20191104v.0.2b',
'title': u'Cisco flash plugins',
'version': '20200513v.0.2c',
'version.min_required': '1.4.0p35',
'version.packaged': '1.4.0p35'}
\ No newline at end of file
'version.packaged': '1.6.0p8'}
\ No newline at end of file
#!/usr/bin/python
# -*- 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({
'.hardware.components.flash.devices:': {'title': _('Flash devices'), 'render': render_inv_dicttable,
'keyorder': ['index', 'name', 'description', 'size', ],
......@@ -22,7 +30,7 @@ inventory_displayhints.update({
'.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', ],
'view': 'invflashchips_of_host',
},
......@@ -36,7 +44,7 @@ inventory_displayhints.update({
'.hardware.components.flash.chips:*.maxwriteretries': {'title': _('max. write 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', ],
'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