Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

Difference between revisions of "APEL/Tests"

From EGIWiki
Jump to navigation Jump to search
 
Line 2: Line 2:
{{TOC_right}}
{{TOC_right}}


Two APEL accounting tests are provided, APEL-Pub and APEL-Sync. Both tests run centrally in the APEL server and query the central APEL database for publishing details of every production/certified site registered in GOCDB with at least one CE defined as an "APEL" service type.
Two APEL accounting tests are provided, APEL-Pub and APEL-Sync. Both tests run centrally in the APEL server and query the central APEL database for publishing details of every production/certified site registered in GOCDB with at least one CE defined as an "APEL" service type with "Monitored" set to true.


These results are then sent as Nagios metrics via the network of ActiveMQ brokers to be consumed by the ROC Nagios instances.
These results are then sent as Nagios metrics via the network of ActiveMQ message brokers to be consumed by the ROC Nagios instances.


=== APEL-Pub ===
=== APEL-Pub ===


The APEL-Pub test checks for the latest successfull published date for each site. The test can return the following values:
The APEL-Pub test checks for the latest successful published date for each site. The test can return the following values:


* OK: The most recent record published by the site is 7 or less days old.
* OK: The most recent record published by the site is 7 or less days old.

Latest revision as of 12:42, 8 November 2017

APEL Nagios Monitoring


Two APEL accounting tests are provided, APEL-Pub and APEL-Sync. Both tests run centrally in the APEL server and query the central APEL database for publishing details of every production/certified site registered in GOCDB with at least one CE defined as an "APEL" service type with "Monitored" set to true.

These results are then sent as Nagios metrics via the network of ActiveMQ message brokers to be consumed by the ROC Nagios instances.

APEL-Pub

The APEL-Pub test checks for the latest successful published date for each site. The test can return the following values:

  • OK: The most recent record published by the site is 7 or less days old.
  • WARNING: The most recent record published by the site is between 8 and 31 days old.
  • ERROR: The site hasn't published any records for more than 31 days.

APEL-Sync

The APEL-Sync test compares the number of records in the site's local database with the number of records published to the central APEL database by month. The test can return the following values:

  • OK: The difference between local and central number of records is less than 10.
  • WARNING: The difference between local and central number of records is between 10 and 100.
  • ERROR: The difference between local and central number of records is greater than 100.

The results of the tests are also published to the following webpages: http://goc-accounting.grid-support.ac.uk/rss/SITENAME_Pub.html and http://goc-accounting.grid-support.ac.uk/rss/SITENAME_Sync.html