mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
NullCheckTask should return StateOK.
This commit is contained in:
parent
aed9b578f1
commit
046ea13cc8
@ -45,7 +45,7 @@ Dictionary::Ptr NullCheckTask::ScriptFunc(const Service::Ptr&)
|
||||
Dictionary::Ptr cr = boost::make_shared<Dictionary>();
|
||||
cr->Set("output", output);
|
||||
cr->Set("performance_data_raw", perfdata);
|
||||
cr->Set("state", static_cast<ServiceState>(Utility::Random() % 4));
|
||||
cr->Set("state", StateOK);
|
||||
|
||||
return cr;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user