mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
parent
e32f97c07a
commit
6dd6c605d4
@ -17,6 +17,8 @@
|
|||||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
|
library "methods"
|
||||||
|
|
||||||
template CheckCommand "plugin-check-command" {
|
template CheckCommand "plugin-check-command" {
|
||||||
methods = {
|
methods = {
|
||||||
execute = "PluginCheck"
|
execute = "PluginCheck"
|
||||||
|
@ -38,8 +38,6 @@ INITIALIZE_ONCE(IcingaApplication, &IcingaApplication::StaticInitialize);
|
|||||||
|
|
||||||
void IcingaApplication::StaticInitialize(void)
|
void IcingaApplication::StaticInitialize(void)
|
||||||
{
|
{
|
||||||
(void) Utility::LoadExtensionLibrary("methods");
|
|
||||||
|
|
||||||
ScriptVariable::Set("IcingaEnableNotifications", true);
|
ScriptVariable::Set("IcingaEnableNotifications", true);
|
||||||
ScriptVariable::Set("IcingaEnableEventHandlers", true);
|
ScriptVariable::Set("IcingaEnableEventHandlers", true);
|
||||||
ScriptVariable::Set("IcingaEnableFlapping", true);
|
ScriptVariable::Set("IcingaEnableFlapping", true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user