icinga2/lib/methods/clusterchecktask.hpp

30 lines
543 B
C++
Raw Permalink Normal View History

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