icinga2/lib/checker/checkercomponent.ti

28 lines
447 B
Plaintext

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
#include "base/configobject.hpp"
library checker;
namespace icinga
{
class CheckerComponent : ConfigObject
{
activation_priority 300;
[config, no_storage] int concurrent_checks {
get {{{
return Application::GetMaxConcurrentChecks();
}}}
set {{{
Application::SetMaxConcurrentChecks(value);
}}}
default {{{
return Application::GetDefaultMaxConcurrentChecks();
}}}
};
};
}