mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 23:54:18 +02:00
asterisk: doc into plugin
This commit is contained in:
parent
531a969b05
commit
a20376e2f2
@ -144,10 +144,26 @@ List partitions.
|
|||||||
|
|
||||||
Hostname to query.
|
Hostname to query.
|
||||||
|
|
||||||
|
=item B<--port>
|
||||||
|
|
||||||
|
port to connect.
|
||||||
|
|
||||||
|
=item B<--username>
|
||||||
|
|
||||||
|
username for conection.
|
||||||
|
|
||||||
|
=item B<--password>
|
||||||
|
|
||||||
|
password for conection.
|
||||||
|
|
||||||
=item B<--filter-name>
|
=item B<--filter-name>
|
||||||
|
|
||||||
Filter on trunkname (regexp can be used).
|
Filter on trunkname (regexp can be used).
|
||||||
|
|
||||||
|
=item B<--timeout>
|
||||||
|
|
||||||
|
connection timeout.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@ -142,12 +142,28 @@ List partitions.
|
|||||||
|
|
||||||
=item B<--hostname>
|
=item B<--hostname>
|
||||||
|
|
||||||
Hostname to query (need --remote).
|
Hostname to query.
|
||||||
|
|
||||||
|
=item B<--port>
|
||||||
|
|
||||||
|
port to connect.
|
||||||
|
|
||||||
|
=item B<--username>
|
||||||
|
|
||||||
|
username for conection.
|
||||||
|
|
||||||
|
=item B<--password>
|
||||||
|
|
||||||
|
password for conection.
|
||||||
|
|
||||||
=item B<--filter-name>
|
=item B<--filter-name>
|
||||||
|
|
||||||
Filter on trunkname (regexp can be used).
|
Filter on trunkname (regexp can be used).
|
||||||
|
|
||||||
|
=item B<--timeout>
|
||||||
|
|
||||||
|
connection timeout.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
@ -114,7 +114,7 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check system uptime.
|
Check number of active calls.
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
|
@ -202,17 +202,17 @@ __END__
|
|||||||
|
|
||||||
=head1 MODE
|
=head1 MODE
|
||||||
|
|
||||||
Check number of active calls (total and by trunk)
|
Check number of external calls (total and by trunk)
|
||||||
|
|
||||||
=over 8
|
=over 8
|
||||||
|
|
||||||
=item B<--warning>
|
=item B<--warning>
|
||||||
|
|
||||||
Threshold warning for total number of calls.
|
Threshold warning for total number of external calls.
|
||||||
|
|
||||||
=item B<--critical>
|
=item B<--critical>
|
||||||
|
|
||||||
Threshold critical for total number of calls.
|
Threshold critical for total number of external calls.
|
||||||
|
|
||||||
=item B<--warnontrunk>
|
=item B<--warnontrunk>
|
||||||
|
|
||||||
@ -232,7 +232,7 @@ List of outgoing trunks' username.
|
|||||||
|
|
||||||
=item B<--filter-name>
|
=item B<--filter-name>
|
||||||
|
|
||||||
Filter on trunkname (regexp can be used).
|
Filter on trunk's username (regexp can be used).
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
|
@ -37,7 +37,6 @@ package apps::voip::asterisk::snmp::plugin;
|
|||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
#use base qw(centreon::plugins::script_simple);
|
|
||||||
use base qw(centreon::plugins::script_snmp);
|
use base qw(centreon::plugins::script_snmp);
|
||||||
|
|
||||||
sub new {
|
sub new {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user