On Fri, 11 Jul 2014, Michael Friedrich wrote:
On 11.07.2014 01:56, Warren Block wrote:
Hello! I'm using icinga2 on FreeBSD 10, thanks to the port by Lars
Engels.
Hello again :)
(original thread is here -
https://forums.freebsd.org/viewtopic.php?f=43&t=47106)
After some struggle with configuration, it's mostly working, although
icons in the status map main window are still question marks. The
popup that appears when the pointer is over one of those does show the
icon, just not the main window. Icons also appear in the Host Detail
lines.
The host configuration:
object Host "example.com" {
import "generic-host"
address = "192.168.1.1"
vars.os = "FreeBSD"
vars.icon_image = "vendors/freebsd40.png"
vars.icon_image_alt = "FreeBSD"
vars.sla = "24x7"
}
icon_image and icon_image_alt are direct object attributes. That change
was made somewhere in milestone 0.0.10 or so, and the documentation
reflects that. presumingly you're using an old example found on the
internet.
http://docs.icinga.org/icinga2/latest/doc/module/icinga2/toc#!/icinga2/latest/doc/module/icinga2/chapter/configuring-icinga2#objecttype-host
That is the page I was looking at, but I could not tell whether it
required the vars. declaration. Turns out it works the same either way.
There aren't any 404s in the Apache log, and the Icinga error log is
empty. What should I check?
The problem is different. The Classic UI (and only that one) expects the
host to have an attribute called "statusmap_image" and further,
"2d_coords". These attributes are not supported by Icinga 2.
...
Since Classic UI won't be the primary interface for Icinga 2 (for
instance, presenting cluster checks, or any other vital health check
representation) we won't fix that compatibility issue but rather not
support it.
Okay, as long as it's not a problem with my config.
Thanks!
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users