| [48] | 1 | define 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 |  | 
|---|
 | 14 | define service { | 
|---|
| [1106] | 15 |         name    scripts-nrpe-service | 
|---|
 | 16 |         use     scripts-service | 
|---|
 | 17 |         notification_options    w,c,r | 
|---|
 | 18 |         register 0 | 
|---|
 | 19 | } | 
|---|
 | 20 |  | 
|---|
 | 21 | define 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 |  | 
|---|
 | 29 | define service { | 
|---|
 | 30 |         use     scripts-service | 
|---|
| [899] | 31 |         hostgroup_name  scripts-real | 
|---|
| [48] | 32 |         service_description     SSH | 
|---|
 | 33 |         check_command   check_ssh | 
|---|
 | 34 | } | 
|---|
 | 35 |  | 
|---|
 | 36 | define 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 |  | 
|---|
 | 45 | define 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 |  | 
|---|
 | 54 | define 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 |  | 
|---|
 | 63 | define 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] | 72 | define service { | 
|---|
 | 73 |         use     scripts-service | 
|---|
 | 74 |         host_name       scripts | 
|---|
 | 75 |         service_description     SVN | 
|---|
 | 76 |         check_command   check_svn | 
|---|
 | 77 |         notification_period     afs | 
|---|
 | 78 | } | 
|---|
 | 79 |  | 
|---|
 | 80 | define 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] | 88 | define 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 |  | 
|---|
 | 97 | define 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 |  | 
|---|
 | 107 | define 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 |  | 
|---|
 | 114 | define 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 |  | 
|---|
 | 123 | define 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 |  | 
|---|
 | 132 | define 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 |  | 
|---|
 | 139 | define 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 |  | 
|---|
 | 147 | define 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 |  | 
|---|
 | 155 | define service { | 
|---|
| [1271] | 156 |         use scripts-nrpe-service | 
|---|
 | 157 |         hostgroup_name scripts-user | 
|---|
 | 158 |         service_description     LDAP-MMR | 
|---|
 | 159 |         notification_period     afs | 
|---|
 | 160 |         check_command   check_remote_ldap_mmr | 
|---|
 | 161 | } | 
|---|
 | 162 |  | 
|---|
 | 163 | define service { | 
|---|
| [1106] | 164 |         use     scripts-nrpe-service | 
|---|
| [1062] | 165 |         hostgroup_name  scripts-user | 
|---|
 | 166 |         service_description     USERS | 
|---|
 | 167 |         check_command   check_remote_users!50!25 | 
|---|
 | 168 | } | 
|---|
 | 169 |  | 
|---|
 | 170 | define service { | 
|---|
| [899] | 171 |     use scripts-service | 
|---|
 | 172 |     hostgroup_name scripts-user | 
|---|
 | 173 |     service_description LDAP | 
|---|
 | 174 |     check_command check_scripts_ldap | 
|---|
 | 175 | } | 
|---|
 | 176 |  | 
|---|
 | 177 | define service { | 
|---|
| [429] | 178 |        use     scripts-service | 
|---|
 | 179 |        hostgroup_name   scripts-mail | 
|---|
 | 180 |        service_description      SMTP | 
|---|
 | 181 |        check_command    check_smtp | 
|---|
 | 182 | } | 
|---|
 | 183 |  | 
|---|
 | 184 | define service { | 
|---|
 | 185 |        use     scripts-service | 
|---|
 | 186 |        host_name        scripts | 
|---|
| [535] | 187 |        notification_period      afs | 
|---|
| [429] | 188 |        service_description      SMTP | 
|---|
 | 189 |        check_command    check_smtp | 
|---|
 | 190 | } | 
|---|
 | 191 |  | 
|---|
 | 192 | define service { | 
|---|
| [1106] | 193 |         use     scripts-nrpe-service | 
|---|
| [48] | 194 |         hostgroup_name  scripts-cron | 
|---|
 | 195 |         service_description     CRON | 
|---|
 | 196 |         check_command   check_remote_procs_C!1:!1:!crond | 
|---|
 | 197 | } | 
|---|
 | 198 |  | 
|---|
 | 199 | define service { | 
|---|
 | 200 |         use     scripts-service | 
|---|
| [899] | 201 |         hostgroup_name  scripts-real | 
|---|
| [1055] | 202 |         service_description     NRPE | 
|---|
 | 203 |         check_command   check_nrpe_alive | 
|---|
 | 204 | } | 
|---|
 | 205 |  | 
|---|
 | 206 | define service { | 
|---|
| [1106] | 207 |         use     scripts-nrpe-service | 
|---|
| [1055] | 208 |         hostgroup_name  scripts-real | 
|---|
| [48] | 209 |         service_description     DISK | 
|---|
 | 210 |         check_command   check_remote_disk!10%!5% | 
|---|
 | 211 | } | 
|---|
 | 212 |  | 
|---|
 | 213 | define service { | 
|---|
| [1106] | 214 |         use     scripts-nrpe-service | 
|---|
 | 215 |         hostgroup_name  scripts-user | 
|---|
| [1286] | 216 |         notification_period     afs | 
|---|
| [48] | 217 |         service_description     LOAD | 
|---|
| [1054] | 218 |         check_command   check_remote_load!50:50:50!100:50:50 | 
|---|
| [48] | 219 | } | 
|---|
 | 220 |  | 
|---|
 | 221 | define service { | 
|---|
| [1106] | 222 |         use     scripts-nrpe-service | 
|---|
| [48] | 223 |         hostgroup_name  mysql-masters,mysql-slaves | 
|---|
 | 224 |         service_description     LOAD | 
|---|
| [899] | 225 |         check_command   check_remote_load!16:10:10!20:15:15 | 
|---|
| [735] | 226 |         contact_groups  sql | 
|---|
| [48] | 227 | } | 
|---|
 | 228 |  | 
|---|
 | 229 | define service { | 
|---|
 | 230 |         use     scripts-service | 
|---|
 | 231 |         hostgroup_name  scripts-mysql | 
|---|
 | 232 |         service_description     MYSQL | 
|---|
 | 233 |         check_command   check_tcp!3306 | 
|---|
| [735] | 234 |         contact_groups  sql,scripts,pagers | 
|---|
| [48] | 235 | } | 
|---|
 | 236 |  | 
|---|
 | 237 | define service { | 
|---|
 | 238 |         use     scripts-service | 
|---|
| [429] | 239 |         hostgroup_name  scripts-mysql | 
|---|
 | 240 |         service_description     HTTP | 
|---|
 | 241 |         check_command   check_http | 
|---|
| [735] | 242 |         contact_groups  sql,scripts,pagers | 
|---|
| [429] | 243 | } | 
|---|
 | 244 |  | 
|---|
 | 245 | define service { | 
|---|
| [1308] | 246 |         use     scripts-service | 
|---|
 | 247 |         hostgroup_name  scripts-mysql | 
|---|
 | 248 |         service_description     HTTPS | 
|---|
 | 249 |         check_command   check_https_cert!14 | 
|---|
| [1309] | 250 |         contact_groups  sql | 
|---|
| [1308] | 251 | } | 
|---|
 | 252 |  | 
|---|
 | 253 | define service { | 
|---|
| [1106] | 254 |         use     scripts-nrpe-service | 
|---|
| [48] | 255 |         hostgroup_name  mysql-masters | 
|---|
 | 256 |         service_description     MYSQL-M | 
|---|
 | 257 |         check_command   check_remote_mysql | 
|---|
| [991] | 258 |         contact_groups  sql,scripts | 
|---|
| [48] | 259 | } | 
|---|
 | 260 |  | 
|---|
 | 261 | define service { | 
|---|
| [1106] | 262 |         use     scripts-nrpe-service | 
|---|
| [48] | 263 |         hostgroup_name  mysql-slaves | 
|---|
 | 264 |         service_description     MYSQL-S | 
|---|
 | 265 |         check_command   check_remote_mysql_slave | 
|---|
| [991] | 266 |         contact_groups  sql,scripts | 
|---|
| [48] | 267 | } | 
|---|
 | 268 |  | 
|---|
 | 269 | define service { | 
|---|
| [1106] | 270 |         use     scripts-nrpe-service | 
|---|
 | 271 |         hostgroup_name  scripts-user | 
|---|
| [48] | 272 |         service_description     CPU | 
|---|
| [670] | 273 |         check_command   check_remote_procs_P!4!6!50 | 
|---|
| [48] | 274 | } | 
|---|