crunsher Bastard Dev From Hell

  • from Nürnberg, Germany
  • Member since Dec 8th 2014
  • Last Activity:
Posts
344
Likes Received
28
Points
1,763
Profile Hits
1,340
  • Please refrain from asking Questions about Icinga in PMs or in Wall comments. Use the Forum so other users with similar problems may find your topic.

    I will not answer any User questions in PMs or here.
  • Icinga2 ends up monitoring localhost instead of $host_name.
    probably I missed a parameter or something ?
    Please can you point me in the right direction...
    Thanks in advance!

    # cat conf.d/hosts/myhost.confobject Host "myhost" { import "generic-host" address = "10.10.10.10" vars.os = "Linux" vars.sla = "24x7" }object Service "users" { import "generic-service" host_name = "myhost" check_command = "users" vars.sla = "24x7" }object Service "procs" { import "generic-service" host_name = "myhost" check_command = "procs" vars.sla = "24x7" }object Service "http" { import "generic-service" host_name = "myhost" check_command = "http" vars.sla = "24x7" }