Sha256: 9ef4d1924e09af1d2fdb951981b5c58c8e6174d8e3af05318f205443a196beb5
Contents?: true
Size: 831 Bytes
Versions: 1
Compression:
Stored size: 831 Bytes
Contents
Feature: Check ZFS In order to notified before it's to late As an agile System-Administrator I want the health of my ZFS pools monitored with Nagios by check_zfs Scenario Outline: Exit status and stdout Given a double of "zpool list -H -o name,health" with stdout: """ rpool <rpool> tank <tank> tank2 <tank2> """ When I run `check_zfs` Then the exit status should be <exit> And the stdout should contain exactly: """ <stdout> """ Examples: | rpool | tank | tank2 | exit | stdout | | ONLINE | ONLINE | ONLINE | 0 | OK: 3 ONLINE | | ONLINE | DEGRADED | ONLINE | 1 | Warning: 1 DEGRADED, 2 ONLINE | | ONLINE | DEGRADED | FAULTED | 2 | Critical: 1 FAULTED, 1 DEGRADED, 1 ONLINE |
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
check_zfs-0.0.2 | features/check_zfs.feature |