doc:appunti:linux:sa:cacti_apache
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:linux:sa:cacti_apache [2025/03/03 12:56] – niccolo | doc:appunti:linux:sa:cacti_apache [2025/03/03 14:32] (current) – niccolo | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Script ss_apache_stats.php per Cacti ====== | ====== Script ss_apache_stats.php per Cacti ====== | ||
+ | |||
+ | Download the PHP script from https:// | ||
+ | |||
+ | FIXME How to enable in Apache | ||
+ | |||
+ | ===== Testing with wget ===== | ||
+ | |||
+ | <code bash> | ||
+ | wget --quiet -O - " | ||
+ | </ | ||
+ | |||
+ | ===== Testing the PHP on the command line ===== | ||
< | < | ||
php / | php / | ||
- | apache_total_hits: | ||
- | apache_busy_workers: | ||
- | threadW:1 threadK:0 threadD:0 threadC:0 threadL:0 threadG:0 threadI:0 thread_O:75 | ||
</ | </ | ||
+ | |||
+ | < | ||
+ | apache_total_hits: | ||
+ | apache_busy_workers: | ||
+ | threadW:1 threadK:0 threadD:0 threadC:0 threadL:0 threadG:0 threadI:0 thread_O:75 | ||
+ | </ | ||
+ | |||
doc/appunti/linux/sa/cacti_apache.1741002979.txt.gz · Last modified: 2025/03/03 12:56 by niccolo