mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-21 04:34:43 +02:00
Bugfixes.
This commit is contained in:
parent
ac7d8688a8
commit
d52afa080e
@ -69,7 +69,6 @@ int CheckerComponent::CheckTimerHandler(const TimerEventArgs& ea)
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
|
|
||||||
Service service = m_Services.top();
|
Service service = m_Services.top();
|
||||||
|
|
||||||
if (service.GetNextCheck() > now)
|
if (service.GetNextCheck() > now)
|
||||||
|
@ -24,6 +24,7 @@ icinga_LDADD = \
|
|||||||
-dlopen ${top_builddir}/components/checker/checker.la \
|
-dlopen ${top_builddir}/components/checker/checker.la \
|
||||||
-dlopen ${top_builddir}/components/configfile/configfile.la \
|
-dlopen ${top_builddir}/components/configfile/configfile.la \
|
||||||
-dlopen ${top_builddir}/components/configrpc/configrpc.la \
|
-dlopen ${top_builddir}/components/configrpc/configrpc.la \
|
||||||
|
-dlopen ${top_builddir}/components/delegation/delegation.la \
|
||||||
-dlopen ${top_builddir}/components/demo/demo.la \
|
-dlopen ${top_builddir}/components/demo/demo.la \
|
||||||
-dlopen ${top_builddir}/components/discovery/discovery.la
|
-dlopen ${top_builddir}/components/discovery/discovery.la
|
||||||
|
|
||||||
|
@ -13,6 +13,9 @@ local object component "configrpc" {
|
|||||||
local object component "delegation" {
|
local object component "delegation" {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
local object component "checker" {
|
||||||
|
}
|
||||||
|
|
||||||
local object component "discovery" {
|
local object component "discovery" {
|
||||||
broker = 1
|
broker = 1
|
||||||
}
|
}
|
||||||
@ -44,9 +47,16 @@ abstract object service "nagios-service" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
abstract object service "ping" inherits "nagios-service" {
|
abstract object service "ping" inherits "nagios-service" {
|
||||||
check_type = "nagios",
|
check_command = "$plugindir$/check_ping -H $address$ -c $crta$,$cpl$% -w $wrta$,$wpl$%",
|
||||||
check_command = "$plugindir$/check_ping -H $address$",
|
check_interval = 30,
|
||||||
check_interval = 30
|
|
||||||
|
macros += {
|
||||||
|
crta = 100,
|
||||||
|
wrta = 50,
|
||||||
|
|
||||||
|
cpl = 25,
|
||||||
|
wpl = 5
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
object service "localhost-ping" inherits "ping" {
|
object service "localhost-ping" inherits "ping" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user