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

file cleanup

parent b6f26277
No related branches found
No related tags found
No related merge requests found
{'author': u'Th.L. (thl-cmk[at]outlook[dot]com)',
'description': u'SNMP inventory of Check Point Hardware Appliances.\nSerial Number, Product Name, Manufacturer, SVN version, Deployment agent,\nPatches, Support status\n\n- 2020-03-15: added support fro CMK1.6x\n',
'download_url': 'https://thl-cmk.hopto.org',
'files': {'inventory': ['snmp_checkpoint_svn'],
'web': ['plugins/views/inv_checkpoint_system.py']},
'name': 'inv_checkpoint',
'num_files': 2,
'title': u'Check Point Appliance inventory',
'version': '20200315.v.0.2.2',
'version.min_required': '1.4.0p1',
'version.packaged': '1.4.0p38'}
\ No newline at end of file
#!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*-
try:
from cmk.gui.plugins.views import (
inventory_displayhints
)
from cmk.gui.plugins.views.inventory import (
declare_invtable_view,
render_inv_dicttable,
)
except:
pass
inventory_displayhints.update({
'.hardware.system.appliance_manufacturer': {'title': _('Manufacturer'), },
'.hardware.system.appliance_product_name': {'title': _('Modelname'), },
'.hardware.system.appliance_serial_number': {'title': _('Serial number')},
'.hardware.system.appliance_series': {'title': _('Appliance series')},
'.software.check_point.osinfo:': {'title': _('Operating System'), 'render': render_inv_dicttable,
'keyorder': ['os_name', 'os_version', 'svn_version', 'svn_build'],
'view': 'invcposinfo_of_host',
},
'.software.check_point.osinfo:*.os_name': {'title': _('OS name'), },
'.software.check_point.osinfo:*.os_version': {'title': _('OS version'), },
'.software.check_point.osinfo:*.svn_build': {'title': _('SVN Build'), },
'.software.check_point.osinfo:*.svn_version': {'title': _('SVN version'), },
'.software.check_point.osinfo:*.deployment_agent_build': {'title': _('Deployment agent build'), },
'.software.check_point.patches:': {'title': _('Recommended updates'), 'render': render_inv_dicttable,
'keyorder': ['name', 'type', 'status', ],
'view': 'invcppatches_of_host',
},
'.software.check_point.patches:*.type': {'title': _('Type'), },
'.software.check_point.patches:*.status': {'title': _('Status')},
'.software.check_point.patches:*.name': {'title': _('Name'), },
'.software.check_point.support:': {'title': _('Support info'), 'render': render_inv_dicttable,
'keyorder': ['account_id', 'certificate_key', 'lic_container', 'support_type',
'support_renewal'],
'view': 'invcpsupport_of_host',
},
'.software.check_point.support:*.account_id': {'title': _('Account ID'), },
'.software.check_point.support:*.lic_description': {'title': _('Description')},
'.software.check_point.support:*.certificate_key': {'title': _('Certificate key'), },
'.software.check_point.support:*.signatur_key': {'title': _('Signature key'), },
'.software.check_point.support:*.lic_container': {'title': _('Container')},
'.software.check_point.support:*.support_type': {'title': _('Support type'), },
'.software.check_point.support:*.support_renewal': {'title': _('Support renewal'), },
'.software.check_point.support:*.lic_state': {'title': _('Status')},
})
declare_invtable_view('invcposinfo', '.software.check_point.osinfo:', _('Check Point Operating system info'),
_('Check Point operating system info'))
declare_invtable_view('invcppatches', '.software.check_point.patches:', _('Check Point recommended updates'),
_('Check Point recommended updates'))
declare_invtable_view('invcpsupport', '.software.check_point.support:', _('Check Point support info'),
_('Check Point support info'))
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