From d3baad355f13c46e699146fb3c7f61d75c97036c Mon Sep 17 00:00:00 2001 From: thl-cmk <thl-cmk@outlook.com> Date: Mon, 9 Dec 2024 14:09:27 +0000 Subject: [PATCH] Update README.md --- README.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3ec1de4..a967748 100644 --- a/README.md +++ b/README.md @@ -91,10 +91,10 @@ Usage with LLDP and STATIC: ``` OMD[build]:~$ ~/local/bin/nvdct/nvdct.py -h usage: nvdct.py [-h] [-b {LIVESTATUS,MULTISITE,RESTAPI}] [-d] [-o OUTPUT_DIRECTORY] [-p PREFIX] - [-l {CDP,CUSTOM,LLDP,STATIC,L3v4} [{CDP,CUSTOM,LLDP,STATIC,L3v4} ...]] [-u USER_DATA_FILE] [-v] - [--api-port API_PORT] [--case {LOWER,UPPER}] [--check-user-data-only] [--log-file LOG_FILE] + [-l {CDP,CUSTOM,LLDP,STATIC,L3v4} [{CDP,CUSTOM,LLDP,STATIC,L3v4} ...]] [-u USER_DATA_FILE] [-v] [--api-port API_PORT] + [--case {LOWER,UPPER}] [--check-user-data-only] [--log-file LOG_FILE] [--log-level {CRITICAL,FATAL,ERROR,WARNING,INFO,DEBUG,OFF}] [--log-to-stdout] [--dont-compare] - [--filter-customers {INCLUDE,EXCLUDE}] [--filter-sites {INCLUDE,EXCLUDE}] [--remove-domain] [--keep KEEP] + [--filter-customers {INCLUDE,EXCLUDE}] [--filter-sites {INCLUDE,EXCLUDE}] [--include-l3-hosts] [--remove-domain] [--keep KEEP] [--min-age MIN_AGE] [--pre-fetch] [--quiet] [--skip-l3-if] [--skip-l3-ip] [--time-format TIME_FORMAT] This script creates the topology data file needed for the Checkmk "network_visualization" @@ -105,9 +105,9 @@ and the plugin on the Exchange: https://exchange.checkmk.com/p/network-visualiza 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 -L3v4: https://thl-cmk.hopto.org/gitlab/checkmk/vendor-independent/inventory/inv_ipv4_addresses +L3v4: https://thl-cmk.hopto.org/gitlab/checkmk/vendor-independent/inventory/inv_ip_address -Version: 0.9.2-20241117 | Written by: thl-cmk +Version: 0.9.3-20241209 | Written by: thl-cmk for more information see: https://thl-cmk.hopto.org/gitlab/checkmk/vendor-independent/nvdct options: @@ -129,8 +129,10 @@ options: -l {CDP,CUSTOM,LLDP,STATIC,L3v4} [{CDP,CUSTOM,LLDP,STATIC,L3v4} ...], --layers {CDP,CUSTOM,LLDP,STATIC,L3v4} [{CDP,CUSTOM,LLDP,STATIC,L3v4} ...] - CDP : needs inv_cdp_cache package at least in version 0.7.1-20240320 - LLDP : needs inv_lldp_cache package at least in version 0.9.3-20240320 - - L3v4 : needs inv_ipv4_addresses package at least in version 0.0.3-20240320 + - L3v4 : needs inv_ip_address package at least in version 0.0.5-2024120 adds, layer 3 topology fpr IPv4 + - STATIC (deprecated) + - CUSTOM (deprecated) -u USER_DATA_FILE, --user-data-file USER_DATA_FILE Set the name uf the user provided data file Default is ~/local/bin/nvdct/conf/nvdct.toml @@ -155,6 +157,7 @@ options: --filter-sites {INCLUDE,EXCLUDE} INCLUDE/EXCLUDE site list from config file. Note: MULTISITE backend only. + --include-l3-hosts Include hosts (single IP objects) in layer 3 topology --remove-domain Remove the domain name from the neighbor name --keep KEEP Number of topologies to keep. The oldest topologies above keep max will be deleted. @@ -176,8 +179,7 @@ Exit codes: Usage: ~/local/bin/nvdct/nvdct.py -u ~/local/bin/nvdct/conf/nvdct.toml - -OMD[build]:~$ +OMD[build]:~$ ``` </details> -- GitLab