Hi all,

after reading the documentation I am still not understanding exactly what
is the difference between config and custom attributes.

If I check out the Host Check dummy example from the documentation it says

object Host "dummy-host" {
  check_command = "dummy"
  vars.dummy_state = 0
  vars.dummy_text = "Everything OK."
}

Is the check_command a config attribute and the vars.dummy_state a custom
attribute? What scope do they both have? I would think they both have 'this
scope'?

Why can't I use an own attribute like

my_attribute = "blubb"

and/or do I have to use the vars-dictionary for all custom attributes?

Greetings and thanks,
Tobias
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to