From 0edd14559c299a5b7b34d2d4cf31079a2cefc1e8 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 1 Sep 2014 15:18:40 +0200 Subject: [PATCH] monitoring/commands: Add (ENABLE|DISABLE)_PASSIVE_SERVICE_CHECKS commands `TogglePassiveServiceChecks' is the command object for enabling/disabling passive service checks on an Icinga instance. refs #6593 --- .../Instance/TogglePassiveServiceChecks.php | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 modules/monitoring/library/Monitoring/Command/Instance/TogglePassiveServiceChecks.php diff --git a/modules/monitoring/library/Monitoring/Command/Instance/TogglePassiveServiceChecks.php b/modules/monitoring/library/Monitoring/Command/Instance/TogglePassiveServiceChecks.php new file mode 100644 index 000000000..391b372c6 --- /dev/null +++ b/modules/monitoring/library/Monitoring/Command/Instance/TogglePassiveServiceChecks.php @@ -0,0 +1,22 @@ +enable === true ? 'ENABLE_PASSIVE_SVC_CHECKS' : 'DISABLE_PASSIVE_SVC_CHECKS'; + } +}