I set up Nagios 1.2 and it works mostly fantastic. It is set up to use the mysql-storage-method. The problem is, that it doesn't show any icons (hostextinfo) no matter where I place the definitions: mysql, template, config-file -- no icons, never. The functionality of nagios is not decreased in any way, but it can be kinda annoying if you only see the default question-mark instead of a meaningful icon. Version-Info: [ebuild R ] net-analyzer/nagios-1.2 [ebuild R ] net-analyzer/nagios-core-1.2-r3 [ebuild R ] net-analyzer/nagios-imagepack-1.0 [ebuild R ] net-analyzer/nagios-nrpe-2.0 [ebuild R ] net-analyzer/nagios-nsca-2.4 [ebuild R ] net-analyzer/nagios-plugins-1.3.1-r1 Reproducible: Always Steps to Reproduce: See bug description Actual Results: See bug description Expected Results: See bug description Portage 2.0.51_rc7 (default-sparc64-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.7 sparc64) ================================================================= System uname: 2.6.7 sparc64 sun4u Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.23 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="sparc" AUTOCLEAN="yes" CFLAGS="-mcpu=ultrasparc -O2 -pipe" CHOST="sparc-unknown-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=ultrasparc -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs candy ccache distlocks noauto sandbox userpriv usersandbox" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="sparc X apache2 arts avi berkdb bitmap-fonts crypt cups encode esd fbcon foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt readline sasl sdl slang spell ssl tcltk tcpd truetype unicode xml2 xmms xprint xv zlib"
i got icons working with mine.. i built nagios with mysql support, so the only place it would accept hostextinfo was in mysql. i put the icons i made into /usr/nagios/share/images/logos and they work like a charm. In mysql I don't enter any path information, just the name of the jpg.
Wouldn't a better option be to set suid and sgid bits on the rw directory during installation? This way, the command file would be created with the right owners by default. chown nagios:apache /var/nagios/rw chmod ug+s /var/nagios/rw
Sorry, posted to wrong bug. Please disregard.
If net-analyzer/nagios-imagepack contains the icons than this is a configuration problem...