[solved] Graphs not showing up

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

Moderators: Developers, Moderators

Post Reply
splash08
Posts: 7
Joined: Wed Jul 02, 2008 7:25 am

[solved] Graphs not showing up

Post by splash08 »

Hi

Im running windows 2003 server and ive use the Windows Installer [v1.8] and already added the weathermap plugin to the cacti (but havent done anything with it apart from actiavet it), ive added a few devices already but when i click on the Graphs nothing comes up, it just has a white box wth a red cross on it.

Ive tried looking on the forum for answers but had no luck so far. I had to make a change so my scheduled task now runs but still no graphs come up, SNMP is switched on and seems to be working as i get the snmp info once ive added a new device.

When i go into Graph Management then in the local host graph that is alreayd there i get the below RRDTool command.

RRDTool Command:

e:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="localhost - Used Space - C: Label: Seri" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_8.rrd":hdd_total:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_8.rrd":hdd_used:AVERAGE \
AREA:a#002A97FF:"Total" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
AREA:b#F51D30FF:"Used" \
GPRINT:b:LAST:" Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:

ERROR: opening 'C:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_8.rrd': No such file or directory


Ive so done the debug log and attached it here, can someone help me please as it really starting to get to me (sad i know)

Cheers
Attachments
cacti.txt
hopefully this is correct...
(70.66 KiB) Downloaded 249 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Did you look in the log file you posted?
Host[2] SNMP: Host did not respond to SNMP

I believe this is your localhost. If it is, until you fix the snmp issue, you won't be getting any graphs.

Do you see the snmp uptime info for the localhost in the top left corner?
splash08
Posts: 7
Joined: Wed Jul 02, 2008 7:25 am

Post by splash08 »

i didnt realise it could be a SNMP error as i get SNMP info for all devices, except the local host. For the local host it just says SNMP error.

I have SNMP installed and both SNMP service and SNMP trap service running automactially, and i checked the setting - paths and all the net snmp points correctly (i have put it on a different drive on the server but it has still found it correctly, any ideas on what else it could be?
splash08
Posts: 7
Joined: Wed Jul 02, 2008 7:25 am

Post by splash08 »

I managed to get it working i had to change the settings for the local host to SNMP version 1 and made sure it was using the windows host template.

On the devices screen it now says the status of the local host is Up but all the other devices it just says Unknown (even though they all have SNMP info) do u i need to create a graph for them before i can get a status?

Even though i can now get a graph for a the local host, when i went to create a graph for a device that i had added no graph appears, so i switched Graph Debug Mode on and it came up with the below message, which still seems to be that it cant find the rdd files

RRDTool Command:

e:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Birmingham (MCI:W0L03529) - Traffic - Se5/5:0" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/birmingham_mciw0l03529_traffic_in_11.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/birmingham_mciw0l03529_traffic_in_11.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"
RRDTool Says:

ERROR: opening 'C:/Inetpub/wwwroot/cacti/rra/birmingham_mciw0l03529_traffic_in_11.rrd': No such file or directory
splash08
Posts: 7
Joined: Wed Jul 02, 2008 7:25 am

Post by splash08 »

My bad

i was impatient and now ive gone back to it it appears the graph i had created has now been created

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

Post by BSOD2600 »

You didn't wait 10 min for the data to get collected.
ahk
Posts: 1
Joined: Thu Dec 18, 2008 4:06 am

graph without description and legend

Post by ahk »

hi,

in my installation i can see the graph but not any description (like bit/sec, legend etc..). it is just like a graph paper without a single letter. please help me fixing this issue.

thanks in advance.
charlesdf23
Cacti User
Posts: 77
Joined: Thu Nov 13, 2008 2:30 pm

Post by charlesdf23 »

I had a similar issue with Redhat related to rrdtool. Try an older version and see if that works better.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests