source: noc/nagios/services.cfg @ 949

Last change on this file since 949 was 900, checked in by quentin, 15 years ago
Check SVN status
File size: 4.5 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 {
15        use                             scripts-service
[899]16        hostgroup_name                  scripts-all
[48]17        service_description             PING
[709]18        check_command                   check_ping!500.0,30%!3000.0,80%
[48]19        }
20
21
22define service {
23        use     scripts-service
[899]24        hostgroup_name  scripts-real
[48]25        service_description     SSH
26        check_command   check_ssh
27}
28
29define service {
30        use     scripts-service
[429]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
[48]40        hostgroup_name  scripts-http
41        service_description     HTTP
[429]42        notification_period     afs
43        check_command   check_http_heartbeat
44        contact_groups  scripts,pagers
[48]45}
46
47define service {
48        use     scripts-service
[670]49        hostgroup_name          scripts-https
[48]50        service_description     HTTPS
[429]51        notification_period     afs
52        check_command   check_https_cert!14
53        contact_groups  scripts,pagers
[48]54}
55
56define service {
57        use     scripts-service
[899]58        hostgroup_name          scripts-https
59        service_description     HTTPS-CERT
60        notification_period     afs
61        check_command   check_https_cert_444!14
62        contact_groups  scripts,pagers
63}
64
[900]65define service {
66        use     scripts-service
67        host_name       scripts
68        service_description     SVN
69        check_command   check_svn
70        notification_period     afs
71}
72
73define service {
74        use     scripts-service
75        hostgroup_name  scripts-user
76        service_description     SVN
77        check_command   check_svn
78        notification_period     afs
79}
80
[899]81define servicedependency{
82        host_name                       scripts
83        service_description             HTTP
84        dependent_host_name             scripts,scripts-cert,wildcard.scripts
85        dependent_service_description   HTTPS,HTTPS-CERT
86        execution_failure_criteria      n
87        notification_failure_criteria   w,u,c
88        }
89
90define servicedependency{
91        host_name                       scripts
92        service_description             HTTP
93        dependent_host_name             scripts-cert
94        dependent_service_description   HTTP
95        execution_failure_criteria      n
96        notification_failure_criteria   w,u,c
97        }
98
99
100define service {
101        use     scripts-service
[48]102        hostgroup_name  scripts-mail
103        service_description     POSTFIX
[535]104        check_command   check_remote_procs_u!1:128!1:256!postfix
[48]105}
106
107define service {
[709]108        use     scripts-service
109        hostgroup_name  scripts-user
110        service_description     NSCD
111        check_command   check_remote_procs_u!1:256!1:512!nscd
112}
113
114define service {
[899]115        use scripts-service
116        hostgroup_name scripts-user
117        service_description     AFS
118        check_command   check_remote_afs
119}
120
121define service {
122    use scripts-service
123    hostgroup_name scripts-user
124    service_description LDAP
125    check_command check_scripts_ldap
126}
127
128define service {
[429]129       use     scripts-service
130       hostgroup_name   scripts-mail
131       service_description      SMTP
132       check_command    check_smtp
133}
134
135define service {
136       use     scripts-service
137       host_name        scripts
[535]138       notification_period      afs
[429]139       service_description      SMTP
140       check_command    check_smtp
141}
142
143define service {
[48]144        use     scripts-service
145        hostgroup_name  scripts-cron
146        service_description     CRON
147        check_command   check_remote_procs_C!1:!1:!crond
148}
149
150define service {
151        use     scripts-service
[899]152        hostgroup_name  scripts-real
[48]153        service_description     DISK
154        check_command   check_remote_disk!10%!5%
155}
156
157define service {
158        use     scripts-service
159        host_name       b-m,o-f
160        service_description     LOAD
[678]161        check_command   check_remote_load!16:10:10!20:15:15
[48]162}
163
164define service {
165        use     scripts-service
166        hostgroup_name  mysql-masters,mysql-slaves
167        service_description     LOAD
[899]168        check_command   check_remote_load!16:10:10!20:15:15
[735]169        contact_groups  sql
[48]170}
171
172define service {
173        use     scripts-service
174        hostgroup_name  scripts-user
175        service_description     USERS
176        check_command   check_remote_users!50!25
177}
178
179define service {
180        use     scripts-service
181        hostgroup_name  scripts-mysql
182        service_description     MYSQL
183        check_command   check_tcp!3306
[735]184        contact_groups  sql,scripts,pagers
[48]185}
186
187define service {
188        use     scripts-service
[429]189        hostgroup_name  scripts-mysql
190        service_description     HTTP
191        notification_period     afs
192        check_command   check_http
[735]193        contact_groups  sql,scripts,pagers
[429]194}
195
196define service {
197        use     scripts-service
[48]198        hostgroup_name  mysql-masters
199        service_description     MYSQL-M
200        check_command   check_remote_mysql
[735]201        contact_groups  sql
[48]202}
203
204define service {
205        use     scripts-service
206        hostgroup_name  mysql-slaves
207        service_description     MYSQL-S
208        check_command   check_remote_mysql_slave
[735]209        contact_groups  sql
[48]210}
211
212define service {
213        use     scripts-service
214        host_name       b-m,o-f
215        service_description     CPU
216        notifications_enabled   0
[670]217        check_command   check_remote_procs_P!4!6!50
[48]218}
Note: See TracBrowser for help on using the repository browser.