Show pagesourceOld revisionsBacklinksBack to top Share via Share via... Twitter LinkedIn Facebook Pinterest Telegram WhatsApp Yammer RedditRecent ChangesSend via e-MailPrintPermalink × Table of Contents Awstats (web statistics) Introduction Maintainer Installation Usage Manual configuration Plugin Bugs Is this Nethserver module helpful to you? Please consider donating to the author Thank you kindly! 2019/03/04 11:32 · HF Awstats (web statistics) Available NS7 Introduction AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically. This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages. This module installs nethserver-virtualhosts as a dependency. It will monitor who are looking your websites, located in your virtualhosts (/var/lib/nethserver/vhosts). This module displays statistics of * Your virtualhosts (automatic) * Your mail server (automatic) * Your awstats configuration (manual) PDF report could be made and if needed, emailed to root. Maintainer Stephane de Labrusse at stephdl@de-labrusse.fr Installation First you need to install my repository, see how to do it then install the rpm yum install nethserver-awstats --enablerepo=stephdl Usage You have a panel 'Awstats Statistic' in the Management category, with two available tabs, one for the settings, the second to consult the statistic pages. This module analyses the web access of the nethserver-virtualhosts module to find web statistic, the access log becomes specific for each domain name used (one vhost can have several domain names). You can find your custom logs in /var/log/httpd (for example /var/log/httpd/access.DomainName.log) Only the user 'admin' is first able to browse the statistic pages, you must install nethserver-directory or nethserver-dc (think to set a password to admin). You can allow more users in the tab setting later Manual configuration You can make your own awstats configuration, they will be displayed in the statistics tab if you respect a specific name: awstats.Your.Configuration.name.conf you have a template to copy and adapt to your need. cp /etc/awstats/awstats.model.conf /etc/awstats/Your.Configuration.name.conf vim /etc/awstats/Your.Configuration.name.conf the cron job takes care to update statistics, but you can launch it manually /usr/libexec/nethserver/awstatsCronJobs Plugin You can enable the geoip plugin in the panel. If you think that more plugins are valuable, then please ask. Bugs Please raise Issues on github module stephdl awstats.txt Last modified: 2020/12/10 10:30by Stephane de Labrusse