mirror of https://github.com/Icinga/icinga2.git
Add check output for NullCheck.
This commit is contained in:
parent
66d00d25bc
commit
50d506dfd7
|
@ -29,6 +29,7 @@ REGISTER_SCRIPTFUNCTION(NullCheck, &NullCheckTask::ScriptFunc);
|
|||
Dictionary::Ptr NullCheckTask::ScriptFunc(const Service::Ptr&)
|
||||
{
|
||||
Dictionary::Ptr cr = boost::make_shared<Dictionary>();
|
||||
cr->Set("output", "This is a test.");
|
||||
cr->Set("state", StateOK);
|
||||
|
||||
return cr;
|
||||
|
|
Loading…
Reference in New Issue