Web Hosting Talk







View Full Version : cacti


goolex
11-17-2004, 04:22 AM
does any one worked with cacti ?
my cacti is showing this :
http://www.host4persian.com/cacti1.JPG

also this is my settings in cacti :
http://www.host4persian.com/cacti2.JPG

i installed everythings as they need from manual
:(
what is the problem ?
i had this problem with mrtg too

andy18
11-17-2004, 06:18 AM
is the snmp service started on your server ?

goolex
11-17-2004, 06:57 AM
how can i check ?

andy18
11-17-2004, 06:59 AM
type in :

service snmpd status

goolex
11-17-2004, 07:12 AM
root@server [~]# service snmpd status
snmpd is stopped

how to run on it ?

pizzaboy_au
11-17-2004, 08:21 AM
service snmpd start is the command to start snmpd.

goolex
11-17-2004, 09:15 AM
root@server [~]# service snmpd start
Starting snmpd: [ OK ]

i installed it and nothing changed :(

andy18
11-17-2004, 09:18 AM
if i am not mistaken, it will require around 5 minutes for the cacti to query the snmp for updated packets on your server.

goolex
11-17-2004, 09:52 AM
this is over 5 hours ;)
also when i am viewong cacti , speed is very low ! under 200bitp/s
!
when cacti asked me device , there was just local 127.0.0.1 is this problem ??

do i need to install any things more ?
i installed rrdtools-netsnmp 5.x before and i added it to crontask before
:(

pizzaboy_au
11-17-2004, 09:39 PM
Are you sure that you inputted the correct information into the crontab?

goolex
11-18-2004, 02:36 AM
DiBellaweb
i used followig link to make a basic reprot :
http://martybugs.net/linux/rrdtool/traffic.cgi

so when i typed in root it showing like this :
[root@server]# /usr/local/bin/rrd_traffic.pl
eth0 traffic in, out: 3943533024, 2835946527

so that rrdtool is working !
but if u check following link , that must make png image but its not making any things !like cacti !
http://www.host4persian.com/traffic.cgi

i think there is some problems with making png files
i disabled mod_security but nothing happend
this is my php info host4persian.com/info.php

i did everythings right
:(

pizzaboy_au
11-18-2004, 10:21 AM
I don't think the problem is with your RRD tool. I think it is more in relation to how you have setup Cacti with SNMP integration. Do you have a firewall at all on your server?

goolex
11-18-2004, 11:41 AM
yes i have APF Firewall
i will send u my cacti user.pass and u check it

goolex
11-19-2004, 08:42 AM
the problem is it is not making rrd files ! :(

i will tell more about my config's and maybe some one help me
my cacti is showing this : no graph
http://www.host4persian.com/cacti1.JPG


path's : all checked and working
http://www.host4persian.com/cacti3.jpg

i used last version :
http://www.cacti.net/downloads/cacti-0.8.6b.tar.gz

php -v

PHP 4.3.9 (cli) (built: Nov 16 2004 19:14:24)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Turck MMCache v2.4.6, Copyright (c) 2002-2003 TurckSoft, St. Petersburg, by Dmitry Stogov
with Zend Extension Manager v1.0.4, Copyright (c) 2003-2004, by Zend Technologies
with Zend Optimizer v2.5.5, Copyright (c) 1998-2004, by Zend Technologies



php -m

[PHP Modules]
bcmath
calendar
ctype
ftp
gd
mcrypt
mysql
openssl
overload
pcre
posix
session
sockets
standard
swf
tokenizer
Turck MMCache
xml
Zend Optimizer
zlib

[Zend Modules]
Turck MMCache
Zend Extension Manager
Zend Optimizer



PHP Info

host4persian.com/info.php



i have installed apf and brute firewall and also mod_security ( i disabled mod_security but nothing happend)


rrdtool is working from command line

is there any way to trace problem ?

thanks