Configuring useful awstats plugins

From Notes_Wiki

Home > CentOS > CentOS 6.x > Monitoring tools > Awstats configuration > Configuring useful awstats plugins

Geo IP plugin

To configure GeoIP plugin for awstats use:

  1. yum -y install perl-Geo-IP
  2. wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
  3. gunzip GeoLiteCity.dat.gz
  4. mkdir /usr/local/share/GeoIP
  5. mv -f GeoLiteCity.dat /usr/local/share/GeoIP
  6. chmod -R 755 /usr/local/share/GeoIP
  7. Edit awstats.conf file and set
    LoadPlugin="geoip GEOIP_STANDARD /usr/share/GeoIP/GeoIP.dat"
    LoadPlugin="geoip_city_maxmind GEOIP_STANDARD /usr/local/share/GeoIP/GeoLiteCity.dat"

Some steps learned from http://dev.maxmind.com/geoip/legacy/install/city/


Google Chart API plugin

To configure Google Chart API plugin use:

  1. Uncomment 'LoadPlugin=graphgooglechartapi' line.


Rawlog plugin

To configure Raw log plugin use:

  1. Ucomment 'LoadPlugin="rawlog"' line.




Home > CentOS > CentOS 6.x > Monitoring tools > Awstats configuration > Configuring useful awstats plugins