(plugin) storage::hp::3par::ssh - some minor fixes (#3955)
This commit is contained in:
parent
6efd1f30ab
commit
b78b99cc36
|
@ -200,7 +200,7 @@ sub set_counters {
|
|||
}
|
||||
|
||||
push @{$self->{maps_counters}->{drives}},
|
||||
{ label => 'drive-temperature', nlabel => 'battery.charge.remaining.percent', set => {
|
||||
{ label => 'drive-temperature', nlabel => 'drive.temperature.celsius', set => {
|
||||
key_values => [ { name => 'temperature' }, { name => 'cage_id' }, { name => 'drive_id' } ],
|
||||
output_template => 'temperature: %s C',
|
||||
closure_custom_perfdata => sub {
|
||||
|
|
|
@ -47,7 +47,7 @@ sub set_counters {
|
|||
my ($self, %options) = @_;
|
||||
|
||||
$self->{maps_counters_type} = [
|
||||
{ name => 'nodes', type => 1, cb_prefix_output => 'prefix_node_output', message_multiple => 'All nodes uptime are ok' }
|
||||
{ name => 'nodes', type => 1, cb_prefix_output => 'prefix_node_output', message_multiple => 'All nodes time are ok' }
|
||||
];
|
||||
|
||||
$self->{maps_counters}->{nodes} = [
|
||||
|
|
Loading…
Reference in New Issue