Trouble-shooting nagiosgrapher

Lars Stavholm stava at telcotec.se
Thu Apr 24 21:56:36 CEST 2008


mjn wrote:
> Is there any decent documentation for nagiosgrapher or boards that I can 
> search that are not in german?
> 
> I've got it setup and configured but the one graph that I've configured 
> give me an image with this error:
> 
> RRD Error: opening /var/lib/nagios/rrd/linux_narsil/': Permission denied
> 
> That dir is:
> 
> [root at narsil nagios]# ls -lahR
> .:
> total 24K
> drwxr-xr-x  3 root   root   4.0K 2008-04-24 12:20 .
> drwxr-xr-x 42 root   root   4.0K 2008-04-24 12:20 ..
> drwxr-xr-x  3 nagios apache 4.0K 2008-04-24 13:22 rrd

Group writable maybe.

> ./rrd:
> total 24K
> drwxr-xr-x 3 nagios apache 4.0K 2008-04-24 13:22 .
> drwxr-xr-x 3 root   root   4.0K 2008-04-24 12:20 ..
> drwxr-xr-x 2 nagios nagios 4.0K 2008-04-24 13:22 linux_narsil

Group apache and group writable maybe.

> ./rrd/linux_narsil:
> total 16K
> drwxr-xr-x 2 nagios nagios 4.0K 2008-04-24 13:22 .
> drwxr-xr-x 3 nagios apache 4.0K 2008-04-24 13:22 ..
> 
> I'd appreciate a kick in the right direction or some a decent howto...

Hope the above helps. I do believe your web instance of nagios
is run by the apache user, so you have to make sure that the
directory permissions allows the apache process to write and
create files.
/L

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list