icinga2/lib/methods/clusterchecktask.hpp

30 lines
511 B
C++
Raw Normal View History

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2014-02-07 14:03:53 +01:00
#ifndef CLUSTERCHECKTASK_H
#define CLUSTERCHECKTASK_H
2014-05-25 16:23:35 +02:00
#include "icinga/service.hpp"
2014-02-07 14:03:53 +01:00
namespace icinga
{
/**
* Cluster check type.
*
* @ingroup methods
*/
class ClusterCheckTask
2014-02-07 14:03:53 +01:00
{
public:
static void ScriptFunc(const Checkable::Ptr& service, const CheckResult::Ptr& cr,
const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
2014-02-07 14:03:53 +01:00
private:
ClusterCheckTask();
2014-08-17 17:57:20 +02:00
static String FormatArray(const Array::Ptr& arr);
2014-02-07 14:03:53 +01:00
};
}
#endif /* CLUSTERCHECKTASK_H */