Merge pull request #70 from Shini31/issue67
Change diskusage by storage mode
This commit is contained in:
commit
d7fdd78a53
|
@ -45,7 +45,7 @@ sub new {
|
||||||
bless $self, $class;
|
bless $self, $class;
|
||||||
# $options->{options} = options object
|
# $options->{options} = options object
|
||||||
|
|
||||||
$self->{version} = '1.0';
|
$self->{version} = '1.1';
|
||||||
%{$self->{modes}} = (
|
%{$self->{modes}} = (
|
||||||
'components' => 'storage::synology::mode::components',
|
'components' => 'storage::synology::mode::components',
|
||||||
'temperature' => 'storage::synology::mode::temperature',
|
'temperature' => 'storage::synology::mode::temperature',
|
||||||
|
@ -54,7 +54,7 @@ sub new {
|
||||||
'cpu' => 'snmp_standard::mode::cpu',
|
'cpu' => 'snmp_standard::mode::cpu',
|
||||||
'memory' => 'snmp_standard::mode::memory',
|
'memory' => 'snmp_standard::mode::memory',
|
||||||
'load' => 'snmp_standard::mode::load',
|
'load' => 'snmp_standard::mode::load',
|
||||||
'diskusage' => 'snmp_standard::mode::diskusage',
|
'storage' => 'snmp_standard::mode::storage',
|
||||||
);
|
);
|
||||||
|
|
||||||
return $self;
|
return $self;
|
||||||
|
|
Loading…
Reference in New Issue