Re: [icinga-users] Finding the Icinga 2 server's Host object

2018-01-12 Thread Edgar Fuß
OK, that's simply get_host(). I didn't find it through a search, though, but by accident due to a reference in something else I looked up in the documentation. Sorry for the noise. ___ icinga-users mailing list icinga-users@lists.icinga.org https://lists

[icinga-users] Finding the Icinga 2 server's Host object

2018-01-12 Thread Edgar Fuß
How can I get a reference to the Host Object of the server Icinga 2 is running on? I do have globals.NodeName, but I would like to access a (custom) attribute of that host outside a service check for that host. ___ icinga-users mailing list icinga-users