Puppet Class: query_service::monitor::updater

Defined in:
modules/query_service/manifests/monitor/updater.pp

Overview

Parameters:



1
2
3
4
5
6
7
8
9
10
# File 'modules/query_service/manifests/monitor/updater.pp', line 1

class query_service::monitor::updater (
    String $username,
    String $updater_main_class,
){
    nrpe::monitor_service { 'Query_Service_Updater_process':
        description  => 'Updater process',
        nrpe_command => "/usr/lib/nagios/plugins/check_procs -w 1:1 -u ${username} --ereg-argument-array '^java .* ${updater_main_class}'",
        notes_url    => 'https://wikitech.wikimedia.org/wiki/Wikidata_query_service/Runbook',
    }
}