-
Notifications
You must be signed in to change notification settings - Fork 91
/
Linux_server2.techarkit.local.cfg
117 lines (100 loc) · 3.93 KB
/
Linux_server2.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
105
106
107
108
109
110
111
112
113
114
115
116
117
###############################################################################
#
# HOST DEFINITION
#
###############################################################################
define host {
use linux-techarkit
host_name server2.techarkit.local
alias server2.techarkit.local
address 192.168.48.142
}
###############################################################################
#
# SERVICE DEFINITIONS
#
###############################################################################
define service {
use service-techarkit ; Name of service template to use
host_name server2.techarkit.local
service_description PING
check_command check_ping!100.0,20%!500.0,60%
action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=$SERVICEDESC$
}
define service {
use service-techarkit ; Name of service template to use
host_name server2.techarkit.local
service_description SSH
check_command check_ssh
notifications_enabled 0
}
define service {
use service-techarkit
host_name server2.techarkit.local
service_description / partition disk usage
check_command check_nrpe!check_disk!-a '-w 10% -c 5% -p /'
notifications_enabled 1
}
define service {
use service-techarkit
host_name server2.techarkit.local
service_description /boot partition disk usage
check_command check_nrpe!check_disk!-a '-w 10% -c 5% -p /boot'
notifications_enabled 1
}
define service {
use service-techarkit
host_name server2.techarkit.local
service_description /boot partition disk usage
check_command check_nrpe!check_disk!-a '-w 10% -c 5% -p /home'
notifications_enabled 1
}
define service {
use service-techarkit
host_name server2.techarkit.local
service_description System Load
check_command check_nrpe!check_load!-a '-w 40,25,15 -c 50,40,30'
notifications_enabled 1
}
define service {
use service-techarkit
host_name server2.techarkit.local
service_description CPU Status
check_command check_nrpe!check_cpu_stats!-a '-w 90 -c 95'
notifications_enabled 1
}
define service {
use service-techarkit
host_name server2.techarkit.local
service_description Memory Utilization
check_command check_nrpe!check_mem!-a '-w 90 -c 95'
notifications_enabled 1
}
define service {
use service-techarkit
host_name server2.techarkit.local
service_description SWAP Memory
check_command check_nrpe!check_swap!-a '-w 95% -c 90%'
notifications_enabled 1
}
define service {
use service-techarkit
host_name server2.techarkit.local
service_description Processes
check_command check_nrpe!check_procs!-a '-w 1550 -c 2050'
notifications_enabled 1
}
define service {
use service-techarkit
host_name server2.techarkit.local
service_description Users Logged in
check_command check_nrpe!check_users!-a '-w 5 -c 10'
notifications_enabled 1
}
define service {
use service-techarkit
host_name server2.techarkit.local
service_description CROND status
check_command check_nrpe!check_init_service!-a 'crond'
notifications_enabled 1
}