Ah. Good to know. Am 30.04.2015 um 14:46 schrieb Alexander Wirt: > 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 > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users >
Freundliche Grüße -- Klaus Muth HAGOS eG Industriestr. 62 fon: (+49) 711 78805-7086 EDV-Programmierung 70565 Stuttgart fax: (+49) 711 78805-957035 http://www.hagos.de Germany mailto:m...@hagos.de HAGOS Verbund deutscher Kachelofen- und Luftheizungsbauerbetriebe eG Sitz: Stuttgart Rechtsform: Genossenschaft Registergericht: Stuttgart GnR 77 Vorstände: Guido Eichel, Ralf Tigges Aufsichtsratsvorsitzender: Thomas Müller USt.-ID-Nr.: DE 147799748 _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users