From b653772c534776f343fc2e1843e0fa753f0813da Mon Sep 17 00:00:00 2001 From: thl-cmk <thl-cmk@outlook.com> Date: Wed, 11 Dec 2024 19:34:16 +0000 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 97eea09..2559102 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,6 @@ The plugin adds the IP-addresses information to the inventory for devices monitored via SNMP. The plugin supports IPv4 and IPv6. -It adds the hostlabels -- `nvdct/l3v4_topology:host` if the host has one IPv4 address, except localhost -- `nvdct/l3v4_topology:router` if the thost has more than one IPv4 address, except localhost - --- ### Download * [Download latest mkp file][PACKAGE] @@ -38,6 +34,19 @@ Nice ;-) Have a look at the [contribution guidelines](CONTRIBUTING.md "Contribut The inventory plugin is not configurable. </details> +--- +### Host labels +<details><summary>Host labels added</summary> + +- `nvdct/l3v4_topology:host` if the host has one IPv4 address +- `nvdct/l3v4_topology:router` if the thost has more than one IPv4 address +- `nvdct/l3v6_topology:host` if the host has one IPv6 address +- `nvdct/l3v6_topology:router` if the thost has more than one IPv6 address + +**Note**: Localhost `(127.0.0.0/8`, `::1`), link-local (`FE80::/64`) and unspecified (`::`) IPs don't count. + +</details> + --- ### Sample Output -- GitLab