crunsher Administrator

  • from Nürnberg, Germany
  • Member since Dec 8th 2014
  • Last Activity:
Posts
322
Likes Received
28
Points
1,648
Profile Hits
1,260
Please read about the latest changes and upgrade.
Please note that your newly registered account needs to be manually activated by an admin. Just be patient, you cannot post to any forum before this happens. This is thanks to the unfortunate event of spammers recently. More details here.
  • 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" }