diff --git a/apps/apcupsd/local/mode/batterycharge.pm b/apps/apcupsd/local/mode/batterycharge.pm index 3b7db1fe9..bebb85fbf 100644 --- a/apps/apcupsd/local/mode/batterycharge.pm +++ b/apps/apcupsd/local/mode/batterycharge.pm @@ -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 diff --git a/apps/apcupsd/local/mode/batteryvoltage.pm b/apps/apcupsd/local/mode/batteryvoltage.pm index b7a451c81..ede90e35d 100644 --- a/apps/apcupsd/local/mode/batteryvoltage.pm +++ b/apps/apcupsd/local/mode/batteryvoltage.pm @@ -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 \ No newline at end of file diff --git a/apps/apcupsd/local/mode/linefrequency.pm b/apps/apcupsd/local/mode/linefrequency.pm index 4d685a406..ae868588a 100644 --- a/apps/apcupsd/local/mode/linefrequency.pm +++ b/apps/apcupsd/local/mode/linefrequency.pm @@ -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 diff --git a/apps/apcupsd/local/mode/linevoltage.pm b/apps/apcupsd/local/mode/linevoltage.pm index 557263ba2..e3d2504af 100644 --- a/apps/apcupsd/local/mode/linevoltage.pm +++ b/apps/apcupsd/local/mode/linevoltage.pm @@ -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 diff --git a/apps/apcupsd/local/mode/loadpercentage.pm b/apps/apcupsd/local/mode/loadpercentage.pm index e18b9ef89..c4fcfae33 100644 --- a/apps/apcupsd/local/mode/loadpercentage.pm +++ b/apps/apcupsd/local/mode/loadpercentage.pm @@ -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 diff --git a/apps/apcupsd/local/mode/outputvoltage.pm b/apps/apcupsd/local/mode/outputvoltage.pm index b0f6a7e91..df305c6cb 100644 --- a/apps/apcupsd/local/mode/outputvoltage.pm +++ b/apps/apcupsd/local/mode/outputvoltage.pm @@ -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 diff --git a/apps/apcupsd/local/mode/temperatur.pm b/apps/apcupsd/local/mode/temperature.pm similarity index 94% rename from apps/apcupsd/local/mode/temperatur.pm rename to apps/apcupsd/local/mode/temperature.pm index 0ea66ccfd..af44b548f 100644 --- a/apps/apcupsd/local/mode/temperatur.pm +++ b/apps/apcupsd/local/mode/temperature.pm @@ -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 \ No newline at end of file diff --git a/apps/apcupsd/local/mode/timeleft.pm b/apps/apcupsd/local/mode/timeleft.pm index 4cdb2e22a..81e75805a 100644 --- a/apps/apcupsd/local/mode/timeleft.pm +++ b/apps/apcupsd/local/mode/timeleft.pm @@ -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 diff --git a/apps/apcupsd/local/plugin.pm b/apps/apcupsd/local/plugin.pm index d4f6074f0..d164592f9 100644 --- a/apps/apcupsd/local/plugin.pm +++ b/apps/apcupsd/local/plugin.pm @@ -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