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

Delete inv_huawei_hw_components.py

parent cc95aa14
No related branches found
No related tags found
No related merge requests found
#!/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.huawei:': {'title': _('Huawei'), 'render': render_inv_dicttable,
'keyorder': ['index', 'name', 'description', 'board_type', 'serial_number',
'manufactured_date', 'vendor',
],
'view': 'invhuawei_components_of_host',
},
'.hardware.components.huawei:*.index': {'title': _('Index'), },
'.hardware.components.huawei:*.name': {'title': _('Name')},
'.hardware.components.huawei:*.description': {'title': _('Description'), },
'.hardware.components.huawei:*.bom_id': {'title': _('BOM ID'), },
'.hardware.components.huawei:*.bom_decription': {'title': _('BOM Description')},
'.hardware.components.huawei:*.manufactured_date': {'title': _('Manufactured Date')},
'.hardware.components.huawei:*.board_type': {'title': _('Board Type'), },
'.hardware.components.huawei:*.software_revision': {'title': _('Software Revision'), },
'.hardware.components.huawei:*.firmware_revision': {'title': _('Firmware Revision'), },
'.hardware.components.huawei:*.hardware_revision': {'title': _('Hardware Revision'), },
'.hardware.components.huawei:*.serial_number': {'title': _('Serial Number'), },
'.hardware.components.huawei:*.vendor': {'title': _('Vendor'), },
})
declare_invtable_view('invhuawei_components', '.hardware.components.huawei:', _('Huawei hardware components'),
_('Huawei hardware components'))
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