enhance indent linux snmp

This commit is contained in:
garnier-quentin 2019-05-23 16:33:25 +02:00
parent 3b966fa549
commit d8ae4047c8
1 changed files with 18 additions and 18 deletions

View File

@ -31,24 +31,24 @@ sub new {
$self->{version} = '0.1'; $self->{version} = '0.1';
%{$self->{modes}} = ( %{$self->{modes}} = (
'cpu' => 'snmp_standard::mode::cpu', 'cpu' => 'snmp_standard::mode::cpu',
'cpu-detailed' => 'snmp_standard::mode::cpudetailed', 'cpu-detailed' => 'snmp_standard::mode::cpudetailed',
'diskio' => 'snmp_standard::mode::diskio', 'diskio' => 'snmp_standard::mode::diskio',
'disk-usage' => 'snmp_standard::mode::diskusage', 'disk-usage' => 'snmp_standard::mode::diskusage',
'inodes' => 'snmp_standard::mode::inodes', 'inodes' => 'snmp_standard::mode::inodes',
'interfaces' => 'snmp_standard::mode::interfaces', 'interfaces' => 'snmp_standard::mode::interfaces',
'load' => 'snmp_standard::mode::loadaverage', 'load' => 'snmp_standard::mode::loadaverage',
'list-diskspath' => 'snmp_standard::mode::listdiskspath', 'list-diskspath' => 'snmp_standard::mode::listdiskspath',
'list-interfaces' => 'snmp_standard::mode::listinterfaces', 'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'list-storages' => 'snmp_standard::mode::liststorages', 'list-storages' => 'snmp_standard::mode::liststorages',
'memory' => 'snmp_standard::mode::memory', 'memory' => 'snmp_standard::mode::memory',
'processcount' => 'snmp_standard::mode::processcount', 'processcount' => 'snmp_standard::mode::processcount',
'storage' => 'snmp_standard::mode::storage', 'storage' => 'snmp_standard::mode::storage',
'swap' => 'snmp_standard::mode::swap', 'swap' => 'snmp_standard::mode::swap',
'time' => 'snmp_standard::mode::ntp', 'time' => 'snmp_standard::mode::ntp',
'tcpcon' => 'snmp_standard::mode::tcpcon', 'tcpcon' => 'snmp_standard::mode::tcpcon',
'uptime' => 'snmp_standard::mode::uptime', 'uptime' => 'snmp_standard::mode::uptime',
); );
return $self; return $self;
} }