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

Delete inv_juniper_hw_modules.py

parent b234f68c
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# import cmk.gui.utils
from cmk.gui.plugins.views import (
inventory_displayhints, )
from cmk.gui.i18n import _
from cmk.gui.plugins.views.inventory import declare_invtable_view
inventory_displayhints.update({
'.hardware.juniper-hw-modules:': {'title': _('Modules'),
'keyorder': ['index', 'description', 'serial_number', 'revision', 'part_no', ],
'view': 'invmodules_of_host',
},
'.hardware.juniper-hw-modules:*.index': {'title': _('Index'), },
'.hardware.juniper-hw-modules:*.serial_number': {'title': _('Serial number')},
'.hardware.juniper-hw-modules:*.description': {'title': _('Description')},
'.hardware.juniper-hw-modules:*.revision': {'title': _('Revision'), },
'.hardware.juniper-hw-modules:*.installed_at': {'title': _('Installed at'), },
'.hardware.juniper-hw-modules:*.part_no': {'title': _('Part No'), },
'.hardware.juniper-hw-modules:*.chassis_id': {'title': _('Chassis ID'), },
'.hardware.juniper-hw-modules:*.chassis_descr': {'title': _('Chassis description')},
'.hardware.juniper-hw-modules:*.chassis_clei_code': {'title': _('Chassis CLEI code'), },
'.hardware.juniper-hw-modules:*.model': {'title': _('Model'), },
'.hardware.juniper-hw-modules:*.type': {'title': _('Type (OID)'), },
})
declare_invtable_view(
'invmodules',
'.hardware.juniper-hw-modules:',
_('Juniper Hardware Modules'),
_('Juniper Hardware Modules')
)
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