icinga2/lib/methods/randomchecktask.hpp

30 lines
539 B
C++

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
#ifndef RANDOMCHECKTASK_H
#define RANDOMCHECKTASK_H
#include "icinga/service.hpp"
#include "base/dictionary.hpp"
namespace icinga
{
/**
* Test class for additional check types. Implements the "null" check type.
*
* @ingroup methods
*/
class RandomCheckTask
{
public:
static void ScriptFunc(const Checkable::Ptr& service, const CheckResult::Ptr& cr,
const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
private:
RandomCheckTask();
};
}
#endif /* RANDOMCHECKTASK_H */