(plugin) storage::hp::3par::ssh - some minor fixes (#3955)

This commit is contained in:
qgarnier 2022-10-03 16:25:14 +02:00 committed by GitHub
parent 6efd1f30ab
commit b78b99cc36
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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} = [