status.dat/objects.cache: check_interval/retry_interval should be in minutes.

This commit is contained in:
Gunnar Beutner 2013-03-09 00:00:43 +01:00
parent f771ede8f1
commit d7a995e752
1 changed files with 2 additions and 2 deletions

View File

@ -301,8 +301,8 @@ void CompatComponent::DumpHostObject(ostream& fp, const Host::Ptr& host)
if (hc) { if (hc) {
ObjectLock olock(hc); ObjectLock olock(hc);
fp << "\t" << "check_interval" << "\t" << hc->GetCheckInterval() << "\n" fp << "\t" << "check_interval" << "\t" << hc->GetCheckInterval() / 60.0 << "\n"
<< "\t" << "retry_interval" << "\t" << hc->GetRetryInterval() << "\n" << "\t" << "retry_interval" << "\t" << hc->GetRetryInterval() / 60.0 << "\n"
<< "\t" << "max_check_attempts" << "\t" << hc->GetMaxCheckAttempts() << "\n" << "\t" << "max_check_attempts" << "\t" << hc->GetMaxCheckAttempts() << "\n"
<< "\t" << "active_checks_enabled" << "\t" << (hc->GetEnableActiveChecks() ? 1 : 0) << "\n" << "\t" << "active_checks_enabled" << "\t" << (hc->GetEnableActiveChecks() ? 1 : 0) << "\n"
<< "\t" << "passive_checks_enabled" << "\t" << (hc->GetEnablePassiveChecks() ? 1 : 0) << "\n" << "\t" << "passive_checks_enabled" << "\t" << (hc->GetEnablePassiveChecks() ? 1 : 0) << "\n"