From 786d580029f087bc61c6d16f1f07332e3a89f204 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Mon, 30 Dec 2019 14:51:12 +0100 Subject: [PATCH] add datetime module ups hp --- centreon-plugins/hardware/ups/hp/snmp/mode/time.pm | 1 + 1 file changed, 1 insertion(+) 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) = @_;