[solved] Hardware crash/ No Graphs are generating.

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

Moderators: Developers, Moderators

Post Reply
kdsm
Posts: 41
Joined: Thu Mar 17, 2005 5:00 pm

[solved] Hardware crash/ No Graphs are generating.

Post by kdsm »

Some time back I installed the cacti software on a windows 2003 server and for many years it ran without any support from me until one day I tried to log in to take a look at a graph. I found that the hardware had failed.
So I pulled the hard drive and generated an image of the OS and restored it to different computer hardware.
The server (cacti) seems to be running fine. It's polling ever 5 mins but I'm not getting any graphs built.

Here are my specs
Windows server 2003
Cacti version 0.8.7g
rrdtool version 1.2.30

I do have the following error message under the technical support page
ERROR: Installed RRDTool version does not match configured version.
Please visit the Configuration Settings and select the correct RRDTool Utility Version.

In the General Cacti settings I have 1.2.x selected from the drop down menu.
All the path show ok in the Cacti path settings.
If I run the rddtool.exe from a dos prompt on the server it does not show any errors.

I turned on debug in Data Source and it displayed this
Data Source Debug

C:/rrdtool/rrdtool.exe create \
C:/Inetpub/wwwroot/cacti/rra/10/35.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:1000000000 \
DS:traffic_out:COUNTER:600:0:1000000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \

I have uploaded a text file with a copy of my cacti log.

I have also noticed in one of the dos windows that pop up in the server has a message that says
"waiting on 2 of 2 pollers". Not sure if this has a an meaning or not..


Can someone direct me on what to check or change to get it working again.

thanks
Attachments
log.txt
(74.76 KiB) Downloaded 121 times
kdsm
Posts: 41
Joined: Thu Mar 17, 2005 5:00 pm

Re: Hardware crash/ No Graphs are generating.

Post by kdsm »

more info.

I have gone through the read me first post and used the process monitor software and did not find any issues with access rights.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Hardware crash/ No Graphs are generating.

Post by BSOD2600 »

The log shows data is being collected from devices.

When you enable graph debugging, what's the error displayed?
kdsm
Posts: 41
Joined: Thu Mar 17, 2005 5:00 pm

Re: Hardware crash/ No Graphs are generating.

Post by kdsm »

Here is what it shows.
Hope this is what your looking for.
thanks

RRDTool Command:

C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Core - Traffic - Gi3/14 - Adams (Sunesys)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/25/249.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/25/249.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"

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

Re: Hardware crash/ No Graphs are generating.

Post by BSOD2600 »

A blank rrdtool says typically means NTFS permissions are not properly set up, which is preventing cmd.exe/rrdtool.exe from even launching. please double-check they're correct per the installation guide.
kdsm
Posts: 41
Joined: Thu Mar 17, 2005 5:00 pm

Re: Hardware crash/ No Graphs are generating.

Post by kdsm »

Thanks you were correct.
When I repaired the OS using a server os disk it must have removed all the user account needed by Cacti.

thanks again

Kris
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest