2019-02-25 14:48:22 +01:00
|
|
|
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
2016-08-08 12:51:20 +02:00
|
|
|
|
|
|
|
#ifndef EXCEPTIONCHECKTASK_H
|
|
|
|
#define EXCEPTIONCHECKTASK_H
|
|
|
|
|
|
|
|
#include "icinga/service.hpp"
|
|
|
|
#include "base/dictionary.hpp"
|
|
|
|
|
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Test class for additional check types. Implements the "exception" check type.
|
|
|
|
*
|
|
|
|
* @ingroup methods
|
|
|
|
*/
|
|
|
|
class ExceptionCheckTask
|
|
|
|
{
|
|
|
|
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);
|
2016-08-08 12:51:20 +02:00
|
|
|
|
|
|
|
private:
|
2018-01-04 04:25:35 +01:00
|
|
|
ExceptionCheckTask();
|
2016-08-08 12:51:20 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* EXCEPTIONCHECKTASK_H */
|