This commit is contained in:
garnier-quentin 2016-02-05 13:12:01 +01:00
commit a79dc2398b
2 changed files with 6 additions and 6 deletions

View File

@ -131,6 +131,7 @@ sub run {
name => $item);
foreach my $sensor (@sensors) {
next if (!defined($details->{$sensor}) || $details->{$sensor} eq '');
$self->{output}->output_add(long_msg => sprintf("Sensor '%s' state is '%s'",
$sensor, $details->{$sensor}));

View File

@ -200,17 +200,16 @@ Check IOPS (Global, Read, Write) on each SSDs.
=item B<--warning-*>
Threshold warning.
Can be: 'global' (%), 'read' (%), 'write' (%).
Threshold warning (number of iops)
Can be: 'global', 'read', 'write'.
=item B<--critical-*>
Threshold critical.
Can be: 'global' (%), 'read' (%), 'write' (%).
Threshold critical (number of iops)
Can be: 'global', 'read', 'write'.
=item B<--filter-name>
Filter SSD name (can be a regexp).
Filter SSD name (can be a regexp). (e.g --filter-name '.*' for all SSDs)
=back