[icinga-checkins] icinga.org: icinga2/master: Removed some more native:: prefixes (oops).
git at icinga.org
git at icinga.org
Fri Feb 15 12:49:25 CET 2013
Module: icinga2
Branch: master
Commit: d13017ef60d5cd227dffc05b6a6b8f47089fdaa2
URL: https://git.icinga.org/?p=icinga2.git;a=commit;h=d13017ef60d5cd227dffc05b6a6b8f47089fdaa2
Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date: Fri Feb 15 12:49:14 2013 +0100
Removed some more native:: prefixes (oops).
---
contrib/config/icinga2_demo0_basic.conf | 2 +-
contrib/config/icinga2_demo1_hostcheck.conf | 2 +-
contrib/config/icinga2_demo2_hostgroup.conf | 2 +-
contrib/config/icinga2_demo3_abstract.conf | 2 +-
contrib/config/icinga2_demo4_distm.conf | 2 +-
contrib/config/icinga2_demo5_distm_bench.conf | 2 +-
docs/icinga2-config.txt | 10 +++++-----
etc/icinga2/icinga2.conf.win32 | 2 +-
lib/icinga/pluginchecktask.cpp | 2 +-
9 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/contrib/config/icinga2_demo0_basic.conf b/contrib/config/icinga2_demo0_basic.conf
index e553ece..d87dc04 100644
--- a/contrib/config/icinga2_demo0_basic.conf
+++ b/contrib/config/icinga2_demo0_basic.conf
@@ -72,7 +72,7 @@ local object Component "compatido" {
*/
abstract object Service "icinga-service" {
methods = {
- check = "native::PluginCheck"
+ check = "PluginCheck"
}
}
diff --git a/contrib/config/icinga2_demo1_hostcheck.conf b/contrib/config/icinga2_demo1_hostcheck.conf
index 63be243..d2c46f3 100644
--- a/contrib/config/icinga2_demo1_hostcheck.conf
+++ b/contrib/config/icinga2_demo1_hostcheck.conf
@@ -72,7 +72,7 @@ local object Component "compatido" {
*/
abstract object Service "icinga-service" {
methods = {
- check = "native::PluginCheck"
+ check = "PluginCheck"
}
}
diff --git a/contrib/config/icinga2_demo2_hostgroup.conf b/contrib/config/icinga2_demo2_hostgroup.conf
index 43aa233..561656d 100644
--- a/contrib/config/icinga2_demo2_hostgroup.conf
+++ b/contrib/config/icinga2_demo2_hostgroup.conf
@@ -72,7 +72,7 @@ local object Component "compatido" {
*/
abstract object Service "icinga-service" {
methods = {
- check = "native::PluginCheck"
+ check = "PluginCheck"
}
}
diff --git a/contrib/config/icinga2_demo3_abstract.conf b/contrib/config/icinga2_demo3_abstract.conf
index 8277c2b..ac7e0f8 100644
--- a/contrib/config/icinga2_demo3_abstract.conf
+++ b/contrib/config/icinga2_demo3_abstract.conf
@@ -72,7 +72,7 @@ local object Component "compatido" {
*/
abstract object Service "icinga-service" {
methods = {
- check = "native::PluginCheck"
+ check = "PluginCheck"
}
}
diff --git a/contrib/config/icinga2_demo4_distm.conf b/contrib/config/icinga2_demo4_distm.conf
index 5a1efc0..e5796df 100644
--- a/contrib/config/icinga2_demo4_distm.conf
+++ b/contrib/config/icinga2_demo4_distm.conf
@@ -78,7 +78,7 @@ local object Component "compatido" {
*/
abstract object Service "icinga-service" {
methods = {
- check = "native::PluginCheck"
+ check = "PluginCheck"
}
}
diff --git a/contrib/config/icinga2_demo5_distm_bench.conf b/contrib/config/icinga2_demo5_distm_bench.conf
index 64e8de9..0bd22f1 100644
--- a/contrib/config/icinga2_demo5_distm_bench.conf
+++ b/contrib/config/icinga2_demo5_distm_bench.conf
@@ -78,7 +78,7 @@ local object Component "compatido" {
*/
abstract object Service "icinga-service" {
methods = {
- check = "native::PluginCheck"
+ check = "PluginCheck"
}
}
diff --git a/docs/icinga2-config.txt b/docs/icinga2-config.txt
index d431aad..318df23 100644
--- a/docs/icinga2-config.txt
+++ b/docs/icinga2-config.txt
@@ -359,7 +359,7 @@ type Pizza {
%attribute number "radius",
%attribute dictionary "ingredients" {
- %validator "native::ValidateIngredients",
+ %validator "ValidateIngredients",
%attribute string "*",
@@ -381,7 +381,7 @@ dictionary.
* Elements in the ingredients dictionary can be either a string or a dictionary.
* If they're a dictionary they may contain attributes "quantity" (of type
number) and "name" (of type string).
-* The script function "native::ValidateIngredients" is run to perform further
+* The script function "ValidateIngredients" is run to perform further
validation of the ingredients dictionary.
* Pizza objects may contain attribute matching the pattern "custom::*" of any
type.
@@ -614,7 +614,7 @@ object Service "localhost-uptime" {
alias = "localhost Uptime",
methods = {
- check = "native::PluginCheck"
+ check = "PluginCheck"
},
check_command = "$plugindir$/check_snmp -H $address$ -C $community$ -o $oid$",
@@ -649,7 +649,7 @@ Attribute: methods - check
^^^^^^^^^^^^^^^^^^^^^^^^^^
The check type of the service. For now only external check plugins are
-supported ("native::PluginCheck").
+supported ("PluginCheck").
Attribute: check_command
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -869,7 +869,7 @@ local object Component "delegation" {
abstract object Service "icinga-service" {
methods = {
- check = "native::PluginCheck"
+ check = "PluginCheck"
},
macros = {
diff --git a/etc/icinga2/icinga2.conf.win32 b/etc/icinga2/icinga2.conf.win32
index 72ef751..be79b1f 100644
--- a/etc/icinga2/icinga2.conf.win32
+++ b/etc/icinga2/icinga2.conf.win32
@@ -71,7 +71,7 @@ local object Component "compatido" {
*/
abstract object Service "icinga-service" {
methods = {
- check = "native::PluginCheck"
+ check = "PluginCheck"
}
}
diff --git a/lib/icinga/pluginchecktask.cpp b/lib/icinga/pluginchecktask.cpp
index 62ed38d..f88cfce 100644
--- a/lib/icinga/pluginchecktask.cpp
+++ b/lib/icinga/pluginchecktask.cpp
@@ -21,7 +21,7 @@
using namespace icinga;
-REGISTER_SCRIPTFUNCTION("native::PluginCheck", &PluginCheckTask::ScriptFunc);
+REGISTER_SCRIPTFUNCTION("PluginCheck", &PluginCheckTask::ScriptFunc);
PluginCheckTask::PluginCheckTask(const ScriptTask::Ptr& task, const Process::Ptr& process)
: m_Task(task), m_Process(process)
More information about the icinga-checkins
mailing list