mirror of https://github.com/Icinga/icinga2.git
23 lines
350 B
C++
23 lines
350 B
C++
#ifndef NAGIOSCHECKTASK_H
|
|
#define NAGIOSCHECKTASK_H
|
|
|
|
namespace icinga
|
|
{
|
|
|
|
class I2_ICINGA_API NagiosCheckTask : public CheckTask
|
|
{
|
|
public:
|
|
NagiosCheckTask(const Service& service);
|
|
|
|
virtual CheckResult Execute(void) const;
|
|
|
|
static CheckTask::Ptr CreateTask(const Service& service);
|
|
|
|
private:
|
|
string m_Command;
|
|
};
|
|
|
|
}
|
|
|
|
#endif /* NAGIOSCHECKTASK_H */
|