mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-04-07 20:35:27 +02:00
Fix help mode
This commit is contained in:
parent
bf8a0fbf52
commit
82182c7012
@ -280,7 +280,7 @@ __END__
|
||||
=head1 MODE
|
||||
|
||||
Check usage on partitions (UCD-SNMP-MIB).
|
||||
Need to enable "includeAllDisk 10%" on snmpd.conf.
|
||||
Need to enable "includeAllDisks 10%" on snmpd.conf.
|
||||
|
||||
=over 8
|
||||
|
||||
|
@ -105,7 +105,7 @@ sub run {
|
||||
|
||||
if (defined($self->{option_results}->{average})) {
|
||||
my $result2 = $self->{snmp}->get_table(oid => $oid_CountCpu);
|
||||
if (scalar(keys %$result2)<=0){
|
||||
if (scalar(keys %$result2) <= 0){
|
||||
$self->{output}->output_add(severity => 'unknown',
|
||||
short_msg => 'Unable to get number of CPUs');
|
||||
$self->{output}->display();
|
||||
|
Loading…
x
Reference in New Issue
Block a user