Module: check_mk
Branch: master
Commit: 5af1dc409060b57360b3674d8067da712cbe0062
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5af1dc409060b5…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri Jun 10 09:33:38 2016 +0200
Unbreak check_mkevents by using the right column separator.
---
doc/treasures/active_checks/check_mkevents.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/treasures/active_checks/check_mkevents.cc
b/doc/treasures/active_checks/check_mkevents.cc
index 6506a84..0309d74 100644
--- a/doc/treasures/active_checks/check_mkevents.cc
+++ b/doc/treasures/active_checks/check_mkevents.cc
@@ -265,7 +265,7 @@ int main(int argc, char** argv)
int idx_event_text = -1;
int current_index = 0;
vector<string> headers;
- while (getline(linestream, token, '\x02')) {
+ while (getline(linestream, token, '\t')) {
if (!strcmp(token.c_str(), "event_phase"))
idx_event_phase = current_index;
else if (!strcmp(token.c_str(), "event_state"))
@@ -293,7 +293,7 @@ int main(int argc, char** argv)
linestream << line;
vector<string> data_line;
bool has_data = false;
- while (getline(linestream, token, '\x02')) {
+ while (getline(linestream, token, '\t')) {
has_data = true;
data_line.push_back(token);
}