Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- All steps are clearly complete, but after I write service template to templates.conf and apply statement to services.conf, I get Syntax error
- Apr 18 10:18:14 xxx icinga2[11975]: [2016-04-18 10:18:14 +0000] critical/config: Error: syntax error, unexpected $end, expecting '{'
- Apr 18 10:18:14 xxx icinga2[11975]: Location: in /etc/icinga2/conf.d/services.conf: 116:15-116:15 Apr 18 10:18:14 xxx icinga2[11975]: /etc/icinga2/conf.d/services.conf(114): }
- Apr 18 10:18:14 xxx icinga2[11975]: /etc/icinga2/conf.d/services.conf(115):
- Apr 18 10:18:14 xxx icinga2[11975]: /etc/icinga2/conf.d/services.conf(116): apply Service “snmp_traps” {
- Apr 18 10:18:14 xxx icinga2[11975]: ^
- Apr 18 10:18:14 xxx icinga2[11975]: /etc/icinga2/conf.d/services.conf(117): import “snmp-trap-service”
- Apr 18 10:18:14 xxx icinga2[11975]: /etc/icinga2/conf.d/services.conf(118): assign where host.address
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement