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

update project

parent c7479639
No related branches found
No related tags found
No related merge requests found
[PACKAGE]: ../../raw/master/mkp/nvdct-0.9.0-20240923.mkp "nvdct-0.9.0-20240923.mkp" [PACKAGE]: ../../raw/master/mkp/nvdct-0.9.1-20241110.mkp "nvdct-0.9.1-20241110.mkp"
# Network Visualization Data Creation Tool (NVDCT) # Network Visualization Data Creation Tool (NVDCT)
This script creates the topology data file needed for the [Checkmk Exchange Network visualization](https://exchange.checkmk.com/p/network-visualization) plugin.\ This script creates the topology data file needed for the [Checkmk Exchange Network visualization](https://exchange.checkmk.com/p/network-visualization) plugin.\
......
File added
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
# File : nvdct/lib/backends.py # File : nvdct/lib/backends.py
# 2024-06-18: fixed host_exist returns always True if host was in host_cache, even with host=None # 2024-06-18: fixed host_exist returns always True if host was in host_cache, even with host=None
# 2024-09-25: fixed crash on missing "customer" section in site config file
from collections.abc import Mapping, Sequence from collections.abc import Mapping, Sequence
from abc import abstractmethod from abc import abstractmethod
...@@ -380,7 +381,7 @@ class HostCacheMultiSite(HostCacheLiveStatus): ...@@ -380,7 +381,7 @@ class HostCacheMultiSite(HostCacheLiveStatus):
self.sites.update({site: { self.sites.update({site: {
'alias': data['alias'], 'alias': data['alias'],
'timeout': data['timeout'], 'timeout': data['timeout'],
'customer': data['customer'] # needed to filter by customer 'customer': data.get('customer') # needed to filter by customer
# 'nagios_url': '/nagios/', # 'nagios_url': '/nagios/',
}}) }})
if data['socket'] == ('local', None): if data['socket'] == ('local', None):
......
...@@ -23,7 +23,7 @@ from time import time as now_time ...@@ -23,7 +23,7 @@ from time import time as now_time
from tomllib import loads as toml_loads, TOMLDecodeError from tomllib import loads as toml_loads, TOMLDecodeError
from typing import List, Dict, TextIO from typing import List, Dict, TextIO
NVDCT_VERSION = '0.9.0-20240923' NVDCT_VERSION = '0.9.1-20241110'
@unique @unique
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
'htdocs/images/icons/location_80.png']}, 'htdocs/images/icons/location_80.png']},
'name': 'nvdct', 'name': 'nvdct',
'title': 'Network Visualization Data Creation Tool (NVDCT)', 'title': 'Network Visualization Data Creation Tool (NVDCT)',
'version': '0.9.0-20240923', 'version': '0.9.1-20241110',
'version.min_required': '2.3.0b1', 'version.min_required': '2.3.0b1',
'version.packaged': 'cmk-mkp-tool 0.2.0', 'version.packaged': 'cmk-mkp-tool 0.2.0',
'version.usable_until': '2.4.0p1'} 'version.usable_until': '2.4.0p1'}
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