From 78588b98698ecc89e255bdcc8dfc3da16df4ef20 Mon Sep 17 00:00:00 2001 From: PhiBo Date: Wed, 22 Jan 2020 00:11:04 +0100 Subject: [PATCH] src - Change perfdata names --- check_mtr.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_mtr.pl b/check_mtr.pl index 5fb51b6..9ea7cbb 100755 --- a/check_mtr.pl +++ b/check_mtr.pl @@ -117,7 +117,7 @@ sub check critical => $mp->opts->latency_crit ); $mp->add_perfdata( - label => "latency_$hop_count", + label => "hop_${hop_count}_rta", value => $latency_value, warning => $mp->opts->latency_warn, critical => $mp->opts->latency_crit, @@ -129,7 +129,7 @@ sub check critical => $mp->opts->packet_loss_crit, ); $mp->add_perfdata( - label => "packet_loss_$hop_count", + label => "hop_${hop_count}_pl", value => $packet_loss_value, warning => $mp->opts->packet_loss_warn, critical => $mp->opts->packet_loss_crit, -- GitLab