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

Update README.md

parent 75952b03
No related branches found
No related tags found
No related merge requests found
......@@ -81,10 +81,12 @@ Usage with LLDP and STATIC:
```
OMD[build]:~$ ~/local/bin/nvdct/nvdct.py -h
usage: nvdct.py [-h] [-b {FILESYSTEM,LIVESTATUS,MULTISITE,RESTAPI}] [-d] [-o OUTPUT_DIRECTORY] [-s SEED_DEVICES [SEED_DEVICES ...]]
[-p PREFIX] [-l {CDP,CUSTOM,LLDP,STATIC} [{CDP,CUSTOM,LLDP,STATIC} ...]] [-u USER_DATA_FILE] [-v]
[--check-user-data-only] [--log-file LOG_FILE] [--log-level {CRITICAL,ERROR,WARN,INFO,DEBUG}] [--log-to-stdout]
[--dont-compare] [--keep-domain] [--keep KEEP] [--lowercase] [--min-age MIN_AGE] [--new-format] [--quiet]
usage: nvdct.py [-h] [-b {FILESYSTEM,LIVESTATUS,MULTISITE,RESTAPI}] [-d] [-o OUTPUT_DIRECTORY]
[-s SEED_DEVICES [SEED_DEVICES ...]] [-p PREFIX]
[-l {CDP,CUSTOM,LLDP,STATIC,L3v4} [{CDP,CUSTOM,LLDP,STATIC,L3v4} ...]] [-u USER_DATA_FILE]
[-v] [--check-user-data-only] [--log-file LOG_FILE]
[--log-level {CRITICAL,ERROR,WARNING,INFO,DEBUG}] [--log-to-stdout] [--dont-compare]
[--keep-domain] [--keep KEEP] [--lowercase] [--min-age MIN_AGE] [--new-format] [--quiet]
[--time-format TIME_FORMAT] [--uppercase]
This script creates the topology data file needed for the Checkmk "network_visualization"
......@@ -96,7 +98,7 @@ The required inventory data can be created with my inventory plugins:
CDP: https://thl-cmk.hopto.org/gitlab/checkmk/vendor-independent/inventory/inv_cdp_cache
LLDP: https://thl-cmk.hopto.org/gitlab/checkmk/vendor-independent/inventory/inv_lldp_cache
Version: 0.6.0-20240103 | Written by: thl-cmk
Version: 0.6.2-20240104 | Written by: thl-cmk
for more information see: https://thl-cmk.hopto.org/gitlab/checkmk/vendor-independent/nvdct
options:
......@@ -118,19 +120,21 @@ options:
I.e. Core01 Core02
-p PREFIX, --prefix PREFIX
Prepends each host with the prefix. (Needs testing)
-l {CDP,CUSTOM,LLDP,STATIC} [{CDP,CUSTOM,LLDP,STATIC} ...], --layers {CDP,CUSTOM,LLDP,STATIC} [{CDP,CUSTOM,LLDP,STATIC} ...]
-l {CDP,CUSTOM,LLDP,STATIC,L3v4} [{CDP,CUSTOM,LLDP,STATIC,L3v4} ...], --layers {CDP,CUSTOM,LLDP,STATIC,L3v4} [{CDP,CUSTOM,LLDP,STATIC,L3v4} ...]
Layers with least significant layer first. Listed layers
will be merged automatically. Default is "-l CDP STATIC"
CDP - needs inv_cdp_cache package at least in version 0.7.1-20231221
LLDP - needs inv_lldp_cache package at least in version 0.9.2-20231221
L3v4 - adds, layer 3 topology fpr IPv4
needs inv_ipv4_addresses package at least in version 0.9.2-20231221
-u USER_DATA_FILE, --user-data-file USER_DATA_FILE
Set the name uf the user provided data file
Default is ~/local/bin/topology_data/nvdct.toml
Default is ~/local/bin/nvdct/nvdct.toml
-v, --version Print version of this script and exit
--check-user-data-only
Only tries to read/parse the user data from nvdct.toml and exits.
--log-file LOG_FILE Set the log file. Default is ~/var/log/nvdct.log
--log-level {CRITICAL,ERROR,WARN,INFO,DEBUG}
--log-level {CRITICAL,ERROR,WARNING,INFO,DEBUG}
Sets the loglevel. The default is "WARN"
--log-to-stdout Send log to stdout.
--dont-compare Do not compare the actual topology data with the default topology
......@@ -157,7 +161,7 @@ Exit codes:
4 - Automation secret not found
Usage:
~/local/bin/network-topology/nvdct.py -s Core01 Core02 -d
~/local/bin/nvdct/nvdct.py -s Core01 Core02 -d
OMD[build]:~$
```
......
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