source: trunk/noc/nagios/services.cfg @ 1269

Last change on this file since 1269 was 1269, checked in by mitchb, 15 years ago
CPU notifications aren't supposed to be off by default; punt errant setting
File size: 5.3 KB
RevLine 
[48]1define service {
2        name    scripts-service
3        use     generic-service
[535]4        max_check_attempts      6
[48]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 {
[1106]15        name    scripts-nrpe-service
16        use     scripts-service
17        notification_options    w,c,r
18        register 0
19}
20
21define service {
[48]22        use                             scripts-service
[899]23        hostgroup_name                  scripts-all
[48]24        service_description             PING
[709]25        check_command                   check_ping!500.0,30%!3000.0,80%
[48]26        }
27
28
29define service {
30        use     scripts-service
[899]31        hostgroup_name  scripts-real
[48]32        service_description     SSH
33        check_command   check_ssh
34}
35
36define service {
37        use     scripts-service
[429]38        host_name       scripts
39        service_description     SSH
40        check_command   check_ssh
41        notification_period     afs
42        contact_groups  scripts,pagers
43}
44
45define service {
46        use     scripts-service
[48]47        hostgroup_name  scripts-http
48        service_description     HTTP
[429]49        notification_period     afs
50        check_command   check_http_heartbeat
51        contact_groups  scripts,pagers
[48]52}
53
54define service {
55        use     scripts-service
[670]56        hostgroup_name          scripts-https
[48]57        service_description     HTTPS
[429]58        notification_period     afs
59        check_command   check_https_cert!14
60        contact_groups  scripts,pagers
[48]61}
62
63define service {
64        use     scripts-service
[899]65        hostgroup_name          scripts-https
66        service_description     HTTPS-CERT
67        notification_period     afs
68        check_command   check_https_cert_444!14
69        contact_groups  scripts,pagers
70}
71
[900]72define service {
73        use     scripts-service
74        host_name       scripts
75        service_description     SVN
76        check_command   check_svn
77        notification_period     afs
78}
79
80define service {
81        use     scripts-service
82        hostgroup_name  scripts-user
83        service_description     SVN
84        check_command   check_svn
85        notification_period     afs
86}
87
[899]88define servicedependency{
89        host_name                       scripts
90        service_description             HTTP
91        dependent_host_name             scripts,scripts-cert,wildcard.scripts
92        dependent_service_description   HTTPS,HTTPS-CERT
93        execution_failure_criteria      n
94        notification_failure_criteria   w,u,c
95        }
96
97define servicedependency{
98        host_name                       scripts
99        service_description             HTTP
100        dependent_host_name             scripts-cert
101        dependent_service_description   HTTP
102        execution_failure_criteria      n
103        notification_failure_criteria   w,u,c
104        }
105
106
107define service {
[1106]108        use     scripts-nrpe-service
[48]109        hostgroup_name  scripts-mail
110        service_description     POSTFIX
[535]111        check_command   check_remote_procs_u!1:128!1:256!postfix
[48]112}
113
114define service {
[709]115        use     scripts-service
116        hostgroup_name  scripts-user
[960]117        service_description     HTTP
118        notification_period     afs
119        check_command   check_http_heartbeat
120        contact_groups  scripts
121}
122
123define service {
124        use     scripts-service
125        hostgroup_name          scripts-user
126        service_description     HTTPS
127        notification_period     afs
128        check_command   check_https_cert!14
129        contact_groups  scripts
130}
131
132define service {
[1106]133        use     scripts-nrpe-service
[960]134        hostgroup_name  scripts-user
[709]135        service_description     NSCD
136        check_command   check_remote_procs_u!1:256!1:512!nscd
137}
138
139define service {
[1106]140        use scripts-nrpe-service
[899]141        hostgroup_name scripts-user
142        service_description     AFS
[1117]143        notification_period     afs
[899]144        check_command   check_remote_afs
145}
146
147define service {
[1106]148        use scripts-nrpe-service
[991]149        hostgroup_name scripts-user
150        service_description     CRON-WORKING
[993]151        notification_period     afs
[991]152        check_command   check_remote_cron_working
153}
154
155define service {
[1106]156        use     scripts-nrpe-service
[1062]157        hostgroup_name  scripts-user
158        service_description     USERS
159        check_command   check_remote_users!50!25
160}
161
162define service {
[899]163    use scripts-service
164    hostgroup_name scripts-user
165    service_description LDAP
166    check_command check_scripts_ldap
167}
168
169define service {
[429]170       use     scripts-service
171       hostgroup_name   scripts-mail
172       service_description      SMTP
173       check_command    check_smtp
174}
175
176define service {
177       use     scripts-service
178       host_name        scripts
[535]179       notification_period      afs
[429]180       service_description      SMTP
181       check_command    check_smtp
182}
183
184define service {
[1106]185        use     scripts-nrpe-service
[48]186        hostgroup_name  scripts-cron
187        service_description     CRON
188        check_command   check_remote_procs_C!1:!1:!crond
189}
190
191define service {
192        use     scripts-service
[899]193        hostgroup_name  scripts-real
[1055]194        service_description     NRPE
195        check_command   check_nrpe_alive
196}
197
198define service {
[1106]199        use     scripts-nrpe-service
[1055]200        hostgroup_name  scripts-real
[48]201        service_description     DISK
202        check_command   check_remote_disk!10%!5%
203}
204
205define service {
[1106]206        use     scripts-nrpe-service
207        hostgroup_name  scripts-user
[48]208        service_description     LOAD
[1054]209        check_command   check_remote_load!50:50:50!100:50:50
[48]210}
211
212define service {
[1106]213        use     scripts-nrpe-service
[48]214        hostgroup_name  mysql-masters,mysql-slaves
215        service_description     LOAD
[899]216        check_command   check_remote_load!16:10:10!20:15:15
[735]217        contact_groups  sql
[48]218}
219
220define service {
221        use     scripts-service
222        hostgroup_name  scripts-mysql
223        service_description     MYSQL
224        check_command   check_tcp!3306
[735]225        contact_groups  sql,scripts,pagers
[48]226}
227
228define service {
229        use     scripts-service
[429]230        hostgroup_name  scripts-mysql
231        service_description     HTTP
232        notification_period     afs
233        check_command   check_http
[735]234        contact_groups  sql,scripts,pagers
[429]235}
236
237define service {
[1106]238        use     scripts-nrpe-service
[48]239        hostgroup_name  mysql-masters
240        service_description     MYSQL-M
241        check_command   check_remote_mysql
[991]242        contact_groups  sql,scripts
[48]243}
244
245define service {
[1106]246        use     scripts-nrpe-service
[48]247        hostgroup_name  mysql-slaves
248        service_description     MYSQL-S
249        check_command   check_remote_mysql_slave
[991]250        contact_groups  sql,scripts
[48]251}
252
253define service {
[1106]254        use     scripts-nrpe-service
255        hostgroup_name  scripts-user
[48]256        service_description     CPU
[670]257        check_command   check_remote_procs_P!4!6!50
[48]258}
Note: See TracBrowser for help on using the repository browser.