On Thu, 30 Apr 2015, Klaus Muth wrote:
> You fucked up the syntax. icinga2 config does not like newline in strings.
> It says directly under "critical/config: Error: Unterminated string literal
> Location:"
>
> description = "Response time to result in warning status
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> which means there is some error in this line. The error is: you string is not
> terminated, meaning there is no " ending it.
>
> If you have to break up strings, you may do it like
>
> description = ("Response time to result in warning status "+
> "(seconds)")
A multi-line string literal would be nicer:
description = {{{ Response time to result in warning status
(seconds)
}}}
Alex
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users