- The Apache web server is configured to provided a server status
web page that contains a query counter and a byte/megabyte counters.
- Apache statistics can then be ingested into NRG by using the
nrg-apachestat script via http://some.server/server-status url.
- An examples of Apache statistics graphs can be found at
http://nrg.hep.wisc.edu/nrg-demo/apache/Ginseng/Ginseng-apache-qs.cgi
http://nrg.hep.wisc.edu/nrg-demo/apache/Ginseng/Ginseng-apache-tp.cgi
- Configure Apache to serve up server status reports by using
the Apache configuration strings like the following:
ExtendedStatus on
<Location /server-status>
SetHandler server-status
order deny,allow
deny from all
allow from nrghost.somewhere.com
allow from 127.0.0.1
</Location>
- If you configure Apache to provide server status reports at
some other location, then edit nrg-apachestat and change the
$url variable.
- Add the appropiate .mconf strings to Site.mconf using
examples/apache.mconf as your guide.
- Tell NRG about the new meta target:
make update
make notify