This commit is contained in:
Quentin Garnier 2014-03-20 14:26:22 +01:00
commit 7fe6d5f46c
9 changed files with 100 additions and 4 deletions

View File

@ -137,6 +137,18 @@ Warning Threshold
Critical Threshold
=item B<--remote>
If you dont wanna install the apcupsd client on your local system you can run it remotely with 'ssh'.
=item B<--hostname>
Hostname to query (need --remote).
=item B<--ssh-option>
Specify multiple options like the user (example: --ssh-option='-l=centreon-engine' --ssh-option='-p=52').
=back
=cut

View File

@ -137,6 +137,18 @@ Warning Threshold
Critical Threshold
=item B<--remote>
If you dont wanna install the apcupsd client on your local system you can run it remotely with 'ssh'.
=item B<--hostname>
Hostname to query (need --remote).
=item B<--ssh-option>
Specify multiple options like the user (example: --ssh-option='-l=centreon-engine' --ssh-option='-p=52').
=back
=cut
=cut

View File

@ -137,6 +137,18 @@ Warning Threshold
Critical Threshold
=item B<--remote>
If you dont wanna install the apcupsd client on your local system you can run it remotely with 'ssh'.
=item B<--hostname>
Hostname to query (need --remote).
=item B<--ssh-option>
Specify multiple options like the user (example: --ssh-option='-l=centreon-engine' --ssh-option='-p=52').
=back
=cut

View File

@ -137,6 +137,18 @@ Warning Threshold
Critical Threshold
=item B<--remote>
If you dont wanna install the apcupsd client on your local system you can run it remotely with 'ssh'.
=item B<--hostname>
Hostname to query (need --remote).
=item B<--ssh-option>
Specify multiple options like the user (example: --ssh-option='-l=centreon-engine' --ssh-option='-p=52').
=back
=cut

View File

@ -137,6 +137,18 @@ Warning Threshold
Critical Threshold
=item B<--remote>
If you dont wanna install the apcupsd client on your local system you can run it remotely with 'ssh'.
=item B<--hostname>
Hostname to query (need --remote).
=item B<--ssh-option>
Specify multiple options like the user (example: --ssh-option='-l=centreon-engine' --ssh-option='-p=52').
=back
=cut

View File

@ -137,6 +137,18 @@ Warning Threshold
Critical Threshold
=item B<--remote>
If you dont wanna install the apcupsd client on your local system you can run it remotely with 'ssh'.
=item B<--hostname>
Hostname to query (need --remote).
=item B<--ssh-option>
Specify multiple options like the user (example: --ssh-option='-l=centreon-engine' --ssh-option='-p=52').
=back
=cut

View File

@ -33,7 +33,7 @@
#
####################################################################################
package apps::apcupsd::local::mode::temperatur;
package apps::apcupsd::local::mode::temperature;
use base qw(centreon::plugins::mode);
@ -137,6 +137,18 @@ Warning Threshold
Critical Threshold
=item B<--remote>
If you dont wanna install the apcupsd client on your local system you can run it remotely with 'ssh'.
=item B<--hostname>
Hostname to query (need --remote).
=item B<--ssh-option>
Specify multiple options like the user (example: --ssh-option='-l=centreon-engine' --ssh-option='-p=52').
=back
=cut
=cut

View File

@ -137,6 +137,18 @@ Warning Threshold
Critical Threshold
=item B<--remote>
If you dont wanna install the apcupsd client on your local system you can run it remotely with 'ssh'.
=item B<--hostname>
Hostname to query (need --remote).
=item B<--ssh-option>
Specify multiple options like the user (example: --ssh-option='-l=centreon-engine' --ssh-option='-p=52').
=back
=cut

View File

@ -102,7 +102,7 @@ sub new {
$self->{version} = '0.1';
%{$self->{modes}} = (
'batterycharge' => 'apps::apcupsd::local::mode::batterycharge', # BCHARGE
'temperatur' => 'apps::apcupsd::local::mode::temperatur', # ITEMP
'temperature' => 'apps::apcupsd::local::mode::temperature', # ITEMP
'timeleft' => 'apps::apcupsd::local::mode::timeleft', # TIMELEFT MAXTIME MINTIMEL
'linevoltage' => 'apps::apcupsd::local::mode::linevoltage', # LINEV
'batteryvoltage' => 'apps::apcupsd::local::mode::batteryvoltage', # BATTV