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

update project

parent 6035b690
No related branches found
No related tags found
No related merge requests found
[PACKAGE]: ../../raw/master/inv_cisco_support-0.2.1-20231008.mkp "inv_cisco_support-0.2.1-20231008.mkp"
# Cisco support APIs inventory plugin
Adds live cycle information for Cisco devices to the inventory.
......
......@@ -14,22 +14,22 @@
#
# 2021-07-25: removed inv_cisco_suggestion
# rework painter section
# 2023-10-08: modified imports for cmk 2.2.x
# removed declare_view
import time
from cmk.gui.plugins.views.inventory import (
declare_invtable_view,
from cmk.gui.i18n import _
from cmk.gui.views.inventory.registry import inventory_displayhints
from cmk.gui.views.inventory import (
decorate_inv_paint,
PaintResult,
)
from cmk.gui.plugins.visuals.inventory import (
FilterInvtableText,
)
from cmk.gui.i18n import _
from cmk.gui.plugins.views.utils import (
inventory_displayhints,
)
from cmk.gui.htmllib import HTML
from cmk.gui.utils.html import HTML
#
# to get the status colors and the clickable IDs for EOL, PSIRT and Bug you need to copy the file
# ~/lib/check_mk/gui/plugins/views/inventory.py to ~/local/lib/check_mk/gui/plugins/views.
......@@ -299,9 +299,3 @@ else:
'.software.support.cisco_psirt.advisories:*.bugIDs': {'title': _('Bug IDs')},
'.software.support.cisco_psirt.Last_checked': {'title': _('Last checked')},
}))
declare_invtable_view('invciscoeox', '.hardware.support.cisco_eox:', _('Cisco EoX status'), _('Cisco EoX status'))
declare_invtable_view('invciscocontract', '.hardware.support.cisco_contract:', _('Cisco contract status'), _('Cisco contract status'))
declare_invtable_view('invciscopsirt', '.software.support.cisco_psirt.advisories:', _('Cisco PSIRT advisories'), _('Cisco PSIRT advisories'))
declare_invtable_view('invciscobugs', '.software.support.cisco_bug.bugs:', _('Cisco BUG IDs'), _('Cisco Bug IDs'))
File added
......@@ -38,7 +38,7 @@
'name': 'inv_cisco_support',
'title': 'Inventory for Cisco Bug, EoX, contract status, PSIRT advisories and '
'suggested software',
'version': '0.2.0-20230619',
'version.min_required': '2.1.0b1',
'version.packaged': '2.2.0p2',
'version.usable_until': '2.2.0b1'}
'version': '0.2.1-20231008',
'version.min_required': '2.2.0b1',
'version.packaged': '2.2.0p11',
'version.usable_until': '2.3.0b1'}
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