1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
3 #ifndef PLUGINCHECKTASK_H
4 #define PLUGINCHECKTASK_H
6 #include "methods/i2-methods.hpp"
7 #include "base/process.hpp"
8 #include "icinga/service.hpp"
14 * Implements service checks based on external plugins.
21 static void ScriptFunc(const Checkable::Ptr& service, const CheckResult::Ptr& cr,
22 const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
27 static void ProcessFinishedHandler(const Checkable::Ptr& service,
28 const CheckResult::Ptr& cr, const Value& commandLine, const ProcessResult& pr);
33 #endif /* PLUGINCHECKTASK_H */