-
Notifications
You must be signed in to change notification settings - Fork 89
/
ubuntu.techarkit.local.cfg
104 lines (89 loc) · 3.44 KB
/
ubuntu.techarkit.local.cfg
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
###############################################################################
#
# HOST DEFINITION
#
###############################################################################
define host {
use linux-techarkit
host_name ubuntu.techarkit.local
alias Ubuntu Server NRPE Client
address 192.168.29.204
contacts nagiosadmin
contact_groups admins
}
###############################################################################
#
# SERVICE DEFINITIONS
#
###############################################################################
define service {
use service-techarkit ; Name of service template to use
host_name ubuntu.techarkit.local
service_description PING
check_command check_ping!100.0,20%!500.0,60%
contacts nagiosadmin
contact_groups admins
}
define service {
use service-techarkit ; Name of service template to use
host_name ubuntu.techarkit.local
service_description SSH
check_command check_ssh
notifications_enabled 0
contacts nagiosadmin
contact_groups admins
}
define service {
use service-techarkit
host_name ubuntu.techarkit.local
service_description / partition disk usage
check_command check_nrpe!check_disk!-a '-w 10% -c 5% -p /'
notifications_enabled 1
contacts nagiosadmin
contact_groups admins
}
define service {
use service-techarkit
host_name ubuntu.techarkit.local
service_description /boot partition disk usage
check_command check_nrpe!check_disk!-a '-w 10% -c 5% -p /boot'
notifications_enabled 1
contacts nagiosadmin
contact_groups admins
}
define service {
use service-techarkit
host_name ubuntu.techarkit.local
service_description System Load
check_command check_nrpe!check_load!-a '-w 40,25,15 -c 50,40,30'
notifications_enabled 1
contacts nagiosadmin
contact_groups admins
}
define service {
use service-techarkit
host_name ubuntu.techarkit.local
service_description SWAP Memory
check_command check_nrpe!check_swap!-a '-w 95% -c 90%'
notifications_enabled 1
contacts nagiosadmin
contact_groups admins
}
define service {
use service-techarkit
host_name ubuntu.techarkit.local
service_description Processes
check_command check_nrpe!check_procs!-a '-w 1550 -c 2050'
notifications_enabled 1
contacts nagiosadmin
contact_groups admins
}
define service {
use service-techarkit
host_name ubuntu.techarkit.local
service_description Users Logged in
check_command check_nrpe!check_users!-a '-w 5 -c 10'
notifications_enabled 1
contacts nagiosadmin
contact_groups admins
}