2019-02-25 14:48:22 +01:00
|
|
|
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
2015-03-12 09:39:53 +01:00
|
|
|
|
|
|
|
#ifndef IDOCHECKTASK_H
|
|
|
|
#define IDOCHECKTASK_H
|
|
|
|
|
|
|
|
#include "db_ido/dbconnection.hpp"
|
|
|
|
#include "icinga/checkable.hpp"
|
|
|
|
|
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* IDO check type.
|
|
|
|
*
|
|
|
|
* @ingroup db_ido
|
|
|
|
*/
|
|
|
|
class IdoCheckTask
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static void ScriptFunc(const Checkable::Ptr& service, const CheckResult::Ptr& cr,
|
2017-12-19 15:50:05 +01:00
|
|
|
const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
|
2015-03-12 09:39:53 +01:00
|
|
|
|
|
|
|
private:
|
2018-01-04 04:25:35 +01:00
|
|
|
IdoCheckTask();
|
2015-03-12 09:39:53 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* IDOCHECKTASK_H */
|