source: noc/nagios/services.cfg @ 717

Last change on this file since 717 was 709, checked in by quentin, 16 years ago
Increase ping times, add nscd monitoring
File size: 3.5 KB
Line 
1define service {
2        name    scripts-service
3        use     generic-service
4        max_check_attempts      6
5        normal_check_interval   2
6        retry_check_interval    1
7        contact_groups  scripts
8        notification_interval   240
9        notification_period     24x7
10        notification_options    w,u,c,r
11        register 0
12}
13
14define service {
15        use                             scripts-service
16        hostgroup_name                  all-remote
17        service_description             PING
18        check_command                   check_ping!500.0,30%!3000.0,80%
19        }
20
21
22define service {
23        use     scripts-service
24        hostgroup_name  real-servers
25        service_description     SSH
26        check_command   check_ssh
27}
28
29define service {
30        use     scripts-service
31        host_name       scripts
32        service_description     SSH
33        check_command   check_ssh
34        notification_period     afs
35        contact_groups  scripts,pagers
36}
37
38define service {
39        use     scripts-service
40        hostgroup_name  scripts-http
41        service_description     HTTP
42        notification_period     afs
43        check_command   check_http_heartbeat
44        contact_groups  scripts,pagers
45}
46
47define service {
48        use     scripts-service
49        hostgroup_name          scripts-https
50        service_description     HTTPS
51        notification_period     afs
52        check_command   check_https_cert!14
53        contact_groups  scripts,pagers
54}
55
56define service {
57        use     scripts-service
58        hostgroup_name  scripts-mail
59        service_description     POSTFIX
60        check_command   check_remote_procs_u!1:128!1:256!postfix
61}
62
63define service {
64        use     scripts-service
65        hostgroup_name  scripts-user
66        service_description     NSCD
67        check_command   check_remote_procs_u!1:256!1:512!nscd
68}
69
70define service {
71       use     scripts-service
72       hostgroup_name   scripts-mail
73       service_description      SMTP
74       check_command    check_smtp
75}
76
77define service {
78       use     scripts-service
79       host_name        scripts
80       notification_period      afs
81       service_description      SMTP
82       check_command    check_smtp
83}
84
85define service {
86        use     scripts-service
87        hostgroup_name  scripts-cron
88        service_description     CRON
89        check_command   check_remote_procs_C!1:!1:!crond
90}
91
92#define service {
93#       use     scripts-service
94#       hostgroup_name  real-servers
95#       service_description     DISK: /
96#       check_command   check_remote_disk!10%!5%!/
97#}
98
99#define service {
100#       use     scripts-service
101#       hostgroup_name  mysql-masters,mysql-slaves
102#       service_description     DISK: /srv
103#       check_command   check_remote_disk!10%!5%!/srv
104#}
105
106define service {
107        use     scripts-service
108        hostgroup_name  real-servers
109        service_description     DISK
110        check_command   check_remote_disk!10%!5%
111}
112
113define service {
114        use     scripts-service
115        host_name       b-m,o-f
116        service_description     LOAD
117        check_command   check_remote_load!16:10:10!20:15:15
118}
119
120define service {
121        use     scripts-service
122        hostgroup_name  mysql-masters,mysql-slaves
123        service_description     LOAD
124        check_command   check_remote_load!13:5:5!15:7:7
125}
126
127define service {
128        use     scripts-service
129        hostgroup_name  scripts-user
130        service_description     USERS
131        check_command   check_remote_users!50!25
132}
133
134define service {
135        use     scripts-service
136        hostgroup_name  scripts-mysql
137        service_description     MYSQL
138        check_command   check_tcp!3306
139        contact_groups  scripts,pagers
140}
141
142define service {
143        use     scripts-service
144        hostgroup_name  scripts-mysql
145        service_description     HTTP
146        notification_period     afs
147        check_command   check_http
148        contact_groups  scripts,pagers
149}
150
151define service {
152        use     scripts-service
153        hostgroup_name  mysql-masters
154        service_description     MYSQL-M
155        check_command   check_remote_mysql
156}
157
158define service {
159        use     scripts-service
160        hostgroup_name  mysql-slaves
161        service_description     MYSQL-S
162        check_command   check_remote_mysql_slave
163}
164
165define service {
166        use     scripts-service
167        host_name       b-m,o-f
168        service_description     CPU
169        notifications_enabled   0
170        check_command   check_remote_procs_P!4!6!50
171       
172}
Note: See TracBrowser for help on using the repository browser.