Graphs not showing data

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

Moderators: Developers, Moderators

skyfox
Posts: 12
Joined: Sat Sep 03, 2011 6:03 am

Graphs not showing data

Post by skyfox »

Hey guys,
Before you say it, I've read all the guides, helps and BSODs favorites. I'm truely sorry if this was something I've missed, but I've read over everything and cant seem to match my issue to any on the forums *yet*. (I'm sure someone will proove me wrong)

Anyhow, I've just set up cacti on a Windows home server. It appears to be working properly, in that I've only got 1 device - a Billion modem. In the logs it shows the data and appears to be gathering correctly.

Graph debug for line attenuation is;

Code: Select all

RRDTool Command:
C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="Billion Router - Line Attenuation" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="decibels" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/8/43.rrd":up_att:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/8/40.rrd":down_att:AVERAGE \
CDEF:cdefa=a,10,/ \
CDEF:cdefe=b,10,/ \
AREA:cdefa#96E78AFF:"Upstream Att."  \
GPRINT:cdefa:LAST:"  Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n"  \
LINE2:cdefe#A150AAFF:"Downstream Att."  \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s" 
RRDTool Says:
OK
I've then installed 'CLOG' to try watch the log a little closer. With full debug logging turned on I get this;

Code: Select all


09/03/2011 11:20:31 AM - WEBLOG: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-60 --title="Billion Router - Line Attenuation" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="decibels" --slope-mode --font TITLE:12: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="C\:/Inetpub/wwwroot/cacti/rra/8/43.rrd":up_att:AVERAGE DEF:b="C\:/Inetpub/wwwroot/cacti/rra/8/40.rrd":down_att:AVERAGE CDEF:cdefa=a,10,/ CDEF:cdefe=b,10,/ AREA:cdefa#96E78AFF:"Upstream Att." GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE2:cdefe#A150AAFF:"Downstream Att." GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
09/03/2011 11:20:31 AM - WEBLOG: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-60 --title="Billion Router - Line Attenuation" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="decibels" --slope-mode --font TITLE:12: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="C\:/Inetpub/wwwroot/cacti/rra/8/43.rrd":up_att:AVERAGE DEF:b="C\:/Inetpub/wwwroot/cacti/rra/8/40.rrd":down_att:AVERAGE CDEF:cdefa=a,10,/ CDEF:cdefe=b,10,/ AREA:cdefa#96E78AFF:"Upstream Att." GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE2:cdefe#A150AAFF:"Downstream Att." GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
09/03/2011 11:20:30 AM - WEBLOG: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-60 --title="Billion Router - Line Attenuation" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="decibels" --slope-mode --font TITLE:12: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="C\:/Inetpub/wwwroot/cacti/rra/8/43.rrd":up_att:AVERAGE DEF:b="C\:/Inetpub/wwwroot/cacti/rra/8/40.rrd":down_att:AVERAGE CDEF:cdefa=a,10,/ CDEF:cdefe=b,10,/ AREA:cdefa#96E78AFF:"Upstream Att." GPRINT:cdefa:LAST:" Current\:%8.2lf %s" GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" LINE2:cdefe#A150AAFF:"Downstream Att." GPRINT:cdefe:LAST:"Current\:%8.2lf %s" GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
09/03/2011 11:20:01 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:/php/php.exe, ARGS: -q C:/Inetpub/wwwroot/cacti/plugins/discovery/findhosts.php]
09/03/2011 11:20:01 AM - SYSTEM STATS: Time:1.0894 Method:cmd.php Processes:4 Threads:N/A Hosts:3 HostsPerProcess:1 DataSources:6 RRDsProcessed:6
09/03/2011 11:20:01 AM - POLLER: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe update C:\Inetpub\wwwroot\cacti\rra\8\45.rrd --template up_speed 1315048800:1020900
09/03/2011 11:20:01 AM - POLLER: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe update C:\Inetpub\wwwroot\cacti\rra\8\44.rrd --template up_snr 1315048800:125
09/03/2011 11:20:01 AM - POLLER: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe update C:\Inetpub\wwwroot\cacti\rra\8\42.rrd --template down_speed 1315048800:5107900
09/03/2011 11:20:01 AM - POLLER: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe update C:\Inetpub\wwwroot\cacti\rra\8\41.rrd --template down_snr 1315048800:57
09/03/2011 11:20:01 AM - POLLER: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe update C:\Inetpub\wwwroot\cacti\rra\8\43.rrd --template up_att 1315048800:250
09/03/2011 11:20:01 AM - POLLER: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe update C:\Inetpub\wwwroot\cacti\rra\8\40.rrd --template down_att 1315048800:450
09/03/2011 11:20:00 AM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
09/03/2011 11:20:00 AM - CMDPHP: Poller[0] Time: 0.0523 s, Theads: N/A, Hosts: 1
09/03/2011 11:20:00 AM - CMDPHP: Poller[0] Host[8] Description[Billion Router] DS[40] Graphs['Billion Router - Line Attenuation'] SNMP: v2: 192.168.1.254, dsname: down_att, oid: .1.3.6.1.2.1.10.94.1.1.2.1.5.3, output: 450
09/03/2011 11:20:00 AM - CMDPHP: Poller[0] Host[8] Description[Billion Router] DS[43] Graphs['Billion Router - Line Attenuation'] SNMP: v2: 192.168.1.254, dsname: up_att, oid: .1.3.6.1.2.1.10.94.1.1.3.1.5.3, output: 250
09/03/2011 11:20:00 AM - CMDPHP: Poller[0] Host[8] Description[Billion Router] DS[41] Graphs['Billion Router - Signal to Noise Ratio'] SNMP: v2: 192.168.1.254, dsname: down_snr, oid: .1.3.6.1.2.1.10.94.1.1.2.1.4.3, output: 57
09/03/2011 11:20:00 AM - CMDPHP: Poller[0] Host[8] Description[Billion Router] DS[42] Graphs['Billion Router - Line Speed'] SNMP: v2: 192.168.1.254, dsname: down_speed, oid: .1.3.6.1.2.1.10.94.1.1.4.1.2.3, output: 5107900
09/03/2011 11:20:00 AM - CMDPHP: Poller[0] Host[8] Description[Billion Router] DS[44] Graphs['Billion Router - Signal to Noise Ratio'] SNMP: v2: 192.168.1.254, dsname: up_snr, oid: .1.3.6.1.2.1.10.94.1.1.3.1.4.3, output: 125
09/03/2011 11:20:00 AM - CMDPHP: Poller[0] Host[8] Description[Billion Router] DS[45] Graphs['Billion Router - Line Speed'] SNMP: v2: 192.168.1.254, dsname: up_speed, oid: .1.3.6.1.2.1.10.94.1.1.5.1.2.3, output: 1020900
As you can see it appears to be getting the SNMP figures but my graphs have no data at all.

Any ideas or suggestions are greatly appreciated.

- Brian
skyfox
Posts: 12
Joined: Sat Sep 03, 2011 6:03 am

Re: Graphs not showing data

Post by skyfox »

I've found a NTFS security permission I'd missed. Fixing now.

Fingers crossed.
skyfox
Posts: 12
Joined: Sat Sep 03, 2011 6:03 am

Re: Graphs not showing data

Post by skyfox »

ARGH!

I've got CMD.EXE having write permission errors when creating a graph.

I've given it full read/write to the wwwroot folder and sub folders - still no better.

Anyone know which folder these graphs are getting made to?
skyfox
Posts: 12
Joined: Sat Sep 03, 2011 6:03 am

Re: Graphs not showing data

Post by skyfox »

For anyone else hitting this problem, it's the execute flag on cmd.exe. Give access to 'Network service' to execute the file.

Fixed that one issue, however, hasnt helped. Still no graphs.

Anyone? Please help. :(
skyfox
Posts: 12
Joined: Sat Sep 03, 2011 6:03 am

Re: Graphs not showing data

Post by skyfox »

Now I'm getting this in my cacti.log

Code: Select all

POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
Installing this is like reverse engineering!
skyfox
Posts: 12
Joined: Sat Sep 03, 2011 6:03 am

Re: Graphs not showing data

Post by skyfox »

Does anyone know the data flow for cacti?

I cant fingure out where this is going wrong.
skyfox
Posts: 12
Joined: Sat Sep 03, 2011 6:03 am

Re: Graphs not showing data

Post by skyfox »

I've added my server to see if I can get ANY data and nope, nothing.

I give up.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Graphs not showing data

Post by BSOD2600 »

since you're at wits end, did you try the Windows installer yet?
skyfox
Posts: 12
Joined: Sat Sep 03, 2011 6:03 am

Re: Graphs not showing data

Post by skyfox »

Yes, didn't help.

I've since installed rptg which is up and running (within minutes). Still wouldn't mind getting cacti running though.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Graphs not showing data

Post by BSOD2600 »

Alright, start with the basics.

Don't enable any of the plugins. Does your localhost appear up and respond to queries? when you manually run php poller.php, does cacti successfully collect and store the data? Scheduled task run every 5 min successfully? Use cmd.php instead of spine.
skyfox
Posts: 12
Joined: Sat Sep 03, 2011 6:03 am

Re: Graphs not showing data

Post by skyfox »

Ok, doing a fresh install now. (cause I'd given up and removed it)
skyfox
Posts: 12
Joined: Sat Sep 03, 2011 6:03 am

Re: Graphs not showing data

Post by skyfox »

Installed and back up.

localhost does not graph either. (Windows Home Server)

It does have the correct figures in debug text, it's just not getting from rrd to graph. (I think.. :-? )
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Graphs not showing data

Post by BSOD2600 »

after looking at your system, it appears everything is working now.
skyfox
Posts: 12
Joined: Sat Sep 03, 2011 6:03 am

Re: Graphs not showing data

Post by skyfox »

Awesome!

What did you tweak? (e.g. What had I done wrong... :D)
skyfox
Posts: 12
Joined: Sat Sep 03, 2011 6:03 am

Re: Graphs not showing data

Post by skyfox »

I'm not sure what I've now done, but I've broken the Billion router graphs. The rest are still working, just the modems are broken.

How can I diagnose this?

I should point out the graphs show the current figures properly. (Not like before where they said -1.#J) It's just not graphing the figures.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests