diff --git a/cib/service.cpp b/cib/service.cpp index 95b0ffd92..e8d6c74fd 100644 --- a/cib/service.cpp +++ b/cib/service.cpp @@ -23,7 +23,7 @@ using namespace icinga; REGISTER_CLASS(Service); -const int Service::DefaultMaxAttempts = 3; +const int Service::DefaultMaxCheckAttempts = 3; const int Service::DefaultCheckInterval = 5 * 60; const int Service::MinCheckInterval = 15; const int Service::CheckIntervalDivisor = 5; diff --git a/cib/service.h b/cib/service.h index 56dde72fe..406719b12 100644 --- a/cib/service.h +++ b/cib/service.h @@ -52,7 +52,7 @@ public: static bool Exists(const String& name); static Service::Ptr GetByName(const String& name); - static const int DefaultMaxAttempts; + static const int DefaultMaxCheckAttempts; static const int DefaultCheckInterval; static const int MinCheckInterval; static const int CheckIntervalDivisor;