|
122 | 122 | to its embedded child appender(s)
|
123 | 123 | -->
|
124 | 124 | <filter class="org.dcache.alarms.logback.AlarmDefinitionFilter">
|
| 125 | + <alarmType> |
| 126 | + regex:"(.+) from ac_create", |
| 127 | + type:SERVICE_CREATION_FAILURE, |
| 128 | + level:ERROR, |
| 129 | + severity:CRITICAL, |
| 130 | + include-in-key:group1 type host domain service |
| 131 | + </alarmType> |
| 132 | + <alarmType> |
| 133 | + regex:"Failed to acquire connection.+Attempts left: 0", |
| 134 | + type:DB_OUT_OF_CONNECTIONS, |
| 135 | + level:ERROR, |
| 136 | + severity:CRITICAL, |
| 137 | + include-in-key:type host |
| 138 | + </alarmType> |
| 139 | + <alarmType> |
| 140 | + regex:"Unable to open a test connection to the given database|Connections could not be acquired from the underlying database", |
| 141 | + match-exception:true, |
| 142 | + depth:1, |
| 143 | + type:DB_UNAVAILABLE, |
| 144 | + level:ERROR, |
| 145 | + severity:CRITICAL, |
| 146 | + include-in-key:type host |
| 147 | + </alarmType> |
| 148 | + <alarmType> |
| 149 | + regex:"OutOfMemory", |
| 150 | + type:JVM_OUT_OF_MEMORY, |
| 151 | + level:ERROR, |
| 152 | + severity:CRITICAL, |
| 153 | + include-in-key:type host domain |
| 154 | + </alarmType> |
| 155 | + <alarmType> |
| 156 | + regex:"[Tt]oo many open files", |
| 157 | + type:OUT_OF_FILE_DESCRIPTORS, |
| 158 | + match-exception:true, |
| 159 | + level:ERROR, |
| 160 | + severity:CRITICAL, |
| 161 | + include-in-key:type host domain |
| 162 | + </alarmType> |
| 163 | + <alarmType> |
| 164 | + regex:"I/O.*failed(.+)|I/O error occur.*ed(.+)", |
| 165 | + type:IO_ERROR, |
| 166 | + level:WARN, |
| 167 | + severity:HIGH, |
| 168 | + include-in-key:group1 type host service domain |
| 169 | + </alarmType> |
| 170 | + <alarmType> |
| 171 | + regex:"Fetch failed: HSM script failed", |
| 172 | + type:HSM_READ_FAILURE, |
| 173 | + level:WARN, |
| 174 | + severity:HIGH, |
| 175 | + include-in-key:type host service domain |
| 176 | + </alarmType> |
| 177 | + <alarmType> |
| 178 | + regex:"Store failed: HSM script failed", |
| 179 | + type:HSM_WRITE_FAILURE, |
| 180 | + level:WARN, |
| 181 | + severity:HIGH, |
| 182 | + include-in-key:type host service domain |
| 183 | + </alarmType> |
| 184 | + <alarmType> |
| 185 | + regex:"Timeout querying location manager", |
| 186 | + type:LOCATION_MANAGER_UNAVAILABLE, |
| 187 | + level:WARN, |
| 188 | + severity:HIGH, |
| 189 | + include-in-key:type host service domain |
| 190 | + </alarmType> |
| 191 | + <alarmType> |
| 192 | + regex:"PoolManager.+not found", |
| 193 | + type:POOL_MANAGER_UNAVAILABLE, |
| 194 | + level:WARN, |
| 195 | + severity:HIGH, |
| 196 | + include-in-key:type host service domain |
| 197 | + </alarmType> |
| 198 | + <alarmType> |
| 199 | + regex:"Pool mode changed to disabled", |
| 200 | + type:POOL_DISABLED, |
| 201 | + level:WARN, |
| 202 | + severity:MODERATE, |
| 203 | + include-in-key:type host service domain |
| 204 | + </alarmType> |
125 | 205 | <alarmType>
|
126 | 206 | logger:org.dcache.pool.classic.ChecksumScanner,
|
127 |
| - regex:"Checksum mismatch", |
| 207 | + regex:"Checksum mismatch detected for (.+) - marking as BROKEN", |
128 | 208 | type:CHECKSUM,
|
129 | 209 | level:ERROR,
|
130 | 210 | severity:MODERATE,
|
131 |
| - include-in-key:message type host service domain |
| 211 | + include-in-key:group1 type host service domain |
132 | 212 | </alarmType>
|
133 | 213 | </filter>
|
134 | 214 | <appender-ref ref="remote"/>
|
|
0 commit comments