%attribute number "radius",
%attribute dictionary "ingredients" {
- %validator "native::ValidateIngredients",
+ %validator "ValidateIngredients",
%attribute string "*",
* 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.
alias = "localhost Uptime",
methods = {
- check = "native::PluginCheck"
+ check = "PluginCheck"
},
check_command = "$plugindir$/check_snmp -H $address$ -C $community$ -o $oid$",
^^^^^^^^^^^^^^^^^^^^^^^^^^
The check type of the service. For now only external check plugins are
-supported ("native::PluginCheck").
+supported ("PluginCheck").
Attribute: check_command
^^^^^^^^^^^^^^^^^^^^^^^^
abstract object Service "icinga-service" {
methods = {
- check = "native::PluginCheck"
+ check = "PluginCheck"
},
macros = {
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)