icinga2/lib/methods/clusterchecktask.hpp

30 lines
511 B
C++

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
#ifndef CLUSTERCHECKTASK_H
#define CLUSTERCHECKTASK_H
#include "icinga/service.hpp"
namespace icinga
{
/**
* Cluster check type.
*
* @ingroup methods
*/
class ClusterCheckTask
{
public:
static void ScriptFunc(const Checkable::Ptr& service, const CheckResult::Ptr& cr,
const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
private:
ClusterCheckTask();
static String FormatArray(const Array::Ptr& arr);
};
}
#endif /* CLUSTERCHECKTASK_H */