Hi guys,
I have centos 7.1 server, i new user in cacti and graph in web is blank, i dont have idea for this problem, please help me.
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-60' \
--title='Cacti NAP Chile - Traffic - eth0' \
--rigid \
--base='1000' \
--height='100' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='Bits por Segundo' \
--slope-mode \
--font TITLE:10: \
--font AXIS:6: \
--font LEGEND:7: \
--font UNIT:8: \
DEF:a='/var/www/html/cacti/rra/cacti_nap_chile_traffic_in_61.rrd':'traffic_in':AVERAGE \
DEF:b='/var/www/html/cacti/rra/cacti_nap_chile_traffic_in_61.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdefc='a,8,*,100000000,/,100,*' \
CDEF:cdefh='b,8,*' \
CDEF:cdefj='b,8,*,100000000,/,100,*' \
AREA:cdefa#00CF00FF:'ENTRADA (IN)' \
GPRINT:cdefa:LAST:'Actual\:%8.2lf%s' \
GPRINT:cdefc:LAST:'(%2.1lf%%)' \
GPRINT:cdefa:AVERAGE:'Promedio\:%8.2lf%s' \
GPRINT:cdefc:AVERAGE:'(%2.1lf%%)' \
GPRINT:cdefa:MAX:'Maximo\:%8.2lf%s' \
GPRINT:cdefc:MAX:'(%2.1lf%%)\n' \
LINE1:cdefh#002A97FF:'SALIDA (OUT)' \
GPRINT:cdefh:LAST:'Actual\:%8.2lf%s' \
GPRINT:cdefj:LAST:'(%2.1lf%%)' \
GPRINT:cdefh:AVERAGE:'Promedio\:%8.2lf%s' \
GPRINT:cdefj:AVERAGE:'(%2.1lf%%)' \
GPRINT:cdefh:MAX:'Maximo\:%8.2lf%s' \
GPRINT:cdefj:MAX:'(%2.1lf%%)\n' \
COMMENT:'Interface Cacti NAP Chile enp3s0\n' \
COMMENT:'Tue 23 Aug 11\:25\:01 CLT 2016\n'
RRDTool Says:
OK
Cat cacti.log
08/23/2016 11:06:00 AM - SYSTEM STATS: Time:58.8503 Method:spine Processes:1 Threads:1 Hosts:34 HostsPerProcess:34 DataSources:156 RRDsProcessed:0
08/23/2016 11:06:08 AM - EXPORT STATS: ExportDate:2016-08-23_11:06:08 ExportDuration:7.9737 TotalGraphsExported:858
08/23/2016 11:10:01 AM - POLLER: Poller[0] NOTE: Poller Int: '60', Cron Int: '60', Time Since Last: '300', Max Runtime '58', Poller Runs: '1'
08/23/2016 11:10:01 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '60' seconds, with a maximum of a '60' second Cron, but 300 seconds have passed since the last poll!
08/23/2016 11:11:00 AM - POLLER: Poller[0] Maximum runtime of 58 seconds exceeded. Exiting.
08/23/2016 11:11:00 AM - SYSTEM STATS: Time:58.8925 Method:spine Processes:1 Threads:1 Hosts:34 HostsPerProcess:34 DataSources:156 RRDsProcessed:0
Thanks for your help.
NO Data in Graph
Moderators: Developers, Moderators
Re: NO Data in Graph
Any help for this problem?
Add poller-error.log
/usr/local/spine/spine: error while loading shared libraries: libnetsnmp.so.15: cannot open shared object file: No such file or directory
ERROR: opening '/var/www/html/cacti/rra/36/235.rrd': No existe el fichero o el directorio
ERROR: opening '/var/www/html/cacti/rra/36/236.rrd': No existe el fichero o el directorio
ERROR: opening '/var/www/html/cacti/rra/38/244.rrd': No existe el fichero o el directorio
ERROR: opening '/var/www/html/cacti/rra/38/245.rrd': No existe el fichero o el directorio
ERROR: opening '/var/www/html/cacti/rra/40/253.rrd': No existe el fichero o el directorio
ERROR: opening '/var/www/html/cacti/rra/40/254.rrd': No existe el fichero o el directorio
...............................
Thanks guys.
Add poller-error.log
/usr/local/spine/spine: error while loading shared libraries: libnetsnmp.so.15: cannot open shared object file: No such file or directory
ERROR: opening '/var/www/html/cacti/rra/36/235.rrd': No existe el fichero o el directorio
ERROR: opening '/var/www/html/cacti/rra/36/236.rrd': No existe el fichero o el directorio
ERROR: opening '/var/www/html/cacti/rra/38/244.rrd': No existe el fichero o el directorio
ERROR: opening '/var/www/html/cacti/rra/38/245.rrd': No existe el fichero o el directorio
ERROR: opening '/var/www/html/cacti/rra/40/253.rrd': No existe el fichero o el directorio
ERROR: opening '/var/www/html/cacti/rra/40/254.rrd': No existe el fichero o el directorio
...............................
Thanks guys.
Re: NO Data in Graph
Run log en developer debug level
08/26/2016 04:41:06 PM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/26/2016 04:41:06 PM - CMDPHP: Poller[0] DEVEL: SQL Cell: "SELECT count(*) FROM poller_time WHERE poller_id=0 AND end_time>'0000-00-00 00:00:00'"
All graphs in cacti web is -nan values....
Please help
Thanks for your helps guys.
08/26/2016 04:41:06 PM - CMDPHP: Poller[0] DEVEL: SQL Assoc: "select poller_output.output, poller_output.time, UNIX_TIMESTAMP(poller_output.time) as unix_time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) order by poller_output.local_data_id LIMIT 10000"
08/26/2016 04:41:06 PM - CMDPHP: Poller[0] DEVEL: SQL Cell: "SELECT count(*) FROM poller_time WHERE poller_id=0 AND end_time>'0000-00-00 00:00:00'"
All graphs in cacti web is -nan values....
Please help
Thanks for your helps guys.
Last edited by rocaflqu on Fri Aug 26, 2016 2:58 pm, edited 1 time in total.
Re: NO Data in Graph
Anyone help me or not?
Thanks.
Thanks.
Re: NO Data in Graph
You seem to have a problem with spine, either recompile it from source, or try switching to cmd.php to see if that works (and also up the number of poller processes)/usr/local/spine/spine: error while loading shared libraries: libnetsnmp.so.15: cannot open shared object file: No such file or directory
Re: NO Data in Graph
Hi and thanks for your help, change to cmd.php and finally graph ping works fine, but the graph for traffic interface show nan values:cigamit wrote:You seem to have a problem with spine, either recompile it from source, or try switching to cmd.php to see if that works (and also up the number of poller processes)/usr/local/spine/spine: error while loading shared libraries: libnetsnmp.so.15: cannot open shared object file: No such file or directory
- snmpwalk 192.168.173.250 -v 2c -c -------- .1.3.6.1.2.1.31.1.1.1.6.4227713
IF-MIB::ifHCInOctets.4227713 = Counter64: 108332541 (work)
-Rddtool say OK
- Poller setting is set in 5 min.
Cacti.log
08/29/2016 01:40:03 PM - CMDPHP: Poller[0] Host[3] DS[252] SNMP: v2: 192.168.173.250, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.4227729, output: 0
08/29/2016 01:40:03 PM - CMDPHP: Poller[0] Host[3] DS[252] SNMP: v2: 192.168.173.250, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.4227729, output: 0
08/29/2016 01:40:03 PM - CMDPHP: Poller[0] Host[3] DS[255] SNMP: v2: 192.168.173.250, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.4227713, output: 50425504232
08/29/2016 01:40:03 PM - CMDPHP: Poller[0] Host[3] DS[255] SNMP: v2: 192.168.173.250, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.4227713, output: 108369829
08/29/2016 01:40:03 PM - CMDPHP: Poller[0] Host[3] DS[281] CMD: perl /var/www/html/cacti/scripts/ping.pl 192.168.173.250, output: 12.3
I need restart httpd, snmpd, mariadb service?
Thanks guys.
Who is online
Users browsing this forum: No registered users and 1 guest