diff options
author | Jörg Thalheim <joerg@higgsboson.tk> | 2017-02-15 11:05:50 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@higgsboson.tk> | 2017-02-17 16:04:49 +0100 |
commit | fd78ff23f7dd0db1a468189672aeb85f53d4ec99 (patch) | |
tree | 9902acafd3e56d206e03c769374ab235b922038b /pkgs/servers/monitoring/nagios | |
parent | a674dea6756b773e1e41f9df2aaa29e9499f74f9 (diff) |
replace ping6 with ping
reason: after the upgrade of iputils from 20151218 to 20161105 functionality of ping6 and tracepath6 was merged into ping and tracepath. Ping is now mostly a drop-in replacment for ping6, except that selecting a specific interface is done by encoding it into the address (ex.: fe80::1%eth0) rather then specifing it with the `-I` flag.
Diffstat (limited to 'pkgs/servers/monitoring/nagios')
-rw-r--r-- | pkgs/servers/monitoring/nagios/plugins/official-2.x.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/monitoring/nagios/plugins/official-2.x.nix b/pkgs/servers/monitoring/nagios/plugins/official-2.x.nix index 1ea6f88084db1..67c3954ef5696 100644 --- a/pkgs/servers/monitoring/nagios/plugins/official-2.x.nix +++ b/pkgs/servers/monitoring/nagios/plugins/official-2.x.nix @@ -16,8 +16,8 @@ stdenv.mkDerivation rec { # configured on the build machine). preConfigure= " configureFlagsArray=( - --with-ping-command='/run/wrappers/bin/ping -n -U -w %d -c %d %s' - --with-ping6-command='/run/wrappers/bin/ping6 -n -U -w %d -c %d %s' + --with-ping-command='/run/wrappers/bin/ping -4 -n -U -w %d -c %d %s' + --with-ping6-command='/run/wrappers/bin/ping -6 -n -U -w %d -c %d %s' ) "; |