summaryrefslogtreecommitdiffstats
path: root/lib/methods/clusterchecktask.hpp
blob: 16ee8a53c804024bad0035e1a391ca980d35b8da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* 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 */