| 1 | |
| 2 | # check if entropy is too low |
| 3 | # the alarm is checked every 1 minute |
| 4 | # and examines the last hour of data |
| 5 | |
| 6 | alarm: lowest_entropy |
| 7 | on: system.entropy |
| 8 | class: Utilization |
| 9 | type: System |
| 10 | component: Cryptography |
| 11 | host labels: _os=linux |
| 12 | lookup: min -5m unaligned |
| 13 | units: entries |
| 14 | every: 5m |
| 15 | warn: $this < (($status >= $WARNING) ? (200) : (100)) |
| 16 | delay: down 1h multiplier 1.5 max 2h |
| 17 | summary: System entropy pool number of entries |
| 18 | info: Minimum number of entries in the random numbers pool in the last 5 minutes |
| 19 | to: silent |