Date: Sat, 1 Nov 2014 14:50:39 +0100 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: Lars Engels <lars.engels@0x20.net> Cc: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: net-mgmt/icinga2: Icinga Web is not working: Error: Could not read object configuration data! Message-ID: <20141101145039.37cd7468.ohartman@zedat.fu-berlin.de> In-Reply-To: <20141101131208.GJ72082@e-new.0x20.net> References: <20141031195504.4edc902c.ohartman@zedat.fu-berlin.de> <20141101131208.GJ72082@e-new.0x20.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/er6zUFl4L/2YKs4Zp7ZYZe= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Sat, 1 Nov 2014 14:12:08 +0100 Lars Engels <lars.engels@0x20.net> schrieb: > On Fri, Oct 31, 2014 at 07:55:04PM +0100, O. Hartmann wrote: > >=20 > > On CURRENT (most recent), I run net-mgmt/icinga2. Setup ran smooth, I a= lso set up the > > IDO for PostgreSQL. Checking whether icinga2 logs data to the PostgreSQ= L database > > resulted positive. > >=20 > > I try to install/configure a Web Interface a sdescribed in the Icinga2 = docs. IDO is a > > prerequiste for Icinga Web (I'm not using Icinga Web 2!). > >=20 > > For that purpose, I installed net/mgmt/icinga (which contains the web i= nterface). I > > made the proper changes to /usr/local/etc/icinga/cgi.cfg as reported in= this HowTo: > > http://lists.freebsd.org/pipermail/freebsd-ports/2014-June/093372.html.= Please see > > also https://forums.freebsd.org/threads/icinga2-network-monitoring.4710= 6/. Via > > icinga2-enable-feature I also enabled all requested modules as describe= d in the > > Icinga2 docs. > >=20 > > So far. Having doen EXACTLY as suggested, I do not get any kind of Webi= nterface. The > > web browser (Mozilla Firefox) reports always: Error: Could not read obj= ect > > configuration data! > >=20 > > There is something missing. > >=20 > > Is someone using Icinga2 with the classical Web and has followed these = instructions > > and gets a different result? > >=20 >=20 > Hi Oliver, >=20 > on a clean system, I just followed (my own) CFT instructions you also > used. I didn't encounter a problem. The only typo in the list is that > this: > cp /usr/local/share/examples/icinga/apache22/icinga.conf-sample /usr/loca= l/etc/apache2/Includes/icinga.conf > = ^^^^ > = should be > apache22 >=20 > Apart from this, there wasn't anything that didn't work. I used > "pkg install apache22 icinga icinga2" though and didn't need to copy the > .cfg-sample file as the icinga port does this by itself now. >=20 > Can you please check all file and directory locations you changed in > icinga/cgi.cfg? I guess the "status_file" line leads to a non-existing > status.dat. >=20 >=20 > Please also CC me on any questions you have regarding icinga[2] and > FreeBSD as I maintain both ports. >=20 >=20 > Lars Correct - I had a type in cgi.cfg. I use Apache 2.4 (www/apache24) by the way. I have now a web page - but it = is empty/ugly looking. I guess there is a bit of further work. Thanks a lot for the hint. Kind Regards, Oliver --Sig_/er6zUFl4L/2YKs4Zp7ZYZe= Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJUVOU0AAoJEOgBcD7A/5N84VsH/12FJWyYgZC/kA6ycRBdbHOk LqxtEurr+inf6adzt8/WjgJnSbU81zZzSV13Dl8Qka9FJt8M3t7Pt7OQNPdm7Rem G76h97APeJTTCg9OrVQoBbKUHqnsIYsar0cA1hxXylAj+etS0DpiHrbwC/WCh+m6 LJcE4O3zr+0FA2r7IYJ6FGQEaz5INvQrT5JKeQsLFDxk4+kq22z7YJTqNIyOdO9F n1f7rgy3oR+HEL9bcFApS/bc46J5nViPx4akkUC35ZbDiMdSj/UiHD/5p/K8jy+6 ntpAAzXpzcYAtYyZYOqgzmzb47dNuit/YY2ByZ649XEeFcK7VfqyzH07JTdcfGQ= =d0Mc -----END PGP SIGNATURE----- --Sig_/er6zUFl4L/2YKs4Zp7ZYZe=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141101145039.37cd7468.ohartman>