Difference: MonitoringServerEntryUpdate (1 vs. 8)

Revision 82017-09-13 - AmjadKotobi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Updating an entry in the Monitoring server

Line: 76 to 76
 

  • configuration file need to be created in
Changed:
<
<
etc/awstats/wwwroot/cgi-bin/awstats.awstats_name
>
>
etc/awstats/wwwroot/cgi-bin/awstats.awstats_name.conf
  Inside the configuration file it only required to change two parameters
DirData, e.g. /home/squidmon/data/awstats/fnalcms/fnal-cmsbproxy1

Revision 72017-09-13 - AmjadKotobi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Updating an entry in the Monitoring server

Line: 61 to 61
 
Changed:
<
<
/data/home/squidmon/www/awstats/SiteProjectNodesMapping
>
>
/data/home/squidmon/www/awstatsSiteProjectNodesMapping
  The SiteProject column is user in rsyncd.secret
Line: 72 to 72
 
  • Add new join machine to the experiment group type file in
    wwwsrc/awstats/cms.html
Changed:
<
<
It is required to define two variables in fore-mentioned file and the rest can be followed by the pattern
>
>
It is required to define three variables in fore-mentioned file like id, kind and name which id and kind are in correspond with awstats and mode in SiteProjectNodesMapping file and the rest can be followed by the pattern
 
Deleted:
<
<
mode and awstats name
 
  • configuration file need to be created in
Changed:
<
<
etc/awstats/wwwroot/cgi-bin/awstats.awstats name
>
>
etc/awstats/wwwroot/cgi-bin/awstats.awstats_name

Inside the configuration file it only required to change two parameters

DirData, e.g. /home/squidmon/data/awstats/fnalcms/fnal-cmsbproxy1
SiteDomain, e.g. fnal-cmsbproxy1
 
  • For merging all machines in a group just needed to add one line to awmerge.sh script in
    scripts/awmerge.sh

Revision 62017-09-11 - AmjadKotobi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Updating an entry in the Monitoring server

Line: 68 to 68
 

Manual steps:

  • The rsyncd.conf will be updated the night after SiteProjectNodesMapping checked in the SVN.
Changed:
<
<
  • Create configuration file for new join machine needs to be in
/home/squidmon/etc/awstats/wwwroot/cgi-bin
>
>
conf/awstats/SiteProjectNodesMapping
  • Add new join machine to the experiment group type file in
    wwwsrc/awstats/cms.html

It is required to define two variables in fore-mentioned file and the rest can be followed by the pattern

mode and awstats name

  • configuration file need to be created in
    etc/awstats/wwwroot/cgi-bin/awstats.awstats name

  • For merging all machines in a group just needed to add one line to awmerge.sh script in
    scripts/awmerge.sh

  • Final step is to publish changes in wlcgsquidmon machineby
    ~squidmon/bin/squidmon_publish

Revision 52017-09-05 - AmjadKotobi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Updating an entry in the Monitoring server

Line: 17 to 17
 
  • 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
Changed:
<
<
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:
>
>
Then, check that the associated user has an entry in ~dbfrontier/dist/rpms/awstats/SiteProjectNodesMapping, 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
Line: 61 to 61
 
Changed:
<
<
/data/home/squidmon/www/awstatsSiteProjectNodesMapping_new
>
>
/data/home/squidmon/www/awstats/SiteProjectNodesMapping
  The SiteProject column is user in rsyncd.secret
Added:
>
>

Manual steps:

 
Added:
>
>
  • The rsyncd.conf will be updated the night after SiteProjectNodesMapping checked in the SVN.
  • Create configuration file for new join machine needs to be in
/home/squidmon/etc/awstats/wwwroot/cgi-bin

Revision 42017-06-16 - AmjadKotobi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Updating an entry in the Monitoring server

Line: 43 to 43
 

RSYNC Set up

Rsync files

Changed:
<
<
/etc/rsyncd.secret
>
>
/etc/rsyncd.secrets
 
/etc/rsyncd.conf
Changed:
<
<
  • rsyncd.secret has user and pass for authentication between launchpad server and monitoring server to transfer monitoring data.
>
>
  • 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:

Revision 32017-06-16 - AmjadKotobi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Updating an entry in the Monitoring server

Line: 61 to 61
 
Changed:
<
<
/data/home/squidmon/www/awstatsSiteProjectNodesMapping_new
The SiteProject column is user in *rsyncd.secret
>
>
/data/home/squidmon/www/awstatsSiteProjectNodesMapping_new
 
Added:
>
>
The SiteProject column is user in rsyncd.secret
 

Deleted:
<
<
-- LuisLinares - 24 Jun 2014

Revision 22017-06-16 - AmjadKotobi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Updating an entry in the Monitoring server

Line: 36 to 36
  domerge / ...
Added:
>
>

New Version of Awstats Client Entry Creation

RSYNC Set up

Rsync files

/etc/rsyncd.secret
/etc/rsyncd.conf

  • rsyncd.secret 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:

[awstats_cerncms]

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

auth = cerncms

hosts allow = IPs

/data/home/squidmon/www/awstatsSiteProjectNodesMapping_new
The SiteProject column is user in *rsyncd.secret

 -- LuisLinares - 24 Jun 2014

Revision 12014-06-24 - LuisLinares

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="WebHome"

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

Prerrequisites

  • 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/awmerge.sh, that goes like:

domerge / ...

-- LuisLinares - 24 Jun 2014

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