enh(hikvision/snmp): force new perfdata for time mode (#2858)
This commit is contained in:
parent
7ff8e1a153
commit
b5d91636c2
|
@ -25,6 +25,14 @@ use base qw(snmp_standard::mode::ntp);
|
|||
use strict;
|
||||
use warnings;
|
||||
|
||||
sub new {
|
||||
my ($class, %options) = @_;
|
||||
my $self = $class->SUPER::new(package => __PACKAGE__, %options, force_new_perfdata => 1);
|
||||
bless $self, $class;
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
||||
sub get_target_time {
|
||||
my ($self, %options) = @_;
|
||||
|
||||
|
|
Loading…
Reference in New Issue