ok I worked it out. You must have the apache server status mod enabled.
In httpd.conf
<IfModule mod_status.c>
ExtendedStatus On
</IfModule>
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from localhost
</Location>
then run the command:
zenplugin.py apache localhost
Then you should get some output like this:
APACHE OK;|Uptime=86177 TotalAccesses=4 TotalkBytes=20 BusyServers=1
BytesPerReq=5120 BytesPerSec=.23765 ReqPerSec=4.64161e-5 IdleServers=4
------------------------
unset
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=4608#4608
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users