Rrd graphs not updating Webcam sex with previews photos

Posted by / 05-Jan-2020 14:22

Rrd graphs not updating

Go to ssh and run command that you see in cacti, but add redirection to a file.

If rrdtool generate the valid file it means you probably have problems with your php configuration.

Can you specify what exactly I should be looking for in the instructions?

XX, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "XX. RRDTool Command rrdtool graph /tmp/BVs Se K37k CH2RWG7-g --alt-autoscale-max --rigid -E --start 1444070100 --end 1444156500 --width 1075 --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: Deja Vu Sans Mono --font AXIS:7: Deja Vu Sans Mono --font-render-mode normal COMMENT:' Now Avg Max' COMMENT:'\n' DEF:in B0=/opt/librenms/rrd/cassius.uk/port-2.rrd: INOCTETS: AVERAGE DEF:out B0=/opt/librenms/rrd/cassius.uk/port-2.rrd: OUTOCTETS: AVERAGE CDEF:octets0=in B0,out B0, CDEF:inbits0=in B0,8,* CDEF:outbits0=out B0,8,* CDEF:outbits0_neg=outbits0,-1,* CDEF:bits0=inbits0,outbits0, VDEF:totin B0=in B0, TOTAL VDEF:totout B0=out B0, TOTAL VDEF:tot0=octets0, TOTAL AREA:inbits0#B6D14B:'eth0 In ' GPRINT:inbits0: LAST:%6.2lf%s GPRINT:inbits0: AVERAGE:%6.2lf%s GPRINT:inbits0: MAX:%6.2lf%s COMMENT:'\n' HRULE:999999999999999#A0A0E5:' Out' GPRINT:outbits0: LAST:%6.2lf%s GPRINT:outbits0: AVERAGE:%6.2lf%s GPRINT:outbits0: MAX:%6.2lf%s COMMENT:'\n' CDEF:in B=in B0, UN,0,in B0, IF CDEF:out B=out B0, UN,0,out B0, IF CDEF:octets=in B,out B, CDEF:dout B=out B,-1,* CDEF:inbits=in B,8,* CDEF:outbits=out B,8,* CDEF:bits=inbits,outbits, CDEF:doutbits=dout B,8,* VDEF:95thin=inbits,95, PERCENT VDEF:95thout=outbits,95, PERCENT VDEF:d95thout=doutbits,5, PERCENT VDEF:totin=in B, TOTAL VDEF:avein=inbits, AVERAGE VDEF:totout=out B, TOTAL VDEF:aveout=outbits, AVERAGE VDEF:tot=octets, TOTAL COMMENT:' \n' HRULE:999999999999999#FFFFFF:'Total In ' GPRINT:inbits: LAST:%6.2lf%s GPRINT:inbits: AVERAGE:%6.2lf%s GPRINT:inbits: MAX:%6.2lf%s GPRINT:totin:%6.2lf%s B COMMENT:'\n' HRULE:999999999999990#FFFFFF:' Out' GPRINT:outbits: LAST:%6.2lf%s GPRINT:outbits: AVERAGE:%6.2lf%s GPRINT:outbits: MAX:%6.2lf%s GPRINT:totout:%6.2lf%s B COMMENT:'\n' HRULE:999999999999990#FFFFFF:' Agg' GPRINT:bits: LAST:%6.2lf%s GPRINT:bits: AVERAGE:%6.2lf%s GPRINT:bits: MAX:%6.2lf%s GPRINT:tot:%6.2lf%s B COMMENT:'\n' AREA:outbits0_neg#A0A0E5: HRULE:0#999999 RRDTool Output 1156x354 RRDTool Command rrdtool graph /tmp/w Ir FGe Rn MZe8-g --alt-autoscale-max --rigid -E --start 1444092000 --end 1444178400 --width 1075 --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: Deja Vu Sans Mono --font AXIS:7: Deja Vu Sans Mono --font-render-mode normal COMMENT:' Now Avg Max' COMMENT:'\n' DEF:in B0=/var/www/librenms/rrd/localhost/port-2.rrd: INOCTETS: AVERAGE DEF:out B0=/var/www/librenms/rrd/localhost/port-2.rrd: OUTOCTETS: AVERAGE CDEF:octets0=in B0,out B0, CDEF:inbits0=in B0,8,* CDEF:outbits0=out B0,8,* CDEF:outbits0_neg=outbits0,-1,* CDEF:bits0=inbits0,outbits0, VDEF:totin B0=in B0, TOTAL VDEF:totout B0=out B0, TOTAL VDEF:tot0=octets0, TOTAL AREA:inbits0#B6D14B:'eth0 In ' GPRINT:inbits0: LAST:%6.2lf%s GPRINT:inbits0: AVERAGE:%6.2lf%s GPRINT:inbits0: MAX:%6.2lf%s COMMENT:'\n' HRULE:999999999999999#A0A0E5:' Out' GPRINT:outbits0: LAST:%6.2lf%s GPRINT:outbits0: AVERAGE:%6.2lf%s GPRINT:outbits0: MAX:%6.2lf%s COMMENT:'\n' DEF:in B1=/var/www/librenms/rrd/localhost/port-3.rrd: INOCTETS: AVERAGE DEF:out B1=/var/www/librenms/rrd/localhost/port-3.rrd: OUTOCTETS: AVERAGE CDEF:octets1=in B1,out B1, CDEF:inbits1=in B1,8,* CDEF:outbits1=out B1,8,* CDEF:outbits1_neg=outbits1,-1,* CDEF:bits1=inbits1,outbits1, VDEF:totin B1=in B1, TOTAL VDEF:totout B1=out B1, TOTAL VDEF:tot1=octets1, TOTAL AREA:inbits1#91B13C:'eth1 In 'STACK GPRINT:inbits1: LAST:%6.2lf%s GPRINT:inbits1: AVERAGE:%6.2lf%s GPRINT:inbits1: MAX:%6.2lf%s COMMENT:'\n' HRULE:999999999999999#8080BD:' Out' GPRINT:outbits1: LAST:%6.2lf%s GPRINT:outbits1: AVERAGE:%6.2lf%s GPRINT:outbits1: MAX:%6.2lf%s COMMENT:'\n' CDEF:in B=in B0, UN,0,in B0, IF,in B1, UN,0,in B1, IF, CDEF:out B=out B0, UN,0,out B0, IF,out B1, UN,0,out B1, IF, CDEF:octets=in B,out B, CDEF:dout B=out B,-1,* CDEF:inbits=in B,8,* CDEF:outbits=out B,8,* CDEF:bits=inbits,outbits, CDEF:doutbits=dout B,8,* VDEF:95thin=inbits,95, PERCENT VDEF:95thout=outbits,95, PERCENT VDEF:d95thout=doutbits,5, PERCENT VDEF:totin=in B, TOTAL VDEF:avein=inbits, AVERAGE VDEF:totout=out B, TOTAL VDEF:aveout=outbits, AVERAGE VDEF:tot=octets, TOTAL COMMENT:' \n' HRULE:999999999999999#FFFFFF:'Total In ' GPRINT:inbits: LAST:%6.2lf%s GPRINT:inbits: AVERAGE:%6.2lf%s GPRINT:inbits: MAX:%6.2lf%s GPRINT:totin:%6.2lf%s B COMMENT:'\n' HRULE:999999999999990#FFFFFF:' Out' GPRINT:outbits: LAST:%6.2lf%s GPRINT:outbits: AVERAGE:%6.2lf%s GPRINT:outbits: MAX:%6.2lf%s GPRINT:totout:%6.2lf%s B COMMENT:'\n' HRULE:999999999999990#FFFFFF:' Agg' GPRINT:bits: LAST:%6.2lf%s GPRINT:bits: AVERAGE:%6.2lf%s GPRINT:bits: MAX:%6.2lf%s GPRINT:tot:%6.2lf%s B COMMENT:'\n' AREA:outbits0_neg#A0A0E5: AREA:outbits1_neg#8080BD: STACK HRULE:0#999999 RRDTool Output 0 rrdtool graph /tmp/w Ir FGe Rn MZe8-g --alt-autoscale-max --rigid -E --start 1444092000 --end 1444178400 --width 1075 --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: Deja Vu Sans Mono --font AXIS:7: Deja Vu Sans Mono --font-render-mode normal COMMENT:' Now Avg Max' COMMENT:'\n' DEF:in B0=/var/www/librenms/rrd/localhost/port-2.rrd: INOCTETS: AVERAGE DEF:out B0=/var/www/librenms/rrd/localhost/port-2.rrd: OUTOCTETS: AVERAGE CDEF:octets0=in B0,out B0, CDEF:inbits0=in B0,8,* CDEF:outbits0=out B0,8,* CDEF:outbits0_neg=outbits0,-1,* CDEF:bits0=inbits0,outbits0, VDEF:totin B0=in B0, TOTAL VDEF:totout B0=out B0, TOTAL VDEF:tot0=octets0, TOTAL AREA:inbits0#B6D14B:'eth0 In ' GPRINT:inbits0: LAST:%6.2lf%s GPRINT:inbits0: AVERAGE:%6.2lf%s GPRINT:inbits0: MAX:%6.2lf%s COMMENT:'\n' HRULE:999999999999999#A0A0E5:' Out' GPRINT:outbits0: LAST:%6.2lf%s GPRINT:outbits0: AVERAGE:%6.2lf%s GPRINT:outbits0: MAX:%6.2lf%s COMMENT:'\n' DEF:in B1=/var/www/librenms/rrd/localhost/port-3.rrd: INOCTETS: AVERAGE DEF:out B1=/var/www/librenms/rrd/localhost/port-3.rrd: OUTOCTETS: AVERAGE CDEF:octets1=in B1,out B1, CDEF:inbits1=in B1,8,* CDEF:outbits1=out B1,8,* CDEF:outbits1_neg=outbits1,-1,* CDEF:bits1=inbits1,outbits1, VDEF:totin B1=in B1, TOTAL VDEF:totout B1=out B1, TOTAL VDEF:tot1=octets1, TOTAL AREA:inbits1#91B13C:'eth1 In 'STACK GPRINT:inbits1: LAST:%6.2lf%s GPRINT:inbits1: AVERAGE:%6.2lf%s GPRINT:inbits1: MAX:%6.2lf%s COMMENT:'\n' HRULE:999999999999999#8080BD:' Out' GPRINT:outbits1: LAST:%6.2lf%s GPRINT:outbits1: AVERAGE:%6.2lf%s GPRINT:outbits1: MAX:%6.2lf%s COMMENT:'\n' CDEF:in B=in B0, UN,0,in B0, IF,in B1, UN,0,in B1, IF, CDEF:out B=out B0, UN,0,out B0, IF,out B1, UN,0,out B1, IF, CDEF:octets=in B,out B, CDEF:dout B=out B,-1,* CDEF:inbits=in B,8,* CDEF:outbits=out B,8,* CDEF:bits=inbits,outbits, CDEF:doutbits=dout B,8,* VDEF:95thin=inbits,95, PERCENT VDEF:95thout=outbits,95, PERCENT VDEF:d95thout=doutbits,5, PERCENT VDEF:totin=in B, TOTAL VDEF:avein=inbits, AVERAGE VDEF:totout=out B, TOTAL VDEF:aveout=outbits, AVERAGE VDEF:tot=octets, TOTAL COMMENT:' \n' HRULE:999999999999999#FFFFFF:'Total In ' GPRINT:inbits: LAST:%6.2lf%s GPRINT:inbits: AVERAGE:%6.2lf%s GPRINT:inbits: MAX:%6.2lf%s GPRINT:totin:%6.2lf%s B COMMENT:'\n' HRULE:999999999999990#FFFFFF:' Out' GPRINT:outbits: LAST:%6.2lf%s GPRINT:outbits: AVERAGE:%6.2lf%s GPRINT:outbits: MAX:%6.2lf%s GPRINT:totout:%6.2lf%s B COMMENT:'\n' HRULE:999999999999990#FFFFFF:' Agg' GPRINT:bits: LAST:%6.2lf%s GPRINT:bits: AVERAGE:%6.2lf%s GPRINT:bits: MAX:%6.2lf%s GPRINT:tot:%6.2lf%s B COMMENT:'\n' AREA:outbits0_neg#A0A0E5: AREA:outbits1_neg#8080BD: STACK HRULE:0#999999 1156x339 Yes, I'm almost positive that everything is correct.

Everything seems to be working fine, but the graphs are not always updating.

When I refresh the web page or close the browser and come back later, the graph updates and moves to the left, showing new time, the the data line is not drawn. I had started, stopped and restarted mailgraph-init and that doesn't seem to make a difference. This might help- I figured out that perl modules called by the script where missing, and tracked it back to missing dependencies.

XX/device/device=1/debug=yes/" 2015/10/02 [error] 7059#0: *156 Fast CGI sent in stderr: "PHP message: PHP Notice: Undefined index: PATH_TRANSLATED in /var/www/librenms/html/on line 16 PHP message: PHP Notice: Undefined index: ORIG_SCRIPT_FILENAME in /var/www/librenms/html/on line 16" while reading response header from upstream, client: YY. I had a similar issue on an Observium install where the graphing would just not work.

If all else fails, turn logging in PHP to E_ALL and manually run manually in a console to see any output.

I'm assuming it's a permissions issue, chmod 0644'ing the RRDs might help, might. XX, request: "GET /graphs/to=1443796500/device=1/type=device_bits/from=1443710100/legend=no/debug=yes/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "XX. If all else fails, turn logging in PHP to @loganmarchione Seems in the first log output, php-fpm is not receiving the ORIG_SCRIPT_FILENAME properly, might be an issue with no SCRIPT_FILENAME being sent. XX" 2015/10/02 [error] 7059#0: *156 Fast CGI sent in stderr: "PHP message: PHP Notice: Undefined index: PATH_TRANSLATED in /var/www/librenms/html/on line 16 PHP message: PHP Notice: Undefined index: ORIG_SCRIPT_FILENAME in /var/www/librenms/html/on line 16" while reading response header from upstream, client: YY. Other than that, you might be able to get stuff working by deleting/backing up the RRD-files somewhere else and letting Liber NMS recreate them.RRDTool Command: /usr/bin/rrdtool graph - \ --imgformat=PNG \ --start=-86400 \ --end=-300 \ --title=' Localhost - Load Average' \ --rigid \ --base=1000 \ --height=120 \ --width=500 \ --alt-autoscale-max \ --lower-limit=0 \ --units-exponent='0' \ --vertical-label='processes in the run queue' \ --slope-mode \ --font TITLE:10: \ --font AXIS:7: \ --font LEGEND:8: \ --font UNIT:7: \ DEF:a="/var/lib/cacti/rra/localhost_load_1min_5.rrd":load_1min: AVERAGE \ DEF:b="/var/lib/cacti/rra/localhost_load_1min_5.rrd":load_5min: AVERAGE \ DEF:c="/var/lib/cacti/rra/localhost_load_1min_5.rrd":load_15min: AVERAGE \ CDEF:cdefg=TIME,1417293918, GT,a,a, UN,0,a, IF, IF, TIME,1417293918, GT,b,b, UN,0,b, IF, IF, TIME,1417293918, GT,c,c, UN,0,c, IF, IF, , \ AREA:a#EACC00FF:"1 Minute Average" \ GPRINT:a: LAST:" Current\:%8.2lf\n" \ AREA:b#EA8F00FF:"5 Minute Average": STACK \ GPRINT:b: LAST:" Current\:%8.2lf\n" \ AREA:c#FF0000FF:"15 Minute Average": STACK \ GPRINT:c: LAST:"Current\:%8.2lf\n" \ LINE1:cdefg#000000FF:"" RRDTool Says: OK If under “RRDTool Says:” you see something about not existing file, then you should check permissions to your rra folder. So this folder should have write permissions for www-data user (or your web server user).If a spot under “RRDTool Says:” is empty, then you should check if rrdtool is working well.

rrd graphs not updating-71rrd graphs not updating-87rrd graphs not updating-7

Go to /etc/php5/apache2/and ensure that you have no popen in disable_functions list.