From 00fe4eae2d85d2035beb57e166db99f051cfec8c Mon Sep 17 00:00:00 2001 From: Quentin Garnier Date: Thu, 19 Mar 2015 16:19:00 +1100 Subject: [PATCH] Fix redback --- network/redback/snmp/mode/components/voltage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/redback/snmp/mode/components/voltage.pm b/network/redback/snmp/mode/components/voltage.pm index de0553f29..5df05d6ec 100644 --- a/network/redback/snmp/mode/components/voltage.pm +++ b/network/redback/snmp/mode/components/voltage.pm @@ -75,7 +75,7 @@ sub check { $self->{output}->output_add(severity => $exit, short_msg => sprintf("Voltage '%s' is %s mV", $result->{rbnVoltageDescr}, $result->{rbnVoltageCurrent})); } - $self->{output}->perfdata_add(label => "temp_" . $instance, unit => 'mV', + $self->{output}->perfdata_add(label => "volt_" . $instance, unit => 'mV', value => $result->{rbnVoltageCurrent}, warning => $warn, critical => $crit);