icinga2/lib/perfdata/influxdbchecktask.hpp
2021-12-10 16:48:04 +01:00

28 lines
521 B
C++

/* Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ */
#ifndef INFLUXDBCHECKTASK_H
#define INFLUXDBCHECKTASK_H
#include "perfdata/influxdbcommonwriter.hpp"
#include "icinga/checkable.hpp"
namespace icinga {
/**
* InfluDBWriter check type.
*
* @ingroup perfdata
*/
class InfluxdbCheckTask {
public:
static void ScriptFunc(const Checkable::Ptr& checkable, const CheckResult::Ptr& cr,
const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
private:
InfluxdbCheckTask();
};
}
#endif /* INFLUXDBCHECKTASK_H */