StatusDataWriter: Add 'is_reachable' {host,service}status attribute.

Refs #6094
This commit is contained in:
Michael Friedrich 2014-05-10 21:21:29 +02:00
parent f5e568d3fb
commit 1e26d04bd6
1 changed files with 2 additions and 1 deletions

View File

@ -394,7 +394,8 @@ void StatusDataWriter::DumpCheckableStatusAttrs(std::ostream& fp, const Checkabl
"\t" "last_notification=" << CompatUtility::GetCheckableNotificationLastNotification(checkable) << "\n"
"\t" "next_notification=" << CompatUtility::GetCheckableNotificationNextNotification(checkable) << "\n"
"\t" "current_notification_number=" << CompatUtility::GetCheckableNotificationNotificationNumber(checkable) << "\n"
"\t" "modified_attributes=" << checkable->GetModifiedAttributes() << "\n";
"\t" "modified_attributes=" << checkable->GetModifiedAttributes() << "\n"
"\t" "is_reachable=" << CompatUtility::GetCheckableIsReachable(checkable) << "\n";
}
void StatusDataWriter::DumpServiceStatus(std::ostream& fp, const Service::Ptr& service)