thank you,
so this is command is not enough "chown apache:apache rrd? because this just "chowns" a folder, i need to chown the files inside - so it would be chown with slash "chown apache:apache rrd/" ? do i'am right ? or " chown -R apache:apache rrd/* " thanks!
On Wed, Oct 25, 2017 at 9:33 PM, Adam Armstrong adama@observium.org wrote:
RRDTool Output: ERROR: opening '/opt/observium/rrd/jaycore02/processor-cpm-22.rrd': Permission denied
You just need to fix permissions. The RRD dir and all of its contents should be readable by the user that apache runs as.
adam.
On 2017-10-25 19:21:57, Edvinas K edvinas.email@gmail.com wrote: Sorry for double post, i'd like to correct mistake in my sentence.
So, after migrating Observium (Community Edition) with old RRDS and MYSQL DB to new machine only some graphs shows . I got this info in "RRD Command":
Performance & Output RRDTool Output: ERROR: opening '/opt/observium/rrd/jaycore02/processor-cpm-22.rrd': Permission denied RRDtool Runtime: 0.012s | Total time: 0.013s RRDTool Command /usr/bin/rrdtool graph /tmp/Te25azzHxCwBa1eS.png -Y --lower-limit 0 --upper-limit 100 --start 1508859557 --end 1508945947 --width 1152 --height 300 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c FONT#000000 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal --font LEGEND:8:'DroidSansMono,DejaVuSansMono' --font AXIS:7:'DroidSansMono,DejaVuSansMono' --font-render-mode normal -E DEF:usage=/opt/observium/rrd/jaycore02/processor-cpm-22.rrd:usage:AVERAGE DEF:usage_max=/opt/observium/rrd/jaycore02/processor-cpm-22.rrd:usage:MAX DEF:usage_min=/opt/observium/rrd/jaycore02/processor-cpm-22.rrd:usage:MIN DEF:usageX=/opt/observium/rrd/jaycore02/processor-cpm-22.rrd :usage:AVERAGE:start=1508773167:end=1508859557 DEF:usage_maxX=/opt/observium/rrd/jaycore02/processor-cpm-22 .rrd:usage:MAX:start=1508773167:end=1508859557 SHIFT:usageX:86390 SHIFT:usage_maxX:86390 AREA:usage_max#c5c5c5 AREA:usage_min#ffffff COMMENT:'Usage Now Avg Max \n' LINE1.25:usage#cc0000:' ' GPRINT:usage:LAST:"%6.2lf%s" GPRINT:usage:AVERAGE:"%6.2lf%s" GPRINT:usage_max:MAX:"%6.2lf%s"\n COMMENT:\n LINE1.25:usageX#666666:'Prev \n' AREA:usageX#99999966: CDEF:usagesmooth=usage,1800,TREND CDEF:usagepredict=586400,-7,1800,usage,PREDICT LINE1:usagepredict#FF00FF::dashes=3 RRDTool Files Used /opt/observium/rrd/jaycore02/processor-cpm-22.rrd
For me the primary point is to save the device ID numbers, and secondary priority is to save graphs. I think one workaround would be to remove RRDs which is not working ant let Observium to create new ones ? What could i do ? Thanks
On Wed, Oct 25, 2017 at 6:42 PM, Edvinas K edvinas.email@gmail.com wrote:
Hello,
After migrating observium with old rrds and mysql db to new machine some graphs shows . I got this info in "RRD Command"
Performance & Output RRDTool Output: ERROR: opening '/opt/observium/rrd/jaycore02/processor-cpm-22.rrd': Permission denied RRDtool Runtime: 0.012s | Total time: 0.013s RRDTool Command /usr/bin/rrdtool graph /tmp/Te25azzHxCwBa1eS.png -Y --lower-limit 0 --upper-limit 100 --start 1508859557 --end 1508945947 --width 1152 --height 300 -c BACK#EEEEEE00 -c SHADEA#EEEEEE00 -c SHADEB#EEEEEE00 -c FONT#000000 -c CANVAS#FFFFFF00 -c GRID#a5a5a5 -c MGRID#FF9999 -c FRAME#5e5e5e -c ARROW#5e5e5e -R normal --font LEGEND:8:'DroidSansMono,DejaVuSansMono' --font AXIS:7:'DroidSansMono,DejaVuSansMono' --font-render-mode normal -E DEF:usage=/opt/observium/rrd/jaycore02/processor-cpm-22.rrd:usage:AVERAGE DEF:usage_max=/opt/observium/rrd/jaycore02/processor-cpm-22.rrd:usage:MAX DEF:usage_min=/opt/observium/rrd/jaycore02/processor-cpm-22.rrd:usage:MIN DEF:usageX=/opt/observium/rrd/jaycore02/processor-cpm-22.rrd :usage:AVERAGE:start=1508773167:end=1508859557 DEF:usage_maxX=/opt/observium/rrd/jaycore02/processor-cpm-22 .rrd:usage:MAX:start=1508773167:end=1508859557 SHIFT:usageX:86390 SHIFT:usage_maxX:86390 AREA:usage_max#c5c5c5 AREA:usage_min#ffffff COMMENT:'Usage Now Avg Max \n' LINE1.25:usage#cc0000:' ' GPRINT:usage:LAST:"%6.2lf%s" GPRINT:usage:AVERAGE:"%6.2lf%s" GPRINT:usage_max:MAX:"%6.2lf%s"\n COMMENT:\n LINE1.25:usageX#666666:'Prev \n' AREA:usageX#99999966: CDEF:usagesmooth=usage,1800,TREND CDEF:usagepredict=586400,-7,1800,usage,PREDICT LINE1:usagepredict#FF00FF::dashes=3 RRDTool Files Used /opt/observium/rrd/jaycore02/processor-cpm-22.rrd
What could i do ? Thanks
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/ cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium