Cacti not graphing
Moderators: Developers, Moderators
no graphs..etc
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
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.PNG (35.91 KiB) Viewed 5779 times
-
- paths
- paths.PNG (26.61 KiB) Viewed 5779 times
-
- cmd php poller
- cmd php poller.PNG (23.29 KiB) Viewed 5779 times
-
- no graph
- cacti - no graph.PNG (27.13 KiB) Viewed 5779 times
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.
2) that my_thread_global_end error is an underlaying PHP error I believe, Google will have the answer.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
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.
Also, specify a valid rrdtool font in cacti's settings.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Next time, simply attach your /log/cacti.log file instead of screenshots.jooel wrote:when i look at what's being pulled, i get this: (png)
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.
That doesn't matter for now; you're getting interface data just fine.jooel wrote:the OID that entered, only comes up once when trying to pull information from the CPU..and still doesnt graph even that.
I hope you specific a valid FONT, too.jooel wrote:I did add the font path as you requested..
In graph management, click on a broken graph, enable graph debugging and then paste the full text output.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
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" \
GPRINTLAST:" Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"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...
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" \
GPRINTLAST:" Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"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...
What version of cacti is this? You should be running 0.8.7b.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
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
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
May I suggest you switch to the cmd.php poller until everything is functional. THEN switch over to spine.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
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!?
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
- zero graphs.PNG (43.76 KiB) Viewed 5423 times
Who is online
Users browsing this forum: No registered users and 0 guests