Merge branch 'master' of http://git.centreon.com/centreon-plugins
This commit is contained in:
commit
7fe6d5f46c
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue