mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-17 00:06:59 +00:00
tests: add alarming tests
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
08c9bcc502
commit
c0e7b50bd3
17 changed files with 152 additions and 0 deletions
2
tests/expected/alarm-critical
Normal file
2
tests/expected/alarm-critical
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
CRITICAL: dhcpd-pools: Ranges; crit: 1 warn: 0 ok: 4 Shared nets; crit: 1 warn: 0 ok: 1
|
||||
2
|
||||
2
tests/expected/alarm-critical-ranges
Normal file
2
tests/expected/alarm-critical-ranges
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
CRITICAL: dhcpd-pools: Ranges; crit: 1 warn: 0 ok: 4
|
||||
2
|
||||
2
tests/expected/alarm-critical-snets
Normal file
2
tests/expected/alarm-critical-snets
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
CRITICAL: dhcpd-pools: Shared nets; crit: 1 warn: 0 ok: 1
|
||||
2
|
||||
2
tests/expected/alarm-ok
Normal file
2
tests/expected/alarm-ok
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
OK: Ranges; crit: 0 warn: 0 ok: 5 Shared nets; crit: 0 warn: 0 ok: 2
|
||||
0
|
||||
2
tests/expected/alarm-shared-ok
Normal file
2
tests/expected/alarm-shared-ok
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
OK: Shared nets; crit: 0 warn: 0 ok: 2
|
||||
0
|
||||
2
tests/expected/alarm-warning
Normal file
2
tests/expected/alarm-warning
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
WARNING: dhcpd-pools: Ranges; crit: 0 warn: 1 ok: 4 Shared nets; crit: 0 warn: 1 ok: 1
|
||||
1
|
||||
2
tests/expected/alarm-warning-ranges
Normal file
2
tests/expected/alarm-warning-ranges
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
WARNING: dhcpd-pools: Ranges; crit: 0 warn: 1 ok: 4
|
||||
1
|
||||
2
tests/expected/alarm-warning-snets
Normal file
2
tests/expected/alarm-warning-snets
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
WARNING: dhcpd-pools: Shared nets; crit: 0 warn: 1 ok: 1
|
||||
1
|
||||
Loading…
Add table
Add a link
Reference in a new issue