I have a nagios plugin which puts out JSON in it's mutliline output. For example:
Thresholds: {
"crit": [
"and",
[ "<", "blah", [ "*", "blah_avg", 0.5 ] ],
[ ">", "hour_of_day", 7 ]
]
}
Renders in the check_mk UI as
Thresholds: {
"crit": [
"and",
[ "<", "blah", [ "*", "blah_avg", 0.5 ] ],
[ ">", "hour_of_day", 7 ]
]
}
I've got similar problems with sending out emails, but for now I'd like to at least fix it here. Any suggestions? At this point I'm considering replacing the initial spaces with underscores.