I have the GUI interface all installed and working just fine. When I look at the default server (localhost) it says:
Localhost (127.0.0.1)
SNMP Information
SNMP error
I can not create graphs at all, they are just Xed out images.
I do not have net-snmp installed but I do I have ucd-snmp-4.2.5 installed (or so it would seem) I tried to install net-snmp and I got this error:
[root@web downloads]# rpm -ivh net-snmp-5.0.9-4.rh73.i386.rpm
Preparing... ########################################### [100%]
file /etc/rc.d/init.d/snmpd from install of net-snmp-5.0.9-4.rh73 conflicts with file from package ucd-snmp-4.2.5-8.73.1
The list is very log I will spare you the scroll...
Anyway here are some system stats and what not to perhaps aid in my help here:
Server: RedHat 7.3 (mysql on same server)
PHP Modules:
Code: Select all
[root@web downloads]# php -m
[PHP Modules]
bcmath
bz2
calendar
ctype
dba
dbx
dio
exif
ftp
gettext
iconv
mbstring
ncurses
overload
pcre
posix
pspell
session
shmop
sockets
standard
sysvsem
sysvshm
tokenizer
wddx
xml
xslt
yp
zlib
[Zend Modules]
[root@web downloads]#
Code: Select all
path_rrdtool /usr/bin/rrdtool
path_php_binary /usr/bin/php
path_snmpwalk /usr/bin/snmpwalk
path_snmpget /usr/bin/snmpget
path_cactilog /home/local/home/www/mydomain.com/cacti/log/cacti.log
snmp_version ucd-snmp
log_destination 1
log_snmp
log_graph
log_export
log_verbosity 5
log_pstats on
log_pwarn on
log_perror on
snmp_ver 1
snmp_community public
snmp_username
snmp_password
snmp_timeout 500
snmp_port 161
snmp_retries 3
remove_verification on
path_cactid /usr/local/cactid
poller_enabled on
poller_type 2
concurrent_processes 1
max_threads 1
availability_method 2
ping_method 2
ping_timeout 400
PHP version 4.3.6
As well when I run poller.php from the command line I get this:
Code: Select all
[root@web cacti]# php poller.php
Fatal error: Call to undefined function: mysql_connect() in /home/local/home/www/mydomain.com/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 339
[root@web cacti]#
If it is the SNMP causing all this what is the best course of action? Remove the ucd-snmp and then install net-snmp?
I know I can remove the ucd version by using "rpm -evv ucd-snmp" the install the "net-snmp-5.0.9-4.rh73.i386.rpm" and "net-snmp-devel-5.0.9-4.rh73.i386.rpm" I downloaded from rpmfind.net.
I dunno, I am no expert in all this but I would really like to get Cacti working on my servers. If you need anymore info please let me know and I will post it.
Thanks,
Clint