Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Templates, scripts for templates, scripts and requests for templates.
Moderators: Developers , Moderators
Wirthmueller
Cacti User
Posts: 60 Joined: Wed Mar 02, 2011 9:02 am
Post
by Wirthmueller » Wed Mar 29, 2023 8:47 am
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?
macan
Cacti Guru User
Posts: 1137 Joined: Tue Mar 18, 2008 2:30 am
Location: Czech
Post
by macan » Wed Mar 29, 2023 9:03 am
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!
Users browsing this forum: No registered users and 3 guests