aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2018-03-03 13:22:55 +0100
committerBryn M. Reeves <bmr@redhat.com>2018-05-09 15:41:13 +0100
commit6f38efd64a1ef0e8f3549ab958d633fc2d51f084 (patch)
treedb2a30de10dfee6ab3752c7a9eb4ae770dfd2022
parent5f9257551c02b0912a5a250c7a3a28de05bd863f (diff)
downloadsos-6f38efd64a1ef0e8f3549ab958d633fc2d51f084.tar.gz
[chrony] use -n when calling chronyc sources
As in other parts of sos, do not allow attempts to resolve DNS names when collecting 'chronyc sources` data. Resolves: #1237 Signed-off-by: Pavel Moravec <pmoravec@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/chrony.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/chrony.py b/sos/plugins/chrony.py
index 11fc2579..f432cfbd 100644
--- a/sos/plugins/chrony.py
+++ b/sos/plugins/chrony.py
@@ -32,7 +32,7 @@ class Chrony(Plugin, RedHatPlugin):
self.add_cmd_output([
"chronyc activity",
"chronyc tracking",
- "chronyc sources",
+ "chronyc -n sources",
"chronyc sourcestats",
"chronyc serverstats",
"chronyc ntpdata",