Rename the PluginsContribDir constant to PluginContribDir

fixes #8509
This commit is contained in:
Gunnar Beutner 2015-02-23 15:35:12 +01:00
parent 6dd33fa751
commit d6812a7703
6 changed files with 6 additions and 6 deletions

View File

@ -928,7 +928,7 @@ snmp_timeout | **Optional.** The command timeout in seconds. Defaults
The Plugins contrib collects various contributed command definitions.
These check commands assume that the global constant named `PluginsContribDir`
These check commands assume that the global constant named `PluginContribDir`
is set to the path where the user installs custom plugins and can be enabled by uncommenting the corresponding line in icinga2.conf.
## <a id="plugins-contrib-ipmi"></a> IPMI Devices

View File

@ -15,7 +15,7 @@ const ManubulonPluginDir = "@ICINGA2_PLUGINDIR@"
/* The directory which you use to store additional plugins which ITL provides user contributed command definitions for.
* Check the documentation, chapter "Plugins Contribution", for details.
*/
const PluginsContribDir = "@ICINGA2_PLUGINDIR@"
const PluginContribDir = "@ICINGA2_PLUGINDIR@"
/* Our local instance name. By default this is the server's hostname as returned by `hostname --fqdn`.
* This should be the common name from the API certificate.

View File

@ -21,7 +21,7 @@ object CheckCommand "ipmi-sensor" {
import "plugin-check-command"
import "ipv4-or-ipv6"
command = [ PluginsContribDir + "/check_ipmi_sensor" ]
command = [ PluginContribDir + "/check_ipmi_sensor" ]
arguments = {
"-H" = {

View File

@ -20,7 +20,7 @@
object CheckCommand "interfacetable" {
import "plugin-check-command"
command = [ PluginsContribDir + "/check_interface_table_v3t" ]
command = [ PluginContribDir + "/check_interface_table_v3t" ]
arguments = {
"-H" = {

View File

@ -20,7 +20,7 @@
object CheckCommand "mem" {
import "plugin-check-command"
command = [ PluginsContribDir + "/check_mem.pl" ]
command = [ PluginContribDir + "/check_mem.pl" ]
arguments = {
"-u" = {

View File

@ -20,7 +20,7 @@
object CheckCommand "esxi_hardware" {
import "plugin-check-command"
command = [ PluginsContribDir + "/check_esxi_hardware.py" ]
command = [ PluginContribDir + "/check_esxi_hardware.py" ]
arguments = {
"-H" = {