icinga2/lib/icinga
Markus Frosch 11574e0bf1 Fix multi line handling for compat check results
When a multi line result is submitted via the command pipe, any multi line
output is escaped to a actual string '\n', because any external command only
can be a single line.

Example:
  [1432735140] PROCESS_SERVICE_CHECK_RESULT;host;service;3;Test1\nTest2|test=1

We need to unescape this values, just like we use to escape multi line output
for IDO and status.dat.

fixes #9324

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-06-15 17:21:51 +02:00
..
CMakeLists.txt Implement accessor functions for hosts, services, etc. 2015-01-28 14:18:27 +01:00
api.cpp Update copyright year 2015-01-22 12:00:23 +01:00
api.hpp Update copyright year 2015-01-22 12:00:23 +01:00
apievents.cpp Fix permissions for agent CheckResult messages 2015-03-30 13:50:40 +02:00
apievents.hpp Fix notify flag is ignored in ACKNOWLEDGE_*_PROBLEM commands 2015-02-07 21:39:19 +01:00
checkable-check.cpp Fix permissions for agent CheckResult messages 2015-03-30 13:50:40 +02:00
checkable-comment.cpp Update copyright year 2015-01-22 12:00:23 +01:00
checkable-dependency.cpp Update copyright year 2015-01-22 12:00:23 +01:00
checkable-downtime.cpp Trigger downtimes for NOT-OK states after OnDowntimeAdded() 2015-04-12 14:41:30 +02:00
checkable-event.cpp Update copyright year 2015-01-22 12:00:23 +01:00
checkable-flapping.cpp Update copyright year 2015-01-22 12:00:23 +01:00
checkable-notification.cpp Add missing mutex for AddNotification/RemoveNotification 2015-01-29 13:21:22 +01:00
checkable.cpp Fix failed assertion in DB IDO 2015-04-27 11:00:59 +02:00
checkable.hpp Fix uninitialized field in the Checkable class 2015-03-02 10:14:14 +01:00
checkable.ti Disable flapping detection by default 2015-02-09 14:23:09 +01:00
checkcommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
checkcommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
checkcommand.ti Update copyright year 2015-01-22 12:00:23 +01:00
checkresult.cpp Update copyright year 2015-01-22 12:00:23 +01:00
checkresult.hpp Update copyright year 2015-01-22 12:00:23 +01:00
checkresult.ti Update copyright year 2015-01-22 12:00:23 +01:00
cib.cpp Remove name and return value for stats functions 2015-02-07 22:36:17 +01:00
cib.hpp Update copyright year 2015-01-22 12:00:23 +01:00
command.cpp Fix missing config validator for command arguments 'set_if' 2015-03-20 16:15:22 +01:00
command.hpp Add macro config validator for command args, env, custom attr, perfdata templates 2015-02-11 15:32:10 +01:00
command.ti Update copyright year 2015-01-22 12:00:23 +01:00
comment.cpp Update copyright year 2015-01-22 12:00:23 +01:00
comment.hpp Update copyright year 2015-01-22 12:00:23 +01:00
comment.ti Update copyright year 2015-01-22 12:00:23 +01:00
compatutility.cpp Fix multi line handling for compat check results 2015-06-15 17:21:51 +02:00
compatutility.hpp Fix multi line handling for compat check results 2015-06-15 17:21:51 +02:00
customvarobject.cpp Move ValidateMacroString into the MacroProcessor class 2015-02-11 16:14:59 +01:00
customvarobject.hpp Add macro config validator for command args, env, custom attr, perfdata templates 2015-02-11 15:32:10 +01:00
customvarobject.ti Update copyright year 2015-01-22 12:00:23 +01:00
dependency-apply.cpp Fix incorrect variable values for apply+for 2015-03-23 15:58:19 +01:00
dependency.cpp Fix validator for dependencies 2015-03-09 08:04:18 +01:00
dependency.hpp Evaluate apply filters in the for loop 2015-01-29 12:38:25 +01:00
dependency.ti Make sure that Notification objects are activated after Host/Service objects 2015-02-25 12:43:38 +01:00
downtime.cpp Update copyright year 2015-01-22 12:00:23 +01:00
downtime.hpp Update copyright year 2015-01-22 12:00:23 +01:00
downtime.ti Update copyright year 2015-01-22 12:00:23 +01:00
eventcommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
eventcommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
eventcommand.ti Update copyright year 2015-01-22 12:00:23 +01:00
externalcommandprocessor.cpp Fix multi line handling for compat check results 2015-06-15 17:21:51 +02:00
externalcommandprocessor.hpp Implement {EN,DIS}ABLE_HOST_SVC_NOTIFICATIONS commands 2015-02-11 16:45:52 +01:00
host.cpp Make load order for objects more reliable 2015-03-23 15:58:15 +01:00
host.hpp Make load order for objects more reliable 2015-03-23 15:58:15 +01:00
host.ti Implement additional attributes for the Host class 2015-02-09 08:50:17 +01:00
hostgroup.cpp Implement the 'continue' and 'break' keywords 2015-02-19 12:57:52 +01:00
hostgroup.hpp Update copyright year 2015-01-22 12:00:23 +01:00
hostgroup.ti Update copyright year 2015-01-22 12:00:23 +01:00
i2-icinga.hpp Update copyright year 2015-01-22 12:00:23 +01:00
icinga-type.conf Add validator for time ranges in ScheduledDowntime objects 2015-03-09 08:02:12 +01:00
icingaapplication.cpp Make the argments for the stats functions const-ref 2015-02-13 11:29:15 +01:00
icingaapplication.hpp Make the argments for the stats functions const-ref 2015-02-13 11:29:15 +01:00
icingaapplication.ti Update copyright year 2015-01-22 12:00:23 +01:00
icingastatuswriter.cpp Make the argments for the stats functions const-ref 2015-02-13 11:29:15 +01:00
icingastatuswriter.hpp Make the argments for the stats functions const-ref 2015-02-13 11:29:15 +01:00
icingastatuswriter.ti Update validators for CustomVarObject 2015-02-10 08:53:15 +01:00
legacytimeperiod.cpp Improve timeperiod validation error messages 2015-03-31 08:49:55 +02:00
legacytimeperiod.hpp Update copyright year 2015-01-22 12:00:23 +01:00
macroprocessor.cpp Fix custom attributes with recursive macro function calls 2015-04-17 17:23:34 +02:00
macroprocessor.hpp Move ValidateMacroString into the MacroProcessor class 2015-02-11 16:14:59 +01:00
macroresolver.hpp Update copyright year 2015-01-22 12:00:23 +01:00
notification-apply.cpp Fix incorrect variable values for apply+for 2015-03-23 15:58:19 +01:00
notification.cpp Change log level to 'notice' for 'Attempting to send notifications' messages 2015-04-20 08:56:34 +02:00
notification.hpp Show notification state/type filter names in notice/debug log 2015-03-19 14:09:07 +01:00
notification.ti Make sure that Notification objects are activated after Host/Service objects 2015-02-25 12:43:38 +01:00
notificationcommand.cpp Update copyright year 2015-01-22 12:00:23 +01:00
notificationcommand.hpp Update copyright year 2015-01-22 12:00:23 +01:00
notificationcommand.ti Update copyright year 2015-01-22 12:00:23 +01:00
objectutils.cpp Implement the 'get_time_period' function 2015-02-23 13:56:53 +01:00
objectutils.hpp Don't use separate threads for each ApiClient object 2015-02-14 16:34:36 +01:00
perfdatavalue.cpp Implement the parse_performance_data function 2015-03-19 13:38:24 +01:00
perfdatavalue.hpp Update PerfdataValue::Parse to ignore invalid warn, crit, min, and max values 2015-03-02 13:52:41 +01:00
perfdatavalue.ti Update copyright year 2015-01-22 12:00:23 +01:00
pluginutility.cpp Fix incorrect assignment in PluginUtility::ExecuteCommand 2015-03-02 10:14:15 +01:00
pluginutility.hpp Update copyright year 2015-01-22 12:00:23 +01:00
scheduleddowntime-apply.cpp Fix incorrect variable values for apply+for 2015-03-23 15:58:19 +01:00
scheduleddowntime.cpp Improve timeperiod validation error messages 2015-03-31 08:49:55 +02:00
scheduleddowntime.hpp Add validator for time ranges in ScheduledDowntime objects 2015-03-09 08:02:12 +01:00
scheduleddowntime.ti Make sure that Notification objects are activated after Host/Service objects 2015-02-25 12:43:38 +01:00
service-apply.cpp Fix incorrect variable values for apply+for 2015-03-23 15:58:19 +01:00
service.cpp Make load order for objects more reliable 2015-03-23 15:58:15 +01:00
service.hpp Make load order for objects more reliable 2015-03-23 15:58:15 +01:00
service.ti Make sure that Notification objects are activated after Host/Service objects 2015-02-25 12:43:38 +01:00
servicegroup.cpp Implement the 'continue' and 'break' keywords 2015-02-19 12:57:52 +01:00
servicegroup.hpp Update copyright year 2015-01-22 12:00:23 +01:00
servicegroup.ti Update copyright year 2015-01-22 12:00:23 +01:00
timeperiod.cpp Improve timeperiod validation error messages 2015-03-31 08:49:55 +02:00
timeperiod.hpp Implement the 'is_inside' attribute for the TimePeriod type 2015-02-23 14:08:06 +01:00
timeperiod.ti Implement the 'is_inside' attribute for the TimePeriod type 2015-02-23 14:08:06 +01:00
user.cpp Update copyright year 2015-01-22 12:00:23 +01:00
user.hpp Update copyright year 2015-01-22 12:00:23 +01:00
user.ti Update copyright year 2015-01-22 12:00:23 +01:00
usergroup.cpp Implement the 'continue' and 'break' keywords 2015-02-19 12:57:52 +01:00
usergroup.hpp Update copyright year 2015-01-22 12:00:23 +01:00
usergroup.ti Update copyright year 2015-01-22 12:00:23 +01:00