Module: check_mk
Branch: master
Commit: 62e20c5f73bd7f7de06f990319ff7d240a0c3988
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=62e20c5f73bd7f…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Feb 18 16:32:22 2019 +0100
Comments only.
Change-Id: I9f41b76380c3bf1e5bfd4bf109ba63c8ada1054e
---
livestatus/src/LogEntry.cc | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/livestatus/src/LogEntry.cc b/livestatus/src/LogEntry.cc
index 204882e..13999f2 100644
--- a/livestatus/src/LogEntry.cc
+++ b/livestatus/src/LogEntry.cc
@@ -181,17 +181,20 @@ std::vector<LogEntry::LogDef> LogEntry::log_definitions{
{Param::HostName, Param::ServiceDescription, Param::StateType,
Param::Comment}},
////////////////
+ // NOTE: We ignore the trailing name/from/to fields.
LogDef{"TIMEPERIOD TRANSITION",
Class::state,
LogEntryKind::timeperiod_transition,
{}},
////////////////
+ // NOTE: We ignore the trailing author/comment fields.
LogDef{"HOST NOTIFICATION",
Class::hs_notification,
LogEntryKind::none,
{Param::ContactName, Param::HostName, Param::StateType,
Param::CommandName, Param::PluginOutput}},
////////////////
+ // NOTE: We ignore the trailing author/comment fields.
LogDef{"SERVICE NOTIFICATION",
Class::hs_notification,
LogEntryKind::none,
@@ -245,17 +248,20 @@ std::vector<LogEntry::LogDef> LogEntry::log_definitions{
{Param::HostName, Param::ServiceDescription, Param::CommandName,
Param::ServiceState, Param::PluginOutput}},
////////////////
+ // NOTE: Nobody seems to write such lines?!
LogDef{"PASSIVE SERVICE CHECK",
Class::passivecheck,
LogEntryKind::none,
{Param::HostName, Param::ServiceDescription, Param::State,
Param::PluginOutput}},
////////////////
+ // NOTE: Nobody seems to write such lines?!
LogDef{"PASSIVE HOST CHECK",
Class::passivecheck,
LogEntryKind::none,
{Param::HostName, Param::State, Param::PluginOutput}},
////////////////
+ // NOTE: We ignore the trailing command field.
LogDef{"EXTERNAL COMMAND", Class::ext_command, LogEntryKind::none, {}}};
// A bit verbose, but we avoid unnecessary string copies below.