StarlingX system monitoring and repoting tools
Go to file
Cristian Mondo e652193434 Fix to prevent truncating IPv6 value when NTP alarm is triggered.
When the NTP alarm is triggered indicating that the peer is not
reachable and if it is IPv6, the IP value is truncated.
This occurs because the NTP plugin relies on the output of the
ntpq -np command, which shows the truncated IPv6 as well.
This causes the IPv6 in the alarm to be truncated, showing its
partial information.
To fix this, a mechanism was implemented to invoke the ntpq
command but specifying the association corresponding to the IPv6
which is truncated. In this way, detailed information of the
association is retrieved, including the full IPv6.
That IPv6 will be the one that will be used as the value for
the alarm.

Closes-Bug: 2004043

Test Plan:

PASS: Configure NTP with unreachable IPv6 peers to trigger the
NTP alarm
PASS: Configure NTP with reachable IPv6 peers to avoid alarms
PASS: Configure NTP with unreachable IPv4 peers to trigger the
NTP alarm
PASS: Configure NTP with reachable IPv4 peers to avoid alarms

Signed-off-by: Cristian Mondo <cristian.mondo@windriver.com>
Change-Id: Id7e0af4f130f04c5eb037e5ff0d0a0cc5ce71b3e
2023-01-30 13:54:01 +00:00
collectd-extensions Fix to prevent truncating IPv6 value when NTP alarm is triggered. 2023-01-30 13:54:01 +00:00
kube-cpusets Update tox.ini to work with tox 4 2022-12-27 01:20:28 +00:00
kube-memory Fix for TypeError in kube-memory 2023-01-04 11:13:38 -05:00
monitor-tools debian: Remove initscripts dependency 2022-06-01 08:14:36 -04:00
vm-topology Add debian package for vm-topology 2022-01-24 18:51:20 +00:00
.gitignore Adding zuul jobs for new repo 2019-09-09 14:37:23 -05:00
.gitreview Add a .gitreview file to the new repo 2019-09-09 09:35:13 -05:00
.zuul.yaml Update tox.ini to work with tox 4 2022-12-27 01:20:28 +00:00
centos_build_layer.cfg Build layering, add layer build config file 2019-10-15 19:21:39 +08:00
centos_iso_image.inc Remove InfluxDB 2021-07-15 12:02:38 -03:00
centos_pkg_dirs Remove InfluxDB 2021-07-15 12:02:38 -03:00
CONTRIBUTING.rst Adding zuul jobs for new repo 2019-09-09 14:37:23 -05:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:34:25 -04:00
debian_iso_image.inc Debian: monitoring: update debian_iso_image.inc 2022-11-22 10:26:59 +08:00
debian_pkg_dirs Add debian_pkg_dirs for stx/monitoring 2022-04-05 11:29:17 -03:00
github_sync.trigger Trigger upload job to upload repo to GitHub 2020-02-07 10:13:03 -05:00
HACKING.rst Adding zuul jobs for new repo 2019-09-09 14:37:23 -05:00
requirements.txt Adding zuul jobs for new repo 2019-09-09 14:37:23 -05:00
test-requirements.txt Fix zuul errors due to changes in dependencies 2021-04-26 11:45:02 -04:00
tox.ini Update tox.ini to work with tox 4 2022-12-27 01:20:28 +00:00