Hello i have a problem.
I installed cacti and all things, everything should be fine, I get no errors but the graphs are screwed, nothing much to see and no legend.
below are some useful information, the log, and the tech support info.
NET-SNMP version: 5.4.1.2
RRDtool 1.2.28
PHP 5.2.6 with snmp compiled
mysql 5.0.67
log:
Log File [Total Lines: 12 - All Items Shown]
08/24/2008 05:15:02 PM - SYSTEM STATS: Time:1.1816 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:13 RRDsProcessed:10
08/24/2008 05:15:01 PM - POLLER: Poller[0] WARNING: Poller Output Table not Empty. Potential Data Source Issues for Data Sources: mem_buffers(DS[3]), mem_swap(DS[4]), (DS[5]), users(DS[6]), proc(DS[7]), proc(DS[8]), ping(DS[9]), hdd_free(DS[10]), hdd_used(DS[10]), hdd_free(DS[11]), hdd_used(DS[11]), hdd_free(DS[12]), hdd_used(DS[12])
08/24/2008 05:12:47 PM - CMDPHP: Poller[0] Time: 0.1042 s, Theads: N/A, Hosts: 1
08/24/2008 05:10:03 PM - SYSTEM STATS: Time:1.1158 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
08/24/2008 05:10:01 PM - POLLER: Poller[0] WARNING: Poller Output Table not Empty. Potential Data Source Issues for Data Sources: mem_buffers(DS[3]), mem_swap(DS[4]), (DS[5]), users(DS[6]), proc(DS[7])
08/24/2008 05:05:10 PM - CMDPHP: Poller[0] Time: 0.0386 s, Theads: N/A, Hosts: 1
08/24/2008 05:05:01 PM - SYSTEM STATS: Time:0.1567 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
08/24/2008 05:05:01 PM - POLLER: Poller[0] WARNING: Poller Output Table not Empty. Potential Data Source Issues for Data Sources: mem_buffers(DS[3]), mem_swap(DS[4]), (DS[5]), users(DS[6]), proc(DS[7])
08/24/2008 05:03:54 PM - CMDPHP: Poller[0] Time: 0.0389 s, Theads: N/A, Hosts: 1
08/24/2008 05:00:01 PM - SYSTEM STATS: Time:0.1763 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
08/24/2008 04:52:37 PM - AUTH LOGIN: User 'admin' Authenticated
08/24/2008 04:44:49 PM - AUTH LOGIN: User 'admin' Authenticated
# tech info
Date Sun, 24 Aug 2008 17:17:07 +0300
Cacti Version 0.8.7b
Cacti OS unix
SNMP Version net-snmp
RRDTool Version RRDTool 1.2.x
Hosts 1
Graphs 9
Data Sources Script/Command: 7
Script Query: 3
Total: 10
Poller Information
Interval 300
Type cmd.php
Items Action[1]: 13
Total: 13
Concurrent Processes 1
Max Threads 1
PHP Servers 1
Script Timeout 25
Max OID 10
Last Run Statistics Time:0.1567 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:5
PHP Information
PHP Version 5.2.6
PHP OS Linux
PHP uname Linux cc.btn.ro 2.6.24-btn.pr #1 SMP Sat Mar 29 12:23:38 EET 2008 i686
PHP SNMP Installed
max_execution_time 60
memory_limit 128M
MySQL Table Information
Name Rows Engine Collation Check Status
cdef 6 MyISAM latin1_swedish_ci OK
cdef_items 16 MyISAM latin1_swedish_ci OK
colors 101 MyISAM latin1_swedish_ci OK
data_input 12 MyISAM latin1_swedish_ci OK
data_input_data 188 MyISAM latin1_swedish_ci OK
data_input_fields 46 MyISAM latin1_swedish_ci OK
data_local 10 MyISAM latin1_swedish_ci OK
data_template 41 MyISAM latin1_swedish_ci OK
data_template_data 51 MyISAM latin1_swedish_ci OK
data_template_data_rra 204 MyISAM latin1_swedish_ci OK
data_template_rrd 70 MyISAM latin1_swedish_ci OK
graph_local 9 MyISAM latin1_swedish_ci OK
graph_template_input 77 MyISAM latin1_swedish_ci OK
graph_template_input_defs 257 MyISAM latin1_swedish_ci OK
graph_templates 33 MyISAM latin1_swedish_ci OK
graph_templates_gprint 3 MyISAM latin1_swedish_ci OK
graph_templates_graph 42 MyISAM latin1_swedish_ci OK
graph_templates_item 324 MyISAM latin1_swedish_ci OK
graph_tree 1 MyISAM latin1_swedish_ci OK
graph_tree_items 1 MyISAM latin1_swedish_ci OK
host 1 MyISAM latin1_swedish_ci OK
host_graph 4 MyISAM latin1_swedish_ci OK
host_snmp_cache 6 MyISAM latin1_swedish_ci OK
host_snmp_query 1 MyISAM latin1_swedish_ci OK
host_template 7 MyISAM latin1_swedish_ci OK
host_template_graph 14 MyISAM latin1_swedish_ci OK
host_template_snmp_query 13 MyISAM latin1_swedish_ci OK
poller 0 MyISAM latin1_swedish_ci OK
poller_command 0 MyISAM latin1_swedish_ci OK
poller_item 13 MyISAM latin1_swedish_ci OK
poller_output 0 MyISAM latin1_swedish_ci OK
poller_reindex 0 MyISAM latin1_swedish_ci OK
poller_time 1 MyISAM latin1_swedish_ci OK
rra 5 MyISAM latin1_swedish_ci OK
rra_cf 10 MyISAM latin1_swedish_ci OK
settings 31 MyISAM latin1_swedish_ci OK
settings_graphs 0 MyISAM latin1_swedish_ci OK
settings_tree 0 MyISAM latin1_swedish_ci OK
snmp_query 8 MyISAM latin1_swedish_ci OK
snmp_query_graph 19 MyISAM latin1_swedish_ci OK
snmp_query_graph_rrd 39 MyISAM latin1_swedish_ci OK
snmp_query_graph_rrd_sv 59 MyISAM latin1_swedish_ci OK
snmp_query_graph_sv 40 MyISAM latin1_swedish_ci OK
user_auth 1 MyISAM latin1_swedish_ci OK
user_auth_perms 0 MyISAM latin1_swedish_ci OK
user_auth_realm 16 MyISAM latin1_swedish_ci OK
user_log 3 MyISAM latin1_swedish_ci OK
version 1 MyISAM latin1_swedish_ci OK
PHP Module Information
apache2handler
--------------------------------------------------------------------------------
Apache Version btws v4 ( hardened )
Apache API Version 20051115
Server Administrator admin-pr@btn.ro
Hostname:Port cc.btn.ro:0
User/Group btws(542)/1003
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 100 - Keep-Alive: 60
Virtual Server Yes
Server Root /opt/httpd
Loaded Modules core mod_authn_file mod_authz_host mod_authz_user mod_authz_default mod_auth_basic mod_cache mod_disk_cache mod_mem_cache mod_include mod_filter mod_deflate mod_log_config mod_env mod_headers mod_unique_id mod_setenvif prefork http_core mod_mime mod_autoindex mod_suexec mod_cgi mod_vhost_alias mod_negotiation mod_dir mod_actions mod_alias mod_rewrite mod_so mod_php5 mod_security
Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0
Apache Environment
Variable Value
UNIQUE_ID SLFtY8J17OsAAF0zkhQAAAA0
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/x-silverlight, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
HTTP_REFERER http://cc.btn.ro/webcontrol/monitor/utilities.php
HTTP_ACCEPT_LANGUAGE en-us
HTTP_UA_CPU x86
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506)
HTTP_HOST cc.btn.ro
HTTP_CONNECTION Keep-Alive
HTTP_COOKIE Cacti=ku20hg3ej2soeg5b2h21rulr34; clickedFoldert2=1%5E; highlightedTreeviewLinkt2=2
PATH /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
SERVER_SIGNATURE no value
SERVER_SOFTWARE btws v4 ( hardened )
SERVER_NAME cc.btn.ro
SERVER_ADDR 194.117.236.235
SERVER_PORT 80
REMOTE_ADDR 89.37.144.82
DOCUMENT_ROOT /pdb/w/cc.btn.ro
SERVER_ADMIN admin-pr@btn.ro
SCRIPT_FILENAME /pdb/w/cc.btn.ro/webcontrol/monitor/utilities.php
REMOTE_PORT 63889
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING action=view_tech
REQUEST_URI /webcontrol/monitor/utilities.php?action=view_tech
SCRIPT_NAME /webcontrol/monitor/utilities.php
HTTP Headers Information
HTTP Request Headers
HTTP Request GET /webcontrol/monitor/utilities.php?action=view_tech HTTP/1.1
Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/x-silverlight, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer http://cc.btn.ro/webcontrol/monitor/utilities.php
Accept-Language en-us
UA-CPU x86
Accept-Encoding gzip, deflate
User-Agent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506)
Host cc.btn.ro
Connection Keep-Alive
Cookie Cacti=ku20hg3ej2soeg5b2h21rulr34; clickedFoldert2=1%5E; highlightedTreeviewLinkt2=2
HTTP Response Headers
Expires Thu, 19 Nov 1981 08:52:00 GMT
Last-Modified Sun, 24 Aug 2008 14:17:07 GMT
Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma no-cache
bz2
--------------------------------------------------------------------------------
BZip2 Support Enabled
Stream Wrapper support compress.bz2://
Stream Filter support bzip2.decompress, bzip2.compress
BZip2 Version 1.0.2, 30-Dec-2001
ctype
--------------------------------------------------------------------------------
ctype functions enabled
curl
--------------------------------------------------------------------------------
cURL support enabled
cURL Information libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6
date
--------------------------------------------------------------------------------
date/time support enabled
"Olson" Timezone Database Version 2008.2
Timezone Database internal
Default timezone Europe/Helsinki
Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone no value no value
dom
--------------------------------------------------------------------------------
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.16
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled
eAccelerator
--------------------------------------------------------------------------------
eAccelerator support enabled
Version 0.9.5.3
Caching Enabled true
Optimizer Enabled true
Memory Size 16,777,180 Bytes
Memory Available 5,433,576 Bytes
Memory Allocated 11,343,604 Bytes
Cached Scripts 178
Removed Scripts 0
Cached Keys 0
Directive Local Value Master Value
eaccelerator.allowed_admin_path no value no value
eaccelerator.cache_dir /tmp/eaccelerator /tmp/eaccelerator
eaccelerator.check_mtime 1 1
eaccelerator.compress 1 1
eaccelerator.compress_level 9 9
eaccelerator.debug 0 0
eaccelerator.enable 1 1
eaccelerator.filter no value no value
eaccelerator.log_file no value no value
eaccelerator.name_space no value no value
eaccelerator.optimizer 1 1
eaccelerator.shm_max 0 0
eaccelerator.shm_only 0 0
eaccelerator.shm_prune_period 0 0
eaccelerator.shm_size 16 16
eaccelerator.shm_ttl 0 0
filter
--------------------------------------------------------------------------------
Input Validation and Filtering enabled
Revision $Revision: 1.52.2.42 $
Directive Local Value Master Value
filter.default unsafe_raw unsafe_raw
filter.default_flags no value no value
ftp
--------------------------------------------------------------------------------
FTP support enabled
gd
--------------------------------------------------------------------------------
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.7
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
hash
--------------------------------------------------------------------------------
hash support enabled
Hashing Engines md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5
imap
--------------------------------------------------------------------------------
IMAP c-Client Version 2000
json
--------------------------------------------------------------------------------
json support enabled
json version 1.2.1
libxml
--------------------------------------------------------------------------------
libXML support active
libXML Version 2.6.16
libXML streams enabled
mbstring
--------------------------------------------------------------------------------
Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 4.4.4
Multibyte regex (oniguruma) backtrack check On
mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.
Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value
mysql
--------------------------------------------------------------------------------
MySQL Support enabled
Active Persistent Links 1
Active Links 1
Client API version 5.0.67
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/opt/mysql/include/mysql
MYSQL_LIBS -L/opt/mysql/lib/mysql -lmysqlclient
Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket /opt/mysql/lib/mysql.sock /opt/mysql/lib/mysql.sock
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
openssl
--------------------------------------------------------------------------------
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.7a Feb 19 2003
pcre
--------------------------------------------------------------------------------
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 7.6 2008-01-28
Directive Local Value Master Value
pcre.backtrack_limit 100000 100000
pcre.recursion_limit 100000 100000
PDO
--------------------------------------------------------------------------------
PDO support enabled
PDO drivers sqlite2, sqlite
pdo_sqlite
--------------------------------------------------------------------------------
PDO Driver for SQLite 3.x enabled
PECL Module version (bundled) 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.3 2007/12/31 07:20:10 sebastian Exp $
SQLite Library 3.3.7
posix
--------------------------------------------------------------------------------
Revision $Revision: 1.70.2.3.2.18 $
Reflection
--------------------------------------------------------------------------------
Reflection enabled
Version $Id: php_reflection.c,v 1.164.2.33.2.50 2008/03/13 15:56:21 iliaa Exp $
session
--------------------------------------------------------------------------------
Session Support enabled
Registered save handlers files user sqlite
Registered serializer handlers php php_binary
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 Off Off
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 1000 1000
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 5 5
session.hash_function 0 0
session.name Cacti PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path no value no value
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0
SimpleXML
--------------------------------------------------------------------------------
Simplexml support enabled
Revision $Revision: 1.151.2.22.2.39 $
Schema support enabled
snmp
--------------------------------------------------------------------------------
NET-SNMP Support enabled
NET-SNMP Version 5.4.1.2
sockets
--------------------------------------------------------------------------------
Sockets Support enabled
SPL
--------------------------------------------------------------------------------
SPL support enabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException
SQLite
--------------------------------------------------------------------------------
SQLite support enabled
PECL Module version 2.0-dev $Id: sqlite.c,v 1.166.2.13.2.10 2007/12/31 07:20:11 sebastian Exp $
SQLite Library 2.8.17
SQLite Encoding iso8859
Directive Local Value Master Value
sqlite.assoc_case 0 0
standard
--------------------------------------------------------------------------------
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i
Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=fakeentry a=href,area=href,frame=src,input=src,form=fakeentry
user_agent no value no value
tokenizer
--------------------------------------------------------------------------------
Tokenizer Support enabled
xml
--------------------------------------------------------------------------------
XML Support active
XML Namespace Support active
libxml2 Version 2.6.16
xmlreader
--------------------------------------------------------------------------------
XMLReader enabled
xmlwriter
--------------------------------------------------------------------------------
XMLWriter enabled
zlib
--------------------------------------------------------------------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.1.2
Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value
Additional Modules
Module Name
sysvsem
sysvshm
cacti not working, weird graphs, etc. version 0.8.7b
Moderators: Developers, Moderators
cacti not working, weird graphs, etc. version 0.8.7b
- Attachments
-
- screenshot of graphs
- ss.jpg (50.26 KiB) Viewed 2118 times
I was playing around and I came up with a fix...
Open the file "lib/rrd.pnp" and go to line 1905
You will see the following...
$font = "";
Change it to the following...
$font = "/usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf";
You will obviously need to verify that you have this font installed... Odds are that you do as it is the default rrdtool font.
Open the file "lib/rrd.pnp" and go to line 1905
You will see the following...
$font = "";
Change it to the following...
$font = "/usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf";
You will obviously need to verify that you have this font installed... Odds are that you do as it is the default rrdtool font.
Who is online
Users browsing this forum: No registered users and 2 guests