[Centos] question about Webtraffic monitoring

Michiel van Es michiele at info.nl
Mon Dec 20 20:17:13 UTC 2004


I fixed it..it is a 'common' Egroupware bug..
It was a 'typo' in /etc/php.ini
Restarted Apache et voila! :)
I am now using it to plot 4 websites.

Thanks you very much for your help!

Michiel

Lee W wrote:
> 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 at 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:
> 
>>Ryan,
>>
>>Have a look at http://www.cacti.net/.
>>
>>Cacti more-or-less automates the gathering of data into an RRD 
>>database using SNMP or various other methods and can then use this 
>>data to create various graphs.
>>
>>Regards
>>
>>Lee
>>
>>-----Original Message-----
>>From: Michiel van Es [mailto:michiele at info.nl]
>>Sent: 17 December 2004 12:46
>>To: Ryan Sweet
>>Cc: Eugeny Zadevalov
>>Subject: Re: [Centos] question about Webtraffic monitoring
>>
>>
>>
>>Ryan Sweet wrote:
>>
>>
>>>On Fri, 17 Dec 2004, Eugeny Zadevalov wrote:
>>>
>>>
>>>
>>>>Hello!
>>>>
>>>>MvE> Does anyone know a good open source and free webmonitoring
>>>>MvE> software which I can use to monitor some websites and build 
>>>>MvE> simple uptime/downtine statistics for my customers (conform 
>>>>MvE> SLA's) ?
>>>>
>>>>MvE> Any help/hitns would be very apperciated :)
>>>>
>>>>I'm using "monit" package ("yum install monit" from DAG's repo). But,
>>>>I'm also interested in more advanced software for REMOTE monitoring 
>>>>of services(APACHE, SSHD, etc), because monit specific for local 
>>>>monitoring...
>>>>
>>>>MONIT could be found at: http://www.tildeslash.com/monit/
>>>
>>>
>>>Maybe you should both look at NAGIOS.  Nagios and RRDtool together can 
>>>be used to monitor, graph, report just about anything.
>>>
>>>http://www.nagios.org
>>>
>>>regards,
>>>-Ryan
>>>
>>
>>I only want http monitoring and some RRdtool grpah per day/week/month
>>with some graph which shows me downtime/uptime.
>>That's mainly it..no full blown monitoring package with 3d graphs and 
>>hard to install/setup features :)
>>I run nagios but I do not know how to:
>>a) montitor a website
>>b) make some nifty-click-on-this-button-graphs to show some simple SLA 
>>pstats
>>
>>Michiel
>>_______________________________________________
>>CentOS mailing list
>>CentOS at caosity.org http://lists.caosity.org/mailman/listinfo/centos
>>
>>
>>_______________________________________________
>>CentOS mailing list
>>CentOS at caosity.org http://lists.caosity.org/mailman/listinfo/centos
> 
> 
> 



More information about the CentOS mailing list