In `mk_logwatch`, I saw `outputtxt += "%s%s %s%s\n" % (color, level, line[:-1], tty_normal)`? Why the output text is a kind of text concatenation? How does nagios read it? Can it be a json?
In
mk_logwatch, I sawoutputtxt += "%s%s %s%s\n" % (color, level, line[:-1], tty_normal)?Why the output text is a kind of text concatenation? How does nagios read it? Can it be a json?