diff --git a/centreon-plugins/snmp_standard/mode/numericvalue.pm b/centreon-plugins/snmp_standard/mode/numericvalue.pm index 335bd182f..acb6678f0 100644 --- a/centreon-plugins/snmp_standard/mode/numericvalue.pm +++ b/centreon-plugins/snmp_standard/mode/numericvalue.pm @@ -125,6 +125,10 @@ sub run { $self->{output}->exit(); } + # Reboot or counter goes back + if ($old_value > $value) { + $old_value = 0; + } $value = $value - $old_value; if (defined($self->{option_results}->{counter_per_seconds})) { my $delta_time = $datas->{timestamp} - $old_timestamp;