Puppet Class: systemd::timer::nrpe_plugin

Defined in:
modules/systemd/manifests/timer/nrpe_plugin.pp

Overview

Class systemd::timer::nrpe_plugin

Nagios NRPE pluing script to check the status of systemd unit.



4
5
6
7
8
9
10
11
12
# File 'modules/systemd/manifests/timer/nrpe_plugin.pp', line 4

class systemd::timer::nrpe_plugin {
    file { '/usr/local/lib/nagios/plugins/check_systemd_unit_status':
        ensure => present,
        source => 'puppet:///modules/systemd/check_systemd_unit_status',
        mode   => '0555',
        owner  => 'root',
        group  => 'root',
    }
}