I currently have the code
object Host "rqbhost" {
address = "xx.xx.xx.xx"
check_command = "hostalive"
}
object Service "ping4" {
host_name = "rqbhost"
check_command = "ping4"
}
object Service "http" {
host_name = "rqbhost"
check_command = "http"
}
This will not allow me to start the icinga service, and the error logs do not let me know of why they are incorrect. I have tried the documentation for icinga2 but it has been woefully unhelpful for such a simple task as mine.
:/etc/icinga2/conf.d/services.conf(25): */
:/etc/icinga2/conf.d/services.conf(26): apply Service "ping4" {
:^^^^^^^^^^^^^^^^^^^^^
:/etc/icinga2/conf.d/services.conf(27): import "generic-service"
:/etc/icinga2/conf.d/services.conf(28):
:[2016-07-08 13:59:24 +0000] critical/config: 1 error
:icinga2.service: control process exited, code=exited status=1