summaryrefslogtreecommitdiffstats
path: root/tests/health_mgmtapi/python-example.conf
blob: 66713208c1b5163bf451783330301363e1da190c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
alarm: example_alarm1
      on: example.random
   every: 2s
    warn: $random1 > (($status >= $WARNING)  ? (55) : (75))
    crit: $random1 > (($status == $CRITICAL) ? (75) : (95))
    info: random
      to: sysadmin

alarm: example_alarm2
      on: example.random
   every: 2s
    warn: $random2 > (($status >= $WARNING)  ? (55) : (75))
    crit: $random2 > (($status == $CRITICAL) ? (75) : (95))
    info: random
      to: sysadmin