This commit is contained in:
Quentin Garnier 2014-03-03 16:59:19 +01:00
parent 8f1c426f60
commit ed772c5ea7
1 changed files with 15 additions and 14 deletions

View File

@ -47,20 +47,21 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'cpu' => 'snmp_standard::mode::cpu',
'diskio' => 'snmp_standard::mode::diskio',
'inodes' => 'snmp_standard::mode::inodes',
'load' => 'snmp_standard::mode::loadaverage',
'list-diskspath' => 'snmp_standard::mode::listdiskspath',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'list-storages' => 'snmp_standard::mode::liststorages',
'memory' => 'snmp_standard::mode::memory',
'packet-errors' => 'snmp_standard::mode::packeterrors',
'processcount' => 'snmp_standard::mode::processcount',
'storage' => 'snmp_standard::mode::storage',
'swap' => 'snmp_standard::mode::swap',
'traffic' => 'snmp_standard::mode::traffic',
'uptime' => 'snmp_standard::mode::uptime',
'cpu' => 'snmp_standard::mode::cpu',
'diskio' => 'snmp_standard::mode::diskio',
'disk-usage' => 'snmp_standard::mode::diskusage',
'inodes' => 'snmp_standard::mode::inodes',
'load' => 'snmp_standard::mode::loadaverage',
'list-diskspath' => 'snmp_standard::mode::listdiskspath',
'list-interfaces' => 'snmp_standard::mode::listinterfaces',
'list-storages' => 'snmp_standard::mode::liststorages',
'memory' => 'snmp_standard::mode::memory',
'packet-errors' => 'snmp_standard::mode::packeterrors',
'processcount' => 'snmp_standard::mode::processcount',
'storage' => 'snmp_standard::mode::storage',
'swap' => 'snmp_standard::mode::swap',
'traffic' => 'snmp_standard::mode::traffic',
'uptime' => 'snmp_standard::mode::uptime',
);
return $self;