asterisk: doc into plugin

This commit is contained in:
David Sabatié 2015-01-13 17:25:54 +01:00
parent 39c1e97867
commit 9702ca2d7d
5 changed files with 38 additions and 7 deletions

View File

@ -144,10 +144,26 @@ List partitions.
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>
Filter on trunkname (regexp can be used).
=item B<--timeout>
connection timeout.
=back
=cut

View File

@ -142,12 +142,28 @@ List partitions.
=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>
Filter on trunkname (regexp can be used).
=item B<--timeout>
connection timeout.
=back
=cut

View File

@ -114,7 +114,7 @@ __END__
=head1 MODE
Check system uptime.
Check number of active calls.
=over 8

View File

@ -202,17 +202,17 @@ __END__
=head1 MODE
Check number of active calls (total and by trunk)
Check number of external calls (total and by trunk)
=over 8
=item B<--warning>
Threshold warning for total number of calls.
Threshold warning for total number of external calls.
=item B<--critical>
Threshold critical for total number of calls.
Threshold critical for total number of external calls.
=item B<--warnontrunk>
@ -232,7 +232,7 @@ List of outgoing trunks' username.
=item B<--filter-name>
Filter on trunkname (regexp can be used).
Filter on trunk's username (regexp can be used).
=back

View File

@ -37,7 +37,6 @@ package apps::voip::asterisk::snmp::plugin;
use strict;
use warnings;
#use base qw(centreon::plugins::script_simple);
use base qw(centreon::plugins::script_snmp);
sub new {