Cacti not graphing

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

Moderators: Developers, Moderators

jooel
Posts: 20
Joined: Mon Apr 14, 2008 7:50 pm
Location: NY

no graphs..etc

Post by jooel »

hey!

I have been trying to get Cacti to work and no luck. It doesnt graph. seems to not pull any info with php poller.

i am enclosing various pgn files so you can see and maybe make some suggestions.

i also saw this:

C:\>php -m
[PHP Modules]
bcmath
calendar
com_dotnet
ctype
date
dom
filter
ftp
hash
iconv
json
libxml
mysql
odbc
pcre
Reflection
session
SimpleXML
snmp
sockets
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
zlib

[Zend Modules]

Error in my_thread_global_end(): 1 threads didn't exit



jooel
Attachments
poller
poller
poller.PNG (35.91 KiB) Viewed 5774 times
paths
paths
paths.PNG (26.61 KiB) Viewed 5774 times
cmd php poller
cmd php poller
cmd php poller.PNG (23.29 KiB) Viewed 5774 times
no graph
no graph
cacti - no graph.PNG (27.13 KiB) Viewed 5774 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Split off and moved to windows
Reinhard
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) read http://forums.cacti.net/viewtopic.php?t=11747 and then repost.

2) that my_thread_global_end error is an underlaying PHP error I believe, Google will have the answer.
jooel
Posts: 20
Joined: Mon Apr 14, 2008 7:50 pm
Location: NY

Post by jooel »

BSOD2600,

i did go thru your guide... i dont get similar results with the php poller.


this is what i get when i do C:\>php c:\inetpub\wwwroot\cacti\poller.php
:(png file)
Attachments
poller result on cmd
poller result on cmd
poller-2.PNG (24.77 KiB) Viewed 5738 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Alright, then you already followed http://docs.cacti.net/node/283 right? It appears cacti is getting data.

Also, specify a valid rrdtool font in cacti's settings.
jooel
Posts: 20
Joined: Mon Apr 14, 2008 7:50 pm
Location: NY

Post by jooel »

when i look at what's being pulled, i get this: (png)

the OID that entered, only comes up once when trying to pull information from the CPU..and still doesnt graph even that.

I did add the font path as you requested..
Attachments
poller
poller
pollwe w-results.PNG (34.11 KiB) Viewed 5642 times
jooel
Posts: 20
Joined: Mon Apr 14, 2008 7:50 pm
Location: NY

Post by jooel »

and now i do get this: (png file)
Attachments
poller
poller
waiting poller.PNG (14.32 KiB) Viewed 5636 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

jooel wrote:when i look at what's being pulled, i get this: (png)
Next time, simply attach your /log/cacti.log file instead of screenshots.

Looks like you're getting traffic data back on Host 6, so we know that portion is working fine.

Are the rrd files getting updated every 5 minutes? If not, you have NTFS permission problems which need to be corrected.
jooel wrote:the OID that entered, only comes up once when trying to pull information from the CPU..and still doesnt graph even that.
That doesn't matter for now; you're getting interface data just fine.
jooel wrote:I did add the font path as you requested..
I hope you specific a valid FONT, too.


In graph management, click on a broken graph, enable graph debugging and then paste the full text output.
jooel
Posts: 20
Joined: Mon Apr 14, 2008 7:50 pm
Location: NY

Post by jooel »

alright... this is what i get on debug mode:

RRDTool Command:

c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="3745 router - Traffic - Gi4/0" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/3745_router_traffic_in_42.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/3745_router_traffic_in_42.rrd":traffic_in:MAX \
AREA:a#00CF00FF:"Inbound" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 0 bytes\n" \
LINE1:#002A97FF:"Outbound" \
GPRINT::LAST:"Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 0 bytes"
RRDTool Says:

ERROR: parameter '#002A97FF' does not represent a number in line LINE1:#002A97FF:Outbound


let me know what you think...
jooel
Posts: 20
Joined: Mon Apr 14, 2008 7:50 pm
Location: NY

Post by jooel »

i get this now...
Attachments
nan's
nan's
new - nan.PNG (29.74 KiB) Viewed 5598 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

What version of cacti is this? You should be running 0.8.7b.
jooel
Posts: 20
Joined: Mon Apr 14, 2008 7:50 pm
Location: NY

Post by jooel »

it's: Version 0.8.7b
i did try to attach cacti.log and it wouldnt allow me. I did clear the log and let it collect some data. It was then just up to 38 k..and it wouldn't take it.
jooel
Posts: 20
Joined: Mon Apr 14, 2008 7:50 pm
Location: NY

Post by jooel »

i cleared the log and waited two polls..this is what came up:

04/21/2008 11:22:00 AM - SPINE: Poller[0] Host[8] DS[46] WARNING: Result from SNMP not valid. Partial Result: ...
04/21/2008 11:22:00 AM - SPINE: Poller[0] Host[8] DS[44] WARNING: Result from SNMP not valid. Partial Result: ...
04/21/2008 11:22:03 AM - SYSTEM STATS: Time:3.1193 Method:spine Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:8
04/21/2008 11:27:00 AM - SPINE: Poller[0] Host[8] DS[46] WARNING: Result from SNMP not valid. Partial Result: ...
04/21/2008 11:27:00 AM - SPINE: Poller[0] Host[8] DS[44] WARNING: Result from SNMP not valid. Partial Result: ...
04/21/2008 11:27:03 AM - SYSTEM STATS: Time:3.1287 Method:spine Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:8
04/21/2008 11:32:00 AM - SPINE: Poller[0] Host[8] DS[46] WARNING: Result from SNMP not valid. Partial Result: ...
04/21/2008 11:32:00 AM - SPINE: Poller[0] Host[8] DS[44] WARNING: Result from SNMP not valid. Partial Result: ...
04/21/2008 11:32:03 AM - SYSTEM STATS: Time:3.1141 Method:spine Processes:1 Threads:1 Hosts:3 HostsPerProcess:3 DataSources:9 RRDsProcessed:8
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

May I suggest you switch to the cmd.php poller until everything is functional. THEN switch over to spine.
jooel
Posts: 20
Joined: Mon Apr 14, 2008 7:50 pm
Location: NY

Post by jooel »

hey man...
i did..this is what i have so far. I do see Gaphs... it only gets interface bandwith in Bits and not Bytes...but from what i see in this data, it doesnt seem correct (view pgn)

I get 0's on CPU graphs, nothing else...any ideas!?
Attachments
zeros on graphs and reading only in bits not bytes
zeros on graphs and reading only in bits not bytes
zero graphs.PNG (43.76 KiB) Viewed 5418 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests