diff --git a/centreon-plugins/hardware/ups/hp/snmp/mode/time.pm b/centreon-plugins/hardware/ups/hp/snmp/mode/time.pm index 34fd20ea0..2698da5cc 100644 --- a/centreon-plugins/hardware/ups/hp/snmp/mode/time.pm +++ b/centreon-plugins/hardware/ups/hp/snmp/mode/time.pm @@ -24,6 +24,7 @@ use base qw(snmp_standard::mode::ntp); use strict; use warnings; +use DateTime; sub get_target_time { my ($self, %options) = @_;