Graph shown but no data in graph

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
senikamake
Posts: 4
Joined: Tue Jul 24, 2012 2:28 am

Graph shown but no data in graph

Post by senikamake »

Please help my issue, i'm a newbie of cacti. Thank you.

General Information
Date Thu, 29 Aug 2013 17:35:07 +0800
Cacti Version 0.8.8a
Cacti OS win32
SNMP Version NET-SNMP version: 5.6.1.1
RRDTool Version RRDTool 1.2.x
Hosts 2
Graphs 9
Data Sources Script/Command: 5
SNMP Query: 5
Total: 10

Poller Information
Interval 60
Type cmd.php
Items Action[0]: 10
Action[1]: 5
Total: 15
Concurrent Processes 1
Max Threads 1
PHP Servers 1
Script Timeout 25
Max OID 10
Last Run Statistics Time:2.2346 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:7 RRDsProcessed:1

PHP Information
PHP Version 5.2.6
PHP OS WINNT
PHP uname Windows NT TRUE-4E300E9D5B 5.1 build 2600
PHP SNMP Not Installed
max_execution_time 30
memory_limit 24M

PHP Module Information
apache2handler

Apache Version Apache/2.2.8 (Win32) PHP/5.2.6
Apache API Version 20051115
Server Administrator make@hotmail.com
Hostname:Port localhost:80
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server No
Server Root C:/AppServ/Apache2.2
Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_imagemap mod_include mod_isapi mod_log_config mod_mime mod_negotiation mod_setenvif mod_userdir mod_php5

Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0

Apache Environment

Variable Value
HTTP_HOST localhost
HTTP_CONNECTION keep-alive
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36
HTTP_REFERER http://localhost/cacti/utilities.php
HTTP_ACCEPT_ENCODING gzip,deflate,sdch
HTTP_ACCEPT_LANGUAGE th-TH,th;q=0.8
HTTP_COOKIE Cacti=9b701d5192cc2ef11b5a073eb351ffe0; clickedFolder=tree_1%5Etree_1_leaf_8%5Etree_1_leaf_7%5E; highlightedTreeviewLink=tree_1_leaf_8
PATH C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
SystemRoot C:\WINDOWS
COMSPEC C:\WINDOWS\system32\cmd.exe
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
WINDIR C:\WINDOWS
SERVER_SIGNATURE <address>Apache/2.2.8 (Win32) PHP/5.2.6 Server at localhost Port 80</address>
SERVER_SOFTWARE Apache/2.2.8 (Win32) PHP/5.2.6
SERVER_NAME localhost
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 127.0.0.1
DOCUMENT_ROOT C:/AppServ/www
SERVER_ADMIN make@hotmail.com
SCRIPT_FILENAME C:/AppServ/www/cacti/utilities.php
REMOTE_PORT 4422
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING action=view_tech
REQUEST_URI /cacti/utilities.php?action=view_tech
SCRIPT_NAME /cacti/utilities.php


c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=1377682817 \
--end=1377769217 \
--title="Modem Zyxel - Traffic - aal5-0/150000" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit="0" \
COMMENT:"From 2013/08/28 17\:40\:17 To 2013/08/29 17\:40\:17\c" \
COMMENT:" \n" \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="C\:/AppServ/www/cacti/rra/modem_zyxel_traffic_in_10.rrd":"traffic_in":AVERAGE \
DEF:b="C\:/AppServ/www/cacti/rra/modem_zyxel_traffic_in_10.rrd":"traffic_out":AVERAGE \
CDEF:cdefa="a,8,*" \
CDEF:cdefe="b,8,*" \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"
Attachments
no data in graph.JPG
no data in graph.JPG (124.46 KiB) Viewed 2562 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Graph shown but no data in graph

Post by BSOD2600 »

1) switch back to 5 min polling. 1 min polling is NOT easy to configure for a noobie.
2) define an default rrdtool font in settings.
senikamake
Posts: 4
Joined: Tue Jul 24, 2012 2:28 am

Re: Graph shown but no data in graph

Post by senikamake »

I found log cacti below and already set rrdtoolfont. I suspect why my cacti log has no debug log.

08/30/2013 08:52:18 AM - SYSTEM STATS: Time:17.8467 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:15 RRDsProcessed:5
08/30/2013 08:52:18 AM - CMDPHP: Poller[0] Host[2] DS[12] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:52:17 AM - CMDPHP: Poller[0] Host[2] DS[12] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:52:17 AM - CMDPHP: Poller[0] Host[2] DS[11] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:52:16 AM - CMDPHP: Poller[0] Host[2] DS[11] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:52:15 AM - CMDPHP: Poller[0] Host[2] DS[10] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:52:15 AM - CMDPHP: Poller[0] Host[2] DS[10] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:52:14 AM - CMDPHP: Poller[0] Host[2] DS[9] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:52:13 AM - CMDPHP: Poller[0] Host[2] DS[9] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:52:13 AM - CMDPHP: Poller[0] Host[2] DS[8] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:52:12 AM - CMDPHP: Poller[0] Host[2] DS[8] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:47:17 AM - SYSTEM STATS: Time:17.4068 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:15 RRDsProcessed:5
08/30/2013 08:47:17 AM - CMDPHP: Poller[0] Host[2] DS[12] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:47:17 AM - CMDPHP: Poller[0] Host[2] DS[12] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:47:16 AM - CMDPHP: Poller[0] Host[2] DS[11] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:47:16 AM - CMDPHP: Poller[0] Host[2] DS[11] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:47:15 AM - CMDPHP: Poller[0] Host[2] DS[10] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:47:14 AM - CMDPHP: Poller[0] Host[2] DS[10] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:47:14 AM - CMDPHP: Poller[0] Host[2] DS[9] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:47:13 AM - CMDPHP: Poller[0] Host[2] DS[9] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:47:13 AM - CMDPHP: Poller[0] Host[2] DS[8] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:47:12 AM - CMDPHP: Poller[0] Host[2] DS[8] WARNING: Result from SNMP not valid. Partial Result: U
08/30/2013 08:42:18 AM - SYSTEM STATS: Time:16.9357 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:15 RRDsProcessed:5


c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=1377740987 \
--end=1377827387 \
--title="Modem Zyxel - Traffic - aal5-0/150000" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit="0" \
COMMENT:"From 2013/08/29 09\:49\:47 To 2013/08/30 09\:49\:47\c" \
COMMENT:" \n" \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10:C:\\\\dejavu-fonts-ttf-2.34\\\\ttf\\\\DejaVuSansMono.ttf \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="C\:/AppServ/www/cacti/rra/modem_zyxel_traffic_in_10.rrd":"traffic_in":AVERAGE \
DEF:b="C\:/AppServ/www/cacti/rra/modem_zyxel_traffic_in_10.rrd":"traffic_out":AVERAGE \
CDEF:cdefa="a,8,*" \
CDEF:cdefe="b,8,*" \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"
Attachments
rrdtool.JPG
rrdtool.JPG (59.14 KiB) Viewed 2544 times
rrdtool-font.JPG
rrdtool-font.JPG (65.19 KiB) Viewed 2544 times
canislupus
Posts: 8
Joined: Tue Jun 30, 2009 2:27 am
Location: Germany - Frankfurt

Re: Graph shown but no data in graph

Post by canislupus »

Hi,
Please use always a slash (/) instead of backslashes (\); usage should be like c:/dejavue-fonts/ttf/myfont.ttf

I have had the same issue with some Apache versions and I could solve my problem (Windows system) with the following versions:

Apache 2.2.21-win32-x86-no_ssl
PHP 5.2.17-win32-vc6-x86
MYSQL 5.5.20-winx64

Hope this helps...
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests