Advertisement
Guest User

Untitled

a guest
Apr 18th, 2016
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. All steps are clearly complete, but after I write service template to templates.conf and apply statement to services.conf, I get Syntax error
  2. Apr 18 10:18:14 xxx icinga2[11975]: [2016-04-18 10:18:14 +0000] critical/config: Error: syntax error, unexpected $end, expecting '{'
  3.  
  4. 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): }
  5. Apr 18 10:18:14 xxx icinga2[11975]: /etc/icinga2/conf.d/services.conf(115):
  6. Apr 18 10:18:14 xxx icinga2[11975]: /etc/icinga2/conf.d/services.conf(116): apply Service “snmp_traps” {
  7. Apr 18 10:18:14 xxx icinga2[11975]: ^
  8. Apr 18 10:18:14 xxx icinga2[11975]: /etc/icinga2/conf.d/services.conf(117): import “snmp-trap-service”
  9. 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