Puppet Class: profile::query_service::monitor::wikidata

Defined in:
modules/profile/manifests/query_service/monitor/wikidata.pp

Overview

SPDX-License-Identifier: Apache-2.0 Monitor exteral blazegraph settings for the wikidata.org dataset



3
4
5
6
7
8
9
10
11
12
13
14
15
# File 'modules/profile/manifests/query_service/monitor/wikidata.pp', line 3

class profile::query_service::monitor::wikidata {
    nrpe::monitor_service { 'Query_Service_Internal_HTTP_endpoint':
        description  => 'Query Service HTTP Port',
        nrpe_command => '/usr/lib/nagios/plugins/check_http -H 127.0.0.1 -p 80 -w 10 -u /readiness-probe',
        notes_url    => 'https://wikitech.wikimedia.org/wiki/Wikidata_query_service',
    }

    monitoring::service { 'WDQS_External_SPARQL_Endpoint':
        description   => 'WDQS SPARQL',
        check_command => 'check_https_url_for_string!query.wikidata.org!/bigdata/namespace/wdq/sparql?query=SELECT%20*%20WHERE%20%7Bwikibase%3ADump%20schema%3AdateModified%20%3Fy%7D%20LIMIT%201!http://www.w3.org/2001/XMLSchema#dateTime',
        notes_url     => 'https://wikitech.wikimedia.org/wiki/Wikidata_query_service/Runbook',
    }
}