diff --git a/check_mtr.pl b/check_mtr.pl index 5fb51b683dc9763d5dba8de251ce92131e235892..9ea7cbb44efa885d3ab1cb1e320920cf7e9f37fc 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,