No Graphs Showing

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

Moderators: Developers, Moderators

Post Reply
kontrol
Posts: 1
Joined: Wed Apr 03, 2013 4:07 am

No Graphs Showing

Post by kontrol »

Hi,

I have scoured the forum and everywhere else I could find, read as much as my eyes can take and tried all the ideas and suggestions I came across in the past 2 days but I'm still having issues with no graphs being displayed.

I have installed Cacti to my laptop details are:

Win 7 x64
PHP 5.3.21
IIS 7
Net-SNMP 5.5
RRDTool 1.4.x
poller.php scheduled every 5 mins using administrator
PHP, USR, Inetpub folders all have everyone full control and IUSR is owner.

The cacti.log is as follows:

04/03/2013 10:10:04 AM - SYSTEM STATS: Time:2.6003 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:8 RRDsProcessed:5
04/03/2013 10:10:04 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\cacti\rra\localhost_ping_19.rrd --template ping 1364980204:U
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Time: 0.1827 s, Theads: N/A, Hosts: 2
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[5] DS[19] CMD: perl C:/inetpub/wwwroot/cacti/scripts/ping.pl 127.0.0.1, output: U
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[5] DS[19] WARNING: Result from CMD not valid. Partial Result: U
04/03/2013 10:10:04 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\cacti\rra\router_5min_cpu_18.rrd --template 5min_cpu 1364980204:1
04/03/2013 10:10:04 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\cacti\rra\router_traffic_in_14.rrd --template traffic_in:traffic_out 1364980204:2209115283:1391160059
04/03/2013 10:10:04 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\cacti\rra\router_traffic_in_13.rrd --template traffic_in:traffic_out 1364980204:1389063524:3508504225
04/03/2013 10:10:04 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\inetpub\wwwroot\cacti\rra\router_traffic_in_17.rrd --template traffic_out:traffic_in 1364980204:2625192180:727654230
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[5] PING: UDP Ping Success (0.1 ms)
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] DS[17] SNMP: v2: 10.4.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 2625192180
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] DS[13] SNMP: v2: 10.4.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 1389063524
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] DS[13] SNMP: v2: 10.4.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 3508504225
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] DS[14] SNMP: v2: 10.4.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 2209115283
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] DS[14] SNMP: v2: 10.4.1.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 1391160059
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] DS[18] SNMP: v2: 10.4.1.2, dsname: 5min_cpu, oid: .1.3.6.1.4.1.9.2.1.58.0, output: 1
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] DS[17] SNMP: v2: 10.4.1.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 727654230
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.9, output: ATM0/0/0-atm layer
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.9
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.8, output: Null0
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.8
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.7, output: Ethernet0/1/0
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.7
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.6, output: Ethernet0/0/0
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.6
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.5, output: GigabitEthernet0/1
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.5
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.4, output: GigabitEthernet0/0
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.4
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.3, output: Embedded-Service-Engine0/0
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.3
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.25, output: Virtual-Access4
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.25
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.24, output: Virtual-Access3
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.24
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.23, output: Virtual-Access2
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.23
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.22, output: Virtual-Access1
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.22
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.21, output: Dialer1
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.21
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.20, output: ATM0/1/0-adsl
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.20
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.2, output: ATM0/1/0
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.2
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.19, output: ATM0/0/0-adsl
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.19
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.18, output: Ethernet0/1/0-vdsl2
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.18
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.17, output: Ethernet0/0/0-vdsl2
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.17
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.16, output: ATM0/1/0.0-aal5 layer
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.16
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.15, output: ATM0/1/0-aal5 layer
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.15
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.14, output: ATM0/1/0.0-atm subif
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.14
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.13, output: ATM0/1/0-atm layer
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.13
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.12, output: ATM0/0/0.0-aal5 layer
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.12
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.11, output: ATM0/0/0-aal5 layer
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.11
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.10, output: ATM0/0/0.0-atm subif
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.10
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.1, output: ATM0/0/0
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE DQ[1] OID: .1.3.6.1.2.1.2.2.1.2.1
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] RECACHE: Processing 25 items in the auto reindex cache for '10.4.1.2'.
04/03/2013 10:10:04 AM - CMDPHP: Poller[0] Host[4] SNMP: Host responded to SNMP
04/03/2013 10:10:02 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php.exe, ARGS: -q "c:/inetpub/wwwroot/cacti/cmd.php" 0 5]

RRDTool Debug shows:
RRDTool Command:

c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-30 \
--title="Router - Traffic - AT0/0/0" \
--rigid \
--base=1000 \
--height=120 \
--width=600 \
--alt-autoscale \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="C\:/inetpub/wwwroot/cacti/rra/router_traffic_in_13.rrd":"traffic_in":AVERAGE \
DEF:b="C\:/inetpub/wwwroot/cacti/rra/router_traffic_in_13.rrd":"traffic_in":MAX \
DEF:c="C\:/inetpub/wwwroot/cacti/rra/router_traffic_in_13.rrd":"traffic_out":AVERAGE \
DEF:d="C\:/inetpub/wwwroot/cacti/rra/router_traffic_in_13.rrd":"traffic_out":MAX \
CDEF:cdefa="a,8,*" \
CDEF:cdefe="b,8,*" \
CDEF:cdeff="c,8,*,-1,*" \
CDEF:cdefg="c,8,*" \
CDEF:cdefj="d,8,*,-1,*" \
AREA:cdefa#00FF0099:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
LINE1:cdefe#005D57FF:"Peak Usage\n" \
AREA:cdeff#00A0FF99:"Outbound" \
GPRINT:cdefg:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefg:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefg:MAX:"Maximum\:%8.2lf %s" \
LINE1:cdefj#0000AAFF:"Peak Usage\n"

RRDTool Says:

OK

I can run poller.php and cmd.php from the command line with no errors, the .rrd files are in rra dir and I deleted them and cacti recreated them (to make sure they weren't damaged)
I have rebuilt the database and rebuilt the poller cache too.

Graph page shows:
Image

I am stumped at the moment. I hope I haven't missed anything and I appreciate any help I can get before I pull my hair out (what's left of it anyway!)

Thanks
Brady
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: No Graphs Showing

Post by BSOD2600 »

1) did you use the installer or manually install Cacti?
2) double-check the permissions on cmd.exe and rrdtool.exe allow IIS_USRS read/execute.
3) last resort would be using sysinternals process monitor to check for access denied errors (guide in my signature).
pkttuong
Posts: 10
Joined: Thu Jul 25, 2013 8:38 pm

Re: No Graphs Showing

Post by pkttuong »

Hi,

I have some problems

1. When i run 2 commands
C:\>C:\AppServ\php5\php.exe C:\AppServ\www\cacti\poller.php
07/26/2013 09:55:13 AM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Scheduled Task, but 306 seconds have passed since the last poll!
C:\>C:\AppServ\php5\php.exe C:\AppServ\www\cacti\cmd.php
07/26/2013 09:56:49 AM - CMDPHP: Poller[0] Host[2] DS[13] WARNING: Result from S
NMP not valid. Partial Result: No Such Instance cur
07/26/2013 09:56:49 AM - CMDPHP: Poller[0] Host[2] DS[13] WARNING: Result from S
NMP not valid. Partial Result: No Such Instance cur
07/26/2013 09:56:49 AM - CMDPHP: Poller[0] Host[2] DS[14] WARNING: Result from S
NMP not valid. Partial Result: No Such Instance cur
07/26/2013 09:56:49 AM - CMDPHP: Poller[0] Host[2] DS[14] WARNING: Result from S
NMP not valid. Partial Result: No Such Instance cur
07/26/2013 09:56:49 AM - CMDPHP: Poller[0] Host[2] DS[86] WARNING: Result from S
NMP not valid. Partial Result: No Such Instance cur
...........
2. Graph Debug
RRDTool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="R7206-QTI - Traffic - Gi0/1.100" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12:C:\rrdtool\DejaVuSansMono-Roman.ttf \
--font AXIS:8:C:\rrdtool\DejaVuSansMono-Roman.ttf \
--font LEGEND:9:C:\rrdtool\DejaVuSansMono-Roman.ttf \
--font UNIT:8:C:\rrdtool\DejaVuSansMono-Roman.ttf \
DEF:a="C\:/AppServ/www/cacti/rra/r7206-qti_traffic_in_2643.rrd":traffic_in:AVERAGE \
DEF:b="C\:/AppServ/www/cacti/rra/r7206-qti_traffic_in_2643.rrd":traffic_in:MAX \
DEF:c="C\:/AppServ/www/cacti/rra/r7206-qti_traffic_in_2643.rrd":traffic_out:AVERAGE \
DEF:d="C\:/AppServ/www/cacti/rra/r7206-qti_traffic_in_2643.rrd":traffic_out:MAX \
CDEF:cdefc= \
CDEF:cdefd= \
CDEF:cdefe= \
AREA:a#00CF00FF:"Inbound" \
GPRINT:a:LAST:" Current\:%8.3lf %s" \
GPRINT:cdefc:AVERAGE:"Average\:%8.3lf %s" \
GPRINT:cdefd:MAX:"Maximum\:%8.3lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.3lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.3lf %s" \
GPRINT:d:MAX:"Maximum\:%8.3lf %s\n"
RRDTool Says:
1 [main] rrdtool 3376 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
3. No show graph on cacti
and the last
CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1054', SQL:"SELECT graph_tree_items.id, graph_tree_items.title, graph_tree_items.order_key, graph_tree_items.host_id, graph_tree_items.host_grouping_type, host.description as hostname FROM graph_tree_items LEFT JOIN host ON (host.id=graph_tree_items.host_id) LEFT JOIN graph_templates ON (graph_templates_graph.graph_template_id=graph_templates.id) LEFT JOIN user_auth_perms ON ((graph_templates_graph.local_graph_id=user_auth_perms.item_id and user_auth_perms.type=1 AND user_auth_perms.user_id=1) OR (host.id=user_auth_perms.item_id AND user_auth_perms.type=3 AND user_auth_perms.user_id=1) OR (graph_templates.id=user_auth_perms.item_id AND user_auth_perms.type=4 AND user_auth_perms.user_id=1)) WHERE graph_tree_items.graph_tree_id=7 AND ((user_auth_perms.type != 1 OR user_auth_perms.type is null) AND ((user_auth_perms.type != 3) OR (user_auth_perms.type is null)) AND ((user_auth_perms.type != 4) OR (user_auth_perms.type is null))) AND graph_tree_items.local_graph_id = 0 ORDER BY graph_tree_items.order_key"

Date thursday, 25 July 2013, 9 a.m
Cacti Version 0.8.7b
Cacti OS win 2003 R2
SNMP Version net-snmp
RRDTool Version RRDTool 1.2.x


Please tell me anything about debug some that errors
Many thanks
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: No Graphs Showing

Post by BSOD2600 »

pkttuong:
1) really should create your own post as you do not have the same issue or environment as the OP.
2) Using 0.8.7b?? you need to upgrade to 0.8.8a.
3) The rrdtool STATUS_ACCESS_VIOLATION is one issue. Sounds like a crash. What version are you using?
4) The "Result from SNMP not valid. Partial Result: No Such Instance cur" is another issue that shows invalid OIDs are being used. Follow http://forums.cacti.net/viewtopic.php?f=3&t=11747 to troubleshoot.
pkttuong
Posts: 10
Joined: Thu Jul 25, 2013 8:38 pm

Re: No Graphs Showing

Post by pkttuong »

i use rrdtool1.2.15
I try with 1.2.30?

Thanks
pkttuong
Posts: 10
Joined: Thu Jul 25, 2013 8:38 pm

Re: No Graphs Showing

Post by pkttuong »

Hi

I use rrdtool 1.2.15 still ok
but graphs on this router is ok, but that's not ok?
why?

thanks in advance
pkttuong
Posts: 10
Joined: Thu Jul 25, 2013 8:38 pm

Re: No Graphs Showing

Post by pkttuong »

RRDTool Command:
D:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="7609IXP-DNG1 - Traffic" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit="0" \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12:C:\\rrdtool\\DejaVuSansMono-Roman.ttf \
--font AXIS:8:C:\\rrdtool\\DejaVuSansMono-Roman.ttf \
--font LEGEND:9:C:\\rrdtool\\DejaVuSansMono-Roman.ttf \
--font UNIT:8:C:\\rrdtool\\DejaVuSansMono-Roman.ttf \
DEF:a="C\:/AppServ/www/cacti/rra/gw-backbone-7609_traffic_in_282.rrd":"traffic_in":AVERAGE \
DEF:b="C\:/AppServ/www/cacti/rra/gw-backbone-7609_traffic_in_282.rrd":"traffic_out":AVERAGE \
CDEF:cdefc="" \
CDEF:cdefe="" \
AREA:a#00CF00FF:"Inbound" \
GPRINT:a:LAST:" Current\:%8.3lf %s" \
GPRINT:cdefc:AVERAGE:"Average\:%8.3lf %s" \
GPRINT:cdefc:MAX:"Maximum\:%8.3lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.3lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.3lf %s" \
GPRINT:b:MAX:"Maximum\:%8.3lf %s\n"
RRDTool Says:
" blank "

But another router


RRDTool Command:
D:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="GW-KTM - Traffic - Fa1/1.22" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit="0" \
--vertical-label="bytes per second" \
--slope-mode \
--font TITLE:12:C:\\rrdtool\\DejaVuSansMono-Roman.ttf \
--font AXIS:8:C:\\rrdtool\\DejaVuSansMono-Roman.ttf \
--font LEGEND:9:C:\\rrdtool\\DejaVuSansMono-Roman.ttf \
--font UNIT:8:C:\\rrdtool\\DejaVuSansMono-Roman.ttf \
DEF:a="C\:/AppServ/www/cacti/rra/gw-ktm_traffic_in_1991.rrd":"traffic_in":AVERAGE \
DEF:b="C\:/AppServ/www/cacti/rra/gw-ktm_traffic_in_1991.rrd":"traffic_out":AVERAGE \
AREA:a#00CF00FF:"Inbound" \
GPRINT:a:LAST:" Current\:%8.3lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.3lf %s" \
GPRINT:a:MAX:"Maximum\:%8.3lf %s" \
COMMENT:"Total In\: 89.2 KB\n" \
LINE1:b#002A97FF:"Outbound" \
GPRINT:b:LAST:"Current\:%8.3lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.3lf %s" \
GPRINT:b:MAX:"Maximum\:%8.3lf %s" \
COMMENT:"Total Out\: 72.87 KB"
RRDTool Says:
OK
and have graphs

Please give me anything to resolve this case
SergeyCr
Posts: 1
Joined: Wed Jul 31, 2013 3:24 am

Re: No Graphs Showing

Post by SergeyCr »

Hello there! Sorry for my bad english.

I've got a same problem here. OS W7x32 PHP 5.4.7 RRDtool 1.4.4 Net-SNMP 5.6.1.1 Cacti 0.8.8a. Running spine from admin each 5 min.
RRD files are created and filled with info, but graphs do not display.
If I run a bat file with a command like

Code: Select all

c:/rrdtool/rrdtool.exe graph test.png --imgformat=PNG --start=1375173142 --end=1375259542 --title="localhost - CPU Utilization - CPU0" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit="0" COMMENT:"From 2013/07/30 10\:32\:22 To 2013/07/31 10\:32\:22\c" COMMENT:"  \n" --vertical-label="percent" --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="C\:/xampp/htdocs/cacti/rra/localhost_cpu_11.rrd":"cpu":AVERAGE AREA:a#FF0000FF:"CPU Utilization"
it produces a valid test.png file, which can be opened via any png supported viewer.
However, if I point a browser to something like

Code: Select all

http://server/cacti/graph_image.php?local_graph_id=8&rra_id=0&graph_height=100&graph_width=300&graph_nolegend=true&graph_start=1375170004&graph_end=1375256404
IE displays a broken image icon, FF says "Image _path here_ cannot be showed because it contains errors."
I've saved it into a file, and inside it looks like a valid PNG file - but it can't be opened by any program, they all say that file structure is invalid.

Any help with this issue?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests