Problem with Apan Graphs

Kaplan, Andrew H. AHKAPLAN at PARTNERS.ORG
Tue Apr 6 16:41:12 CEST 2004


Hi Marc --

I checked the cgi files and although they are owned by the nagios user and
group, the
permissions on both files are rwxrwxr-x.

The same was also done for the /usr/local/nagios/rrd/<name>.rrd file, with
the result
being the user and group ownership being nagios, and the the permissions
being the 
following: rw-r--r--.



-----Original Message-----
From: Marc Powell [mailto:marc at ena.com]
Sent: Tuesday, April 06, 2004 10:23 AM
To: Kaplan, Andrew H.; Arzamendi, Peter
Cc: Nagios-Users (E-mail)
Subject: RE: [Nagios-users] Problem with Apan Graphs


I don't use APAN so I may be way off base but can the apache user read
the files? That seems to me that it might be just as important as the
nagios user being able to read them.

--
Marc

On Tuesday, April 06, 2004 7:39 AM, Kaplan, Andrew H. shared with us:

> Hi Peter,
> 
> I verified the nagios userid is the owner and has rw access to the
> rrd files. 
> 
> I sent an e-mail to Fredrik Wanglund and asked his opinion about
> something. I'll include it here for your perusal and thoughts. Thanks
> in advance.  
> 
> I checked the Apache error_log file, and while there was no reference
> to rrdtool there was a large amount of 
> ERROR: unknown option '1' messages. I also checked the access.log
> file and I noticed a decent amount of lines that read <ip address> -
> <username> [date:time -0400] "GET
> /nagios/cgi-bin/generate-sql.cgi?#&# HTTP/1.1 200 5.   
> 
> I did a find as command as root to look for the apancgi.log file, and
> there was none to be found. The apancgi.debug file did not appear to
> have any further updates to it, while the rrd file within the <nagios
> dir>/rrd directory did show that it had been modified.   
> 
> I was looking through the apan.defs file and currently the image type
> that is being created is png. One idea I had was to change the
> filetype from png to gif or gd. What do you think?  
> 
> 
> -----Original Message-----
> From: Arzamendi, Peter [mailto:parzamendi at Fiskars.com]
> Sent: Monday, April 05, 2004 5:23 PM
> To: jeff vier; Kaplan, Andrew H.
> Subject: RE: [Nagios-users] Problem with Apan Graphs
> 
> 
> Make sure the user id that's running Nagios can read the rrd files.
> 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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