Hi all,
I am looking for a CACTI module or php/perl/shell script which analyses apache access log, and generate some reports. such as.
1. Page requests with average execution time
2. Page requests with minimum/maximum execution time
These statistics we need to identify bottlenecks of server performance. Tot rack the execution time we have modified apache default log format using following code in conf file.
LogFormat "%h %l %u %t %>T \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
Where %>T returns me number of seconds a request took to complete.
I have already setup CACTI for monitoring network/mysql/apache stats, It would be good if something on CACTI can be suggested. Open to discuss/try other options
Regards,
Abhijit
Decos Software Development Pvt. Ltd.
http://www.decossoftdev.com
Need apache access log analyser
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Sounds like a nice project. No cycles here, but a nice project none the less. I love looking at numbers.....
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- Hyperlord
- Cacti User
- Posts: 211
- Joined: Tue Feb 10, 2009 3:24 am
- Location: Frankfurt (a.M.), Germany
Hi,
very good idea, I was playing with something like that, too. There are a couple of guides out there to remotely connect to a server via SSH with certs, run a command, take the values and report them to cacti. I wanted to "parse" a couple of files like amavis-stats, squid, apache, mysql errors (like a "slow-log" and such) - haven't had time since weeks for that.
I'll try your logformat mod anyway and try to contribute anything I reveal.
brgds
very good idea, I was playing with something like that, too. There are a couple of guides out there to remotely connect to a server via SSH with certs, run a command, take the values and report them to cacti. I wanted to "parse" a couple of files like amavis-stats, squid, apache, mysql errors (like a "slow-log" and such) - haven't had time since weeks for that.
I'll try your logformat mod anyway and try to contribute anything I reveal.
brgds
Om Tat Sat
Re: Need apache access log analyser
Any news about this project?
Re: Need apache access log analyser
And what about awstat ?
Who is online
Users browsing this forum: No registered users and 2 guests