mirror of https://github.com/Icinga/icinga2.git
parent
42f664e4c6
commit
3246ee602b
|
@ -20,7 +20,10 @@ mkclass_target(endpoint.ti endpoint.th)
|
||||||
|
|
||||||
mkembedconfig_target(cluster-type.conf cluster-type.cpp)
|
mkembedconfig_target(cluster-type.conf cluster-type.cpp)
|
||||||
|
|
||||||
add_library(cluster SHARED clusterlistener.cpp clusterlistener.th endpoint.cpp endpoint.th jsonrpc.cpp cluster-type.cpp)
|
add_library(cluster SHARED
|
||||||
|
clusterchecktask.cpp clusterlistener.cpp clusterlistener.th
|
||||||
|
endpoint.cpp endpoint.th jsonrpc.cpp cluster-type.cpp
|
||||||
|
)
|
||||||
|
|
||||||
target_link_libraries(cluster ${Boost_LIBRARIES} base config icinga)
|
target_link_libraries(cluster ${Boost_LIBRARIES} base config icinga)
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
#include "methods/clusterchecktask.h"
|
#include "cluster/clusterchecktask.h"
|
||||||
#include "cluster/endpoint.h"
|
#include "cluster/endpoint.h"
|
||||||
#include "cluster/clusterlistener.h"
|
#include "cluster/clusterlistener.h"
|
||||||
#include "icinga/cib.h"
|
#include "icinga/cib.h"
|
|
@ -20,7 +20,6 @@
|
||||||
#ifndef CLUSTERCHECKTASK_H
|
#ifndef CLUSTERCHECKTASK_H
|
||||||
#define CLUSTERCHECKTASK_H
|
#define CLUSTERCHECKTASK_H
|
||||||
|
|
||||||
#include "methods/i2-methods.h"
|
|
||||||
#include "icinga/service.h"
|
#include "icinga/service.h"
|
||||||
|
|
||||||
namespace icinga
|
namespace icinga
|
||||||
|
@ -31,7 +30,7 @@ namespace icinga
|
||||||
*
|
*
|
||||||
* @ingroup methods
|
* @ingroup methods
|
||||||
*/
|
*/
|
||||||
class I2_METHODS_API ClusterCheckTask
|
class ClusterCheckTask
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static CheckResult::Ptr ScriptFunc(const Service::Ptr& service);
|
static CheckResult::Ptr ScriptFunc(const Service::Ptr& service);
|
|
@ -16,12 +16,12 @@
|
||||||
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
|
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
|
||||||
add_library(methods SHARED
|
add_library(methods SHARED
|
||||||
clusterchecktask.cpp icingachecktask.cpp nullchecktask.cpp nulleventtask.cpp
|
icingachecktask.cpp nullchecktask.cpp nulleventtask.cpp
|
||||||
pluginchecktask.cpp plugineventtask.cpp pluginnotificationtask.cpp
|
pluginchecktask.cpp plugineventtask.cpp pluginnotificationtask.cpp
|
||||||
randomchecktask.cpp timeperiodtask.cpp
|
randomchecktask.cpp timeperiodtask.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(methods ${Boost_LIBRARIES} base config icinga cluster)
|
target_link_libraries(methods ${Boost_LIBRARIES} base config icinga)
|
||||||
|
|
||||||
set_target_properties (
|
set_target_properties (
|
||||||
methods PROPERTIES
|
methods PROPERTIES
|
||||||
|
|
Loading…
Reference in New Issue