From 50d506dfd7a4a624a32d5182f0f3a5008e2e4ec6 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 12 Sep 2013 10:31:41 +0200 Subject: [PATCH] Add check output for NullCheck. --- lib/icinga/nullchecktask.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/icinga/nullchecktask.cpp b/lib/icinga/nullchecktask.cpp index 2450c20de..55ee2b29a 100644 --- a/lib/icinga/nullchecktask.cpp +++ b/lib/icinga/nullchecktask.cpp @@ -29,6 +29,7 @@ REGISTER_SCRIPTFUNCTION(NullCheck, &NullCheckTask::ScriptFunc); Dictionary::Ptr NullCheckTask::ScriptFunc(const Service::Ptr&) { Dictionary::Ptr cr = boost::make_shared(); + cr->Set("output", "This is a test."); cr->Set("state", StateOK); return cr;