No Lines on Graphs

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
cactiuser80
Posts: 4
Joined: Wed Nov 02, 2005 4:00 pm

No Lines on Graphs

Post by cactiuser80 »

Here is my setup:
Windows 2000
cacti 8.6g
apache 2.0.55
php 4.4.1
mysql 4.1.15
rrdtool 1.2.11

I have .rdd files in the rra folder and they are getting updated when poller.php is run, but when I look at the graphs in cacti all I see is blank graphs with no information.

This is what I get when I run poller.php manually:

C:\php>php.exe C:\Apache2\htdocs\cacti\poller.php
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
X-Powered-By: PHP/4.4.1
Content-type: text/html

11/02/2005 03:07:15 PM - SYSTEM STATS: Time:1.2944 Method:cmd.php Processes:1 Th
reads:N/A Hosts:2 HostsPerProcess:2 DataSources:20 RRDsProcessed:10
OK u:0.03 s:0.01 r:0.06
OK u:0.03 s:0.01 r:0.07
OK u:0.03 s:0.01 r:0.10
OK u:0.03 s:0.03 r:0.11
OK u:0.03 s:0.03 r:0.13
OK u:0.03 s:0.03 r:0.28
OK u:0.03 s:0.03 r:0.29
OK u:0.03 s:0.03 r:0.30
OK u:0.03 s:0.03 r:0.31
OK u:0.03 s:0.03 r:0.33

This is what I get when i run php.exe - m

C:\php>php.exe -m
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
[PHP Modules]
bcmath
calendar
com
ctype
ftp
mysql
odbc
overload
pcre
session
snmp
sockets
standard
tokenizer
wddx
xml
zlib

[Zend Modules]

And this what i have in my paths variable

C:\Perl\bin\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem; MIBSDIR=c:\php\mibs; PHPRC=c:\php;C:\netsnmp\bin; c:\php\extensions; c:\php

Thanks for any help
Attachments
graph.jpg
graph.jpg (23.71 KiB) Viewed 635 times
graph.jpg
graph.jpg (23.71 KiB) Viewed 635 times
cactiuser80
Posts: 4
Joined: Wed Nov 02, 2005 4:00 pm

Post by cactiuser80 »

UPDATE:

I guess i am starting to see information in the graphs but there are no lables on the graph.
Attachments
graph.jpg
graph.jpg (23.69 KiB) Viewed 631 times
User avatar
GlueGuy
Cacti User
Posts: 255
Joined: Fri Nov 04, 2005 3:37 pm
Location: Ca US
Contact:

re: No labels in graphs

Post by GlueGuy »

I've seen at least one version of rrdtool that has embedded within it a miss-spelling of the true type font "arialn.ttf". The font it looks for is "arailn.ttf"; which gets reported in the cacti log.

You can:

1. d/l a newer version of rrdtool (which does not have the miss-spelling)
2. Set the default font in the cacti config to arial.ttf
3. Copy your arialn.ttf to arailn.ttf

Take your pick
---------
The Glue Guy
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests