[CTOR-38][Plugin] Fix Packaging- New pack Avigilon camera snmp (#4997)

This commit is contained in:
Lucie Dubrunfaut 2024-04-26 10:39:37 +02:00 committed by GitHub
parent 5da7c6f509
commit 7615cbebe7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 5 deletions

View File

@ -5,6 +5,9 @@
"files": [
"centreon/plugins/script_snmp.pm",
"centreon/plugins/snmp.pm",
"snmp_standard/mode/interfaces.pm",
"snmp_standard/mode/listinterfaces.pm",
"snmp_standard/mode/uptime.pm",
"hardware/devices/camera/avigilon/snmp/"
]
}

View File

@ -30,11 +30,12 @@ sub new {
bless $self, $class;
%{$self->{modes}} = (
'interfaces' => 'hardware::devices::camera::avigilon::snmp::mode::interfaces',
'memory' => 'hardware::devices::camera::avigilon::snmp::mode::memory',
'storage' => 'hardware::devices::camera::avigilon::snmp::mode::storage',
'temperature' => 'hardware::devices::camera::avigilon::snmp::mode::temperature',
'uptime' => 'snmp_standard::mode::uptime',
'interfaces' => 'hardware::devices::camera::avigilon::snmp::mode::interfaces',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'memory' => 'hardware::devices::camera::avigilon::snmp::mode::memory',
'storage' => 'hardware::devices::camera::avigilon::snmp::mode::storage',
'temperature' => 'hardware::devices::camera::avigilon::snmp::mode::temperature',
'uptime' => 'snmp_standard::mode::uptime',
);
return $self;