TWiki> Frontier Web>MonitoringServerEntryUpdate (revision 4)EditAttachPDF

Updating an entry in the Monitoring server

This document describes how to add/modify an entry in the MRTG and AWstats pages of the monitoring server. These actions are to be taken after a new squid or launchpad is commissioned at a site.

Adding a Launchpad's tomcat monitoring (awstats and chkthread)

  • Set RSYUSER = username
  • Set RSYPASS = password
  • Set MSVUSER = squidmon
  • Set AWSDDIR = data/awstats


  • The rsync username and password for transfers of awstats and chkthread files from the site's Launchpad and the monitoring server is configured in /etc/rsyncd.secrets
  • A corresponding entry for the rsync username exists in /etc/rsyncd.conf
  • The folder ~squidmon/data/awstats/username is created, owned by the user squidmon

Then, check that the associated user has an entry in ~dbfrontier/dist/rpms/awstatsSiteProjectNodesMapping, for each machine (i.e. atlasfrontier3) in a machine group (i.e. atlasfrontier) to be monitored by awstats. An entry in that file is of the form:

group hostname(DNS) machine_name

where the group matches exactly the rsync user in rsyncd.secrets.

Next, for each machine group that you are adding, create two folders: ~dbfrontier/data/awstats// ~dbfrontier/data/awstats//chkthread_ And likewise for each machine within the machine group ~dbfrontier/data/awstats// ~dbfrontier/data/awstats//chkthread_

Afterwards, go to ~dbfrontier/local/apache/awstats/wwwroot/cgi-bin and create an awstats..conf file by cloning and suitably modifying one of the single-machine .conf files (like awstats.atlasfrontier1.conf). Do likewise for the group-level configuration, awstats..conf, based on i.e. awstats.atlasfrontier.conf.

Finally, add a line at the bottom of the script ~dbfrontier/local/apache/awstats/etc/, that goes like:

domerge / ...

New Version of Awstats Client Entry Creation

RSYNC Set up

Rsync files


  • rsyncd.secrets has user and pass for authentication between launchpad server and monitoring server to transfer monitoring data.
  • rsyncd.conf has all the entries based on experiment like:


path = /home/squidmon/data/awstats/cerncms

auth = cerncms

hosts allow = IPs


The SiteProject column is user in rsyncd.secret

Edit | Attach | Watch | Print version | History: r8 | r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r4 - 2017-06-16 - AmjadKotobi
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Frontier All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback