Michiel,
You don't need snmp built into PHP itself as you can use the net-snmp & net-snmp-utils packages.
I must admit prior to my post I had not tried cacti on Centos (only on Slackware & FreeBSD) but since your email I have got in running.
Just make sure you have met all the other requirmenets and you should be okay. If it matters I tested this on Centos 3.3
Regards
Lee
-----Original Message----- From: Michiel van Es [mailto:michiele@info.nl] Sent: 20 December 2004 09:30 To: Lee W Subject: Re: [Centos] question about Webtraffic monitoring
Thanks..but I got all kinds of errors when installing by hand of with the rpm. There is no php-snmp rpm for CentOS/RHEL so I used the php-snmp for fedora core 1. This is what I get when entering my Cacti page: Warning: mb_ereg_replace(): mbregex compile err: premature end of regular expression in /data/www/default/cacti/include/config.php on line 43
Warning: mb_ereg_replace(): mbregex compile err: premature end of regular expression in /data/www/default/cacti/include/config.php on line 44
Warning: Cannot modify header information - headers already sent by (output started at /data/www/default/cacti/include/config.php:43) in /data/www/default/cacti/include/config.php on line 67
Warning: Cannot modify header information - headers already sent by (output started at /data/www/default/cacti/include/config.php:43) in /data/www/default/cacti/include/config.php on line 68
Warning: Cannot modify header information - headers already sent by (output started at /data/www/default/cacti/include/config.php:43) in /data/www/default/cacti/include/config.php on line 69
Warning: Cannot modify header information - headers already sent by (output started at /data/www/default/cacti/include/config.php:43) in /data/www/default/cacti/include/config.php on line 70
Warning: Cannot modify header information - headers already sent by (output started at /data/www/default/cacti/include/config.php:43) in /data/www/default/cacti/include/config.php on line 71
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /data/www/default/cacti/include/config.php:43) in /data/www/default/cacti/include/config.php on line 74
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /data/www/default/cacti/include/config.php:43) in /data/www/default/cacti/include/config.php on line 74
Warning: main(/adodb/adodb.inc.php): failed to open stream: No such file or directory in /data/www/default/cacti/include/config.php on line 103
Warning: main(): Failed opening '/adodb/adodb.inc.php' for inclusion (include_path='.:/usr/share/pear') in /data/www/default/cacti/include/config.php on line 103
Warning: main(/database.php): failed to open stream: No such file or directory in /data/www/default/cacti/include/config.php on line 104
Warning: main(): Failed opening '/database.php' for inclusion (include_path='.:/usr/share/pear') in /data/www/default/cacti/include/config.php on line 104
Fatal error: Call to undefined function: db_connect_real() in /data/www/default/cacti/include/config.php on line 105
:(
Michiel
Lee W wrote: