CRIC server testing

Old AGIS script and Collectd plugins

One can find the old AGIS script at site

https://gitlab.cern.ch/cric/core-cric/blob/master/lib/cric/tools/servicemon.py

But there is no need in it because there are a lot of Puppetized Collectd plugins for monitoring:

http://monit-docs.web.cern.ch/monit-docs/ingestion/collectd.html

Standard monitoring

The basic monitoring is doing by default with cerncollectd + Gafana. See


https://monit-grafana.cern.ch/d/000000116/host-metrics?orgId=1&var-environment=All&var-hostgroup=cric%2Fcms%2Fdev&var-hostname=All&var-availability_zone=All&var-rp=one_week&var-bin=$__auto_interval_bin&var-rp_dynamic=

Grafana organization

To monitor additional metrics the CRIC Grafana organization is needed. This problem is discussed in the SNOW ticket RQF1306818 .

Awstats v.s. apache Collectd plugin and apachelog Collectd plugin

The puppetized Awstats exits, but requires the standard puppetazed Apache. CRIC do not use the standard manifest for Apache, because it rewrites CRIC config files.

Maybe the apache Collectd plugin and apachelog Collectd plugin will be enough for monitoring. The apache Collectd plugin provides sevaral simple metrics from the apache status module (see for example https://cms-cric-dev-mon-sasha.cern.ch/server-status?auto ). Both these plugins were installed at the test CRIC server https://cms-cric-decms-cric-dev-mon-sasha.cern.ch.

Foreman environment and it-puppet-hostgroup-cric brach for tests

To deploy the test CRIC server https://cms-cric-decms-cric-dev-mon-sasha.cern.ch) the new foreman environment cric_dev_mon was created for the new it-puppet-hostgroup-cric branch develop_monit.

The new foreman environment can be created following the instruction https://configdocs.web.cern.ch/configdocs/details/environments.html

A new CRIC server for the foreman environment cric_dev_mon can created at aiadm host as follows:

ai-bs -i d8558374-2028-44ed-ae09-41a0efdca1ae --foreman-environment cric_dev_mon --foreman-hostgroup cric/cms/dev --landb-responsible cric-devs cms-cric-dev-mon-sasha.cern.ch

The code corresponded to the apache Collectd plugin and apachelog Collectd plugin is placed to module httpd.pp

-- AlexanderBerezhnoy - 2019-05-20

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2019-05-23 - AlexanderBerezhnoy
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 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