-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathREADME
37 lines (27 loc) · 788 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
nrpe
This is the nrpe module.
License
-------
Apache License, Version 2.0
Contact
-------
Support
-------
Please log tickets and issues at our github page (https://github.com/jaredcurtis/puppet-nrpe)
Example
-------
node node.domain.tld {
# install and configure NRPE
class { 'nrpe': }
# accept connections from localhost and 10.13.37.1
nrpe::config { 'nrpe.cfg':
allowed_hosts => '127.0.0.1,10.13.37.1',
}
nrpe::command {
'check_users': cmd => "check_users -w 5 -c 10";
'check_load': cmd => "check_load -w 15,10,5 -c 30,25,20";
'check_disks': cmd => "check_disk -w 20% -c 10%";
'check_zombie_procs': cmd => "check_procs -w 5 -c 10 -s Z";
'check_total_procs': cmd => "check_procs -w 150 -c 250";
}
}