Apache Stats - are there any working ones out there?

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
Wirthmueller
Cacti User
Posts: 60
Joined: Wed Mar 02, 2011 9:02 am

Apache Stats - are there any working ones out there?

Post by Wirthmueller »

There are several scripts an templates around using either pyhton or php scripts. I get a few graphs using the php one:

Code: Select all

sudo php ss_apache_stats.php http://192.168.1.158/server-status?auto
apache_total_hits:36 apache_total_kbytes:1648 apache_cpuload:.0366972 reqpersec:.165138 bytespersec:7741.06 bytesperreq:46876.4 apache_busy_workers:1 apache_idle_workers:49 apache_busy_workers:1 apache_idle_workers:49 connstotal:0 connsasyncwriting:0 connsasynckeepalive:0 connsasyncclosing:0 thread_W:49 threadS:0 threadR:0 threadW:1 threadK:0 threadD:0 threadC:0 threadL:0 threadG:0 threadI:0 thread_O:10
Unfortunately most of the thread values give only zeros.

Is there anything better?
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Apache Stats - are there any working ones out there?

Post by macan »

try to fix ss_apache_stats.php script. Maybe only apache report threads with different keywords. It should be easy find out how the result of apache stats looks like and fix php script.
Let the Cacti grow!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests