RosT said:How to install it?:
ExtendedStatus On
<Location /server-status>
SetHandler server-status
</Location>
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from localhost
</Location>
XBL said:@ RayManZ: You set the 'zero' to the actual suspend limit (is kind of confusing, I had to read it from monitor.php).
@ Everyone: I made a small script to monitor the database. Current functions:
Any ideas on what to add are very welcome (e-mail (jochem at vuilnisbak dot com) or PM).
- Order by:
- Domain
- CPU Usage
- Processes
- Descending and Ascending
- Search by domain
Download: domainmonitor.php
Test: domainmonitor/.
Username: admin
Password: password
The stats are live from the database.
[edit]I also recommend to set the $__url_source (in conf/configure.php) to http://localhost/server-status (replace server-status with whatever you're using). And change
ToCode:ExtendedStatus On <Location /server-status> SetHandler server-status </Location>
Security before everything .[/edit]Code:ExtendedStatus On <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from localhost </Location>
Jochem
...
<IfDefine HAVE_PUT>
AddModule mod_put.c
</IfDefine>
<IfDefine HAVE_PYTHON>
AddModule mod_python.c
</IfDefine>
ExtendedStatus On
<Location /server-status>
SetHandler server-status
</Location>
Port 80
Listen 80
Listen 443
...
PHP Warning: main(./conf/configure.php): failed to open stream: No such file or directory in /home/hollinae/domains/testhollinae.com/public_html/monitordom/monitor.php on line 13
Warning: main(./conf/configure.php): failed to open stream: No such file or directory in /home/hollinae/domains/testhollinae.com/public_html/monitordom/monitor.php on line 13
PHP Fatal error: main(): Failed opening required './conf/configure.php' (include_path='.:/usr/local/lib/php') in /home/hollinae/domains/testhollinae.com/public_html/monitordom/monitor.php on line 13
Fatal error: main(): Failed opening required './conf/configure.php' (include_path='.:/usr/local/lib/php') in /home/hollinae/domains/testhollinae.com/public_html/monitordom/monitor.php on line 13
XBL said:@ RayManZ: You set the 'zero' to the actual suspend limit (is kind of confusing, I had to read it from monitor.php).
@ Everyone: I made a small script to monitor the database. Current functions:
Any ideas on what to add are very welcome (e-mail (jochem at vuilnisbak dot com) or PM).
- Order by:
- Domain
- CPU Usage
- Processes
- Descending and Ascending
- Search by domain
Download: domainmonitor.php
Test: domainmonitor/.
Username: admin
Password: password
The stats are live from the database.
[edit]I also recommend to set the $__url_source (in conf/configure.php) to http://localhost/server-status (replace server-status with whatever you're using). And change
ToCode:ExtendedStatus On <Location /server-status> SetHandler server-status </Location>
Security before everything .[/edit]Code:ExtendedStatus On <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from localhost </Location>
Jochem
Server Version: YuBsa
Server Built: Apr 7 2005 09:21:20
Current Time: Monday, 05-Sep-2005 15:38:23 CEST
Restart Time: Monday, 05-Sep-2005 11:15:15 CEST
Parent Server Generation: 0
Server uptime: 4 hours 23 minutes 8 seconds
Total accesses: 19601 - Total Traffic: 604.3 MB
CPU Usage: u238.41 s2.73 cu6.8 cs3.14 - 1.59% CPU load
1.24 requests/sec - 39.2 kB/second - 31.6 kB/request
1 requests currently being processed, 19 idle servers
__W_________________............................................
................................................................
................................................................
..... until (200 lines further)
................................................................
Scoreboard Key: etc