[icinga-users] Unable to open "log_archive_path" -> "/var/log/icinga/archives/"!!!

Andrés González agonzalez at vivocomtech.eu
Sun Dec 16 00:16:35 CET 2012


Hi Michael.

You were totally right! Adding the reading permission was the solution.
After restarting the Web UI, I can access the data archived.

BTW, version of icinga is 1.8.2. I'm a newbie and I really don't know how
to determine if the current Web UI is classic or New. Can you explain me
how to check this out?

Thank you very much!
Andrés

2012/12/15 Michael Friedrich <michael.friedrich at gmail.com>

> On 15.12.2012 14:54, Andrés González wrote:
> > Hi everybody!
> >
> > This is my first post. I have to admit that Icinga is the most powerful
> monitoring open tool I've ever seen!
> >
> > Few days ago I launched an EC2 micro instance with Debian Squeeze.
> Following the steps from Icinga Docs was very easy to set the thing up and
> running. But from the very beginning, several sections in the web panel
> show an error:
> >
>
> version of icinga?
>
> > Unable to open "log_archive_path" ->  "/var/log/icinga/archives/"!!!
>
> classic ui i presume?
>
> >
> > I've been browsing through /etc/icinga/icinga.cfg but everything looks
> correct:
> >
> > icinga_user=nagios
> > icinga_group=nagios
> > log_rotation_method=d
> > log_archive_path=/var/log/icinga/archives
> >
> > Archives directory shows these rights:
> >
> > drwxr-s--x  2 nagios adm  4096 dic 15 00:00 archives
>
> verify that the apache user got permissions to read here as well. looks
> like others just got +x but not +r ... could also be an issue with older
> packages...
>
> >
> > Also, rotation is working and it's saving the archives:
> >
> > -rw-r--r-- 1 nagios adm  1222 dic 11 23:14 icinga-12-12-2012-00.log
> > -rw-r--r-- 1 nagios adm  2466 dic 12 23:14 icinga-12-13-2012-00.log
> > -rw-r--r-- 1 nagios adm 39837 dic 13 23:26 icinga-12-14-2012-00.log
> > -rw-r--r-- 1 nagios adm  7527 dic 14 23:19 icinga-12-15-2012-00.log
> >
> > What am I missing?
> >
> > Thank you!
> >
> ------------------------------------------------------------------------------
> > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> > Remotely access PCs and mobile devices and provide instant support
> > Improve your efficiency, and focus on delivering more value-add services
> > Discover what IT Professionals Know. Rescue delivers
> > http://p.sf.net/sfu/logmein_12329d2d
> > _______________________________________________
> > icinga-users mailing list
> > icinga-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/icinga-users
>
>
> --
> DI (FH) Michael Friedrich
>
> mail:     michael.friedrich at gmail.com
> twitter:  https://twitter.com/dnsmichi
> jabber:   dnsmichi at jabber.ccc.de
> irc:      irc.freenode.net/icinga dnsmichi
>
> icinga open source monitoring
> position: lead core developer
> url:      https://www.icinga.org
>
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> icinga-users mailing list
> icinga-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.icinga.org/pipermail/icinga-users/attachments/20121216/0655c176/attachment-0001.html>


More information about the icinga-users mailing list