Few corrections thanks to Quentin bullseye
This commit is contained in:
parent
f07aa3e415
commit
101f3a13fd
|
@ -98,17 +98,17 @@ __END__
|
|||
|
||||
=head1 MODE
|
||||
|
||||
Check system cpu usage (SW.mib).
|
||||
Check firewall number of connections (chkpnt.mib).
|
||||
|
||||
=over 8
|
||||
|
||||
=item B<--warning>
|
||||
|
||||
Threshold warning in percent.
|
||||
Number of connections trigerring a warning state
|
||||
|
||||
=item B<--critical>
|
||||
|
||||
Threshold critical in percent.
|
||||
Number of connections trigerring a criticalstate
|
||||
|
||||
=back
|
||||
|
||||
|
|
|
@ -118,7 +118,7 @@ __END__
|
|||
|
||||
=head1 MODE
|
||||
|
||||
Check system cpu usage (SW.mib).
|
||||
Check firewall average cpu usage (system+user) (chkpnt.mib).
|
||||
|
||||
=over 8
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@ use base qw(centreon::plugins::mode);
|
|||
|
||||
use strict;
|
||||
use warnings;
|
||||
use lib '/usr/lib/nagios/plugins';
|
||||
|
||||
use network::checkpoint::mode::components::fan;
|
||||
use network::checkpoint::mode::components::psu;
|
||||
|
@ -65,8 +66,6 @@ sub check_options {
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
sub global {
|
||||
my ($self, %options) = @_;
|
||||
|
||||
|
@ -93,7 +92,6 @@ sub run {
|
|||
$self->{output}->option_exit();
|
||||
}
|
||||
|
||||
|
||||
my $total_components = 0;
|
||||
my $display_by_component = '';
|
||||
my $display_by_component_append = '';
|
||||
|
@ -132,7 +130,7 @@ __END__
|
|||
|
||||
=head1 MODE
|
||||
|
||||
Check hardware (fans, power supplies).
|
||||
Check hardware (fans, power supplies, temperatures).
|
||||
|
||||
=over 8
|
||||
|
||||
|
|
|
@ -105,7 +105,7 @@ __END__
|
|||
|
||||
=head1 MODE
|
||||
|
||||
Check system memory usage (SW.mib).
|
||||
Check firewall real memory usage (chkpnt.mib).
|
||||
|
||||
=over 8
|
||||
|
||||
|
|
|
@ -49,7 +49,8 @@ sub new {
|
|||
%{$self->{modes}} = (
|
||||
'cpu' => 'network::checkpoint::mode::cpu',
|
||||
'memory' => 'network::checkpoint::mode::memory',
|
||||
'connections' => 'snmp_standard::mode::connections'
|
||||
'connections' => 'network::checkpoint::mode::connections',
|
||||
'hardware' => 'network::checkpoint::mode::hardware',
|
||||
);
|
||||
|
||||
return $self;
|
||||
|
@ -61,6 +62,6 @@ __END__
|
|||
|
||||
=head1 PLUGIN DESCRIPTION
|
||||
|
||||
Check CheckPoint in SNMP.
|
||||
Check CheckPoint FW in SNMP.
|
||||
|
||||
=cut
|
||||
|
|
Loading…
Reference in New Issue