New Install - Graphs not creating...

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

Moderators: Developers, Moderators

Post Reply
DFord
Posts: 12
Joined: Wed May 03, 2006 10:31 pm

New Install - Graphs not creating...

Post by DFord »

I have the following installed:

cacti 0.5.8h
cactid 0.5.8g
cygwin
net-snmp 5.3.0.1
mysql 5.0.19
rrdtool-cygwin-1.2.12.zip


I am just installing and testing on one router and when trying to create a graph, this is the final line of the debug output:

RRDTool Says:

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

Do I need to post more debugging info to get any assistance...?
DFord
Posts: 12
Joined: Wed May 03, 2006 10:31 pm

Post by DFord »

This is the full output of the Graph Debug

Code: Select all

c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Adelaide Router - Traffic - Se0.809" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale \
--vertical-label="bits per second" \
DEF:a="c\:/Inetpub/wwwroot/cacti/rra/adelaide_router_traffic_in_35.rrd":traffic_in:AVERAGE \
DEF:b="c\:/Inetpub/wwwroot/cacti/rra/adelaide_router_traffic_in_35.rrd":traffic_out:AVERAGE \
DEF:c="c\:/Inetpub/wwwroot/cacti/rra/adelaide_router_frametoolongs_36.rrd":AlignmentErrors:AVERAGE \
DEF:d="c\:/Inetpub/wwwroot/cacti/rra/adelaide_router_frametoolongs_36.rrd":CarrierSenseErrors:AVERAGE \
DEF:e="c\:/Inetpub/wwwroot/cacti/rra/adelaide_router_frametoolongs_36.rrd":DeferredTrans:AVERAGE \
DEF:f="c\:/Inetpub/wwwroot/cacti/rra/adelaide_router_frametoolongs_36.rrd":ExcessiveCollision:AVERAGE \
DEF:g="c\:/Inetpub/wwwroot/cacti/rra/adelaide_router_frametoolongs_36.rrd":FCSErrors:AVERAGE \
DEF:h="c\:/Inetpub/wwwroot/cacti/rra/adelaide_router_frametoolongs_36.rrd":FrameTooLongs:AVERAGE \
DEF:i="c\:/Inetpub/wwwroot/cacti/rra/adelaide_router_frametoolongs_36.rrd":MultipleCollFrames:AVERAGE \
DEF:j="c\:/Inetpub/wwwroot/cacti/rra/adelaide_router_frametoolongs_36.rrd":SingleCollisionFra:AVERAGE \
DEF:ba="c\:/Inetpub/wwwroot/cacti/rra/adelaide_router_frametoolongs_36.rrd":SQETestErrors:AVERAGE \
DEF:bb="c\:/Inetpub/wwwroot/cacti/rra/adelaide_router_frametoolongs_36.rrd":LateCollisions:AVERAGE \
DEF:bc="c\:/Inetpub/wwwroot/cacti/rra/adelaide_router_frametoolongs_36.rrd":IntMacReceiveErr:AVERAGE \
DEF:bd="c\:/Inetpub/wwwroot/cacti/rra/adelaide_router_frametoolongs_36.rrd":IntMacTransmitErr:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
CDEF:cdefi=c,8,* \
CDEF:cdefbc=d,8,* \
CDEF:cdefbg=e,8,* \
CDEF:cdefca=f,8,* \
CDEF:cdefce=g,8,* \
CDEF:cdefci=h,8,* \
CDEF:cdefdc=i,8,* \
CDEF:cdefdg=j,8,* \
CDEF:cdefea=ba,8,* \
CDEF:cdefee=bb,8,* \
CDEF:cdefei=bc,8,* \
CDEF:cdeffc=bd,8,* \
AREA:cdefa#00CF00:"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#002A97:"Outbound"  \
GPRINT:cdefe:LAST:"                   Current\:%8.2lf %s"  \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"  \
LINE2:cdefi#dd0000:"Alignment Errors"  \
GPRINT:cdefi:LAST:"           Current\:%8.2lf %s"  \
GPRINT:cdefi:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefi:MAX:"Maximum\:%8.2lf %s\n"  \
LINE2:cdefbc#ffff00:"CarrierSenseErrors"  \
GPRINT:cdefbc:LAST:"         Current\:%8.2lf %s"  \
GPRINT:cdefbc:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefbc:MAX:"Maximum\:%8.2lf %s\n"  \
LINE2:cdefbg#CDCFC4:"Deferred Transmissions"  \
GPRINT:cdefbg:LAST:"     Current\:%8.2lf %s"  \
GPRINT:cdefbg:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefbg:MAX:"Maximum\:%8.2lf %s\n"  \
LINE2:cdefca#000000:"Excessive Collisions"  \
GPRINT:cdefca:LAST:"       Current\:%8.2lf %s"  \
GPRINT:cdefca:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefca:MAX:"Maximum\:%8.2lf %s\n"  \
LINE2:cdefce#FF897C:"FCS Errors"  \
GPRINT:cdefce:LAST:"                 Current\:%8.2lf %s"  \
GPRINT:cdefce:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefce:MAX:"Maximum\:%8.2lf %s\n"  \
LINE2:cdefci#CCBB00:"FrameTooLongs"  \
GPRINT:cdefci:LAST:"              Current\:%8.2lf %s"  \
GPRINT:cdefci:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefci:MAX:"Maximum\:%8.2lf %s\n"  \
LINE2:cdefdc#008A77:"Multiple Collision Frames"  \
GPRINT:cdefdc:LAST:"  Current\:%8.2lf %s"  \
GPRINT:cdefdc:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefdc:MAX:"Maximum\:%8.2lf %s\n"  \
LINE2:cdefdg#00A0C1:"Single Collision Frames"  \
GPRINT:cdefdg:LAST:"    Current\:%8.2lf %s"  \
GPRINT:cdefdg:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefdg:MAX:"Maximum\:%8.2lf %s\n"  \
LINE2:cdefea#0000FF:"SQE Test Errors"  \
GPRINT:cdefea:LAST:"            Current\:%8.2lf %s"  \
GPRINT:cdefea:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefea:MAX:"Maximum\:%8.2lf %s\n"  \
LINE2:cdefee#FAFD9E:"Late Collisons"  \
GPRINT:bb:LAST:"             Current\:%8.2lf %s"  \
GPRINT:cdefee:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefee:MAX:"Maximum\:%8.2lf %s\n"  \
LINE2:cdefei#aaaa00:"Internal MACReceive Errors"  \
GPRINT:cdefei:LAST:" Current\:%8.2lf %s"  \
GPRINT:bc:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefei:MAX:"Maximum\:%8.2lf %s\n"  \
LINE2:cdeffc#D8ACE0:"Internal MACTransmit Errors"  \
GPRINT:cdeffc:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdeffc:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdeffc:MAX:"Maximum\:%8.2lf %s\n" 
RRDTool Says:

ERROR: opening 'c:/Inetpub/wwwroot/cacti/rra/adelaide_router_traffic_in_35.rrd': No such file or directory
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

I sure hope you mean Cacti 0.8.6h...

Anyways, as the sticky says, you should enable debugging for a cycle and look through it to see if Cacti is properly collecting data for the rrd which isn't working.

Could be a permission issue too, so fire up FileMon and take a look for denied errors.
DFord
Posts: 12
Joined: Wed May 03, 2006 10:31 pm

Thanks - other issues now

Post by DFord »

You are right, I did mean 0.8.6h :-? .

The data is now being graphed, but polling is not automatic - by that I mean when I left this running overnight (with polling set to use cmd.php and the check-box ticked) no data was collected. The last set of data I have is from a manual poll I did yesterday afternoon (see below)

Code: Select all

+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'c:/Inetpub/wwwroot/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
+ Found item [ifIndex='4'] index: 4 [from value]
+ Found item [ifIndex='5'] index: 5 [from value]
+ Found item [ifIndex='6'] index: 6 [from value]
+ Found item [ifIndex='8'] index: 8 [from value]
+ Found item [ifIndex='9'] index: 9 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='2'] index: 1 [from value]
+ Found item [ifOperStatus='2'] index: 2 [from value]
+ Found item [ifOperStatus='2'] index: 3 [from value]
+ Found item [ifOperStatus='1'] index: 4 [from value]
+ Found item [ifOperStatus='1'] index: 5 [from value]
+ Found item [ifOperStatus='1'] index: 6 [from value]
+ Found item [ifOperStatus='1'] index: 8 [from value]
+ Found item [ifOperStatus='1'] index: 9 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='BRI0'] index: 1 [from value]
+ Found item [ifDescr='BRI0:1'] index: 2 [from value]
+ Found item [ifDescr='BRI0:2'] index: 3 [from value]
+ Found item [ifDescr='Ethernet0'] index: 4 [from value]
+ Found item [ifDescr='Serial0'] index: 5 [from value]
+ Found item [ifDescr='Null0'] index: 6 [from value]
+ Found item [ifDescr='Loopback0'] index: 8 [from value]
+ Found item [ifDescr='Serial0.809'] index: 9 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Found item [ifName='BR0'] index: 1 [from value]
+ Found item [ifName='BR0:1'] index: 2 [from value]
+ Found item [ifName='BR0:2'] index: 3 [from value]
+ Found item [ifName='Et0'] index: 4 [from value]
+ Found item [ifName='Se0'] index: 5 [from value]
+ Found item [ifName='Nu0'] index: 6 [from value]
+ Found item [ifName='Lo0'] index: 8 [from value]
+ Found item [ifName='Se0.809'] index: 9 [from value]
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Found item [ifAlias=''] index: 1 [from value]
+ Found item [ifAlias=''] index: 2 [from value]
+ Found item [ifAlias=''] index: 3 [from value]
+ Found item [ifAlias='** 10M to PSA Adelaide LAN **'] index: 4 [from value]
+ Found item [ifAlias='** Y216081756N 128k ansi to Telstra **'] index: 5 [from value]
+ Found item [ifAlias=''] index: 6 [from value]
+ Found item [ifAlias=''] index: 8 [from value]
+ Found item [ifAlias='** 128k PVC Link to (Hansen) weyryd01rt01 s0/3/0.809 **'] index: 9 [from value]
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='22'] index: 1 [from value]
+ Found item [ifType='22'] index: 2 [from value]
+ Found item [ifType='22'] index: 3 [from value]
+ Found item [ifType='6'] index: 4 [from value]
+ Found item [ifType='32'] index: 5 [from value]
+ Found item [ifType='1'] index: 6 [from value]
+ Found item [ifType='24'] index: 8 [from value]
+ Found item [ifType='32'] index: 9 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='64000'] index: 1 [from value]
+ Found item [ifSpeed='64000'] index: 2 [from value]
+ Found item [ifSpeed='64000'] index: 3 [from value]
+ Found item [ifSpeed='10000000'] index: 4 [from value]
+ Found item [ifSpeed='128000'] index: 5 [from value]
+ Found item [ifSpeed='4294967295'] index: 6 [from value]
+ Found item [ifSpeed='4294967295'] index: 8 [from value]
+ Found item [ifSpeed='128000'] index: 9 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr=''] index: 1 [from value]
+ Found item [ifHwAddr=''] index: 2 [from value]
+ Found item [ifHwAddr=''] index: 3 [from value]
+ Found item [ifHwAddr='00:50:54:98:B2:E5'] index: 4 [from value]
+ Found item [ifHwAddr=''] index: 5 [from value]
+ Found item [ifHwAddr=''] index: 6 [from value]
+ Found item [ifHwAddr=''] index: 8 [from value]
+ Found item [ifHwAddr=''] index: 9 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found data query XML file at 'c:/Inetpub/wwwroot/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'c:/Inetpub/wwwroot/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'c:/Inetpub/wwwroot/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'c:/Inetpub/wwwroot/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'c:/Inetpub/wwwroot/cacti/resource/snmp_queries/interface.xml'
Here is a screenshot of the poller page:

Image

For reference:

Cacti 0.8.6h
Cactid 0.8.6g
cygwin
net-snmp 5.3.0.1
mysql 5.0.19
rrdtool-cygwin-1.2.12.zip

Running on a fully-patched and updated Version of XP(SP2) with IIS - freshly installed on the hardware for the purpose of running Cacti.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Did you create the cacti scheduled task? If so, then it doesn't have the proper NTFS rights. re-read over the install guide for what rights various folders need and/or look where stuff is getting denied with sysinternals.com filemon.

You ran php poller.php under your admin account yesterday, right?
DFord
Posts: 12
Joined: Wed May 03, 2006 10:31 pm

D'Oh!

Post by DFord »

:oops:
Embarrassed and ashamedly scurries away to hide under desk after realising that the scheduled task was not running...

Thanks for your help...
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest