diff options
Diffstat (limited to '')
-rw-r--r-- | src/go/plugin/go.d/modules/zfspool/testdata/config.json | 5 | ||||
-rw-r--r-- | src/go/plugin/go.d/modules/zfspool/testdata/config.yaml | 3 | ||||
-rw-r--r-- | src/go/plugin/go.d/modules/zfspool/testdata/zpool-list-vdev-logs-cache.txt | 12 | ||||
-rw-r--r-- | src/go/plugin/go.d/modules/zfspool/testdata/zpool-list-vdev.txt | 5 | ||||
-rw-r--r-- | src/go/plugin/go.d/modules/zfspool/testdata/zpool-list.txt (renamed from src/go/collectors/go.d.plugin/modules/zfspool/testdata/zpool-list.txt) | 0 |
5 files changed, 25 insertions, 0 deletions
diff --git a/src/go/plugin/go.d/modules/zfspool/testdata/config.json b/src/go/plugin/go.d/modules/zfspool/testdata/config.json new file mode 100644 index 000000000..095713193 --- /dev/null +++ b/src/go/plugin/go.d/modules/zfspool/testdata/config.json @@ -0,0 +1,5 @@ +{ + "update_every": 123, + "timeout": 123.123, + "binary_path": "ok" +} diff --git a/src/go/plugin/go.d/modules/zfspool/testdata/config.yaml b/src/go/plugin/go.d/modules/zfspool/testdata/config.yaml new file mode 100644 index 000000000..baf3bcd0b --- /dev/null +++ b/src/go/plugin/go.d/modules/zfspool/testdata/config.yaml @@ -0,0 +1,3 @@ +update_every: 123 +timeout: 123.123 +binary_path: "ok" diff --git a/src/go/plugin/go.d/modules/zfspool/testdata/zpool-list-vdev-logs-cache.txt b/src/go/plugin/go.d/modules/zfspool/testdata/zpool-list-vdev-logs-cache.txt new file mode 100644 index 000000000..061ca6ccd --- /dev/null +++ b/src/go/plugin/go.d/modules/zfspool/testdata/zpool-list-vdev-logs-cache.txt @@ -0,0 +1,12 @@ +NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT +rpool 9981503995904 3046188658688 6935315337216 - - 9 30 1.00 DEGRADED - + mirror-0 9981503995904 3046188658688 6935315337216 - - 9 30 - ONLINE + sdc2 9998683602944 - - - - - - - ONLINE + sdd2 9998683602944 - - - - - - - ONLINE +logs - - - - - - - - - + mirror-1 17716740096 393216 17716346880 - - 0 0 - DEGRADED + sdb1 17951621120 - - - - - - - ONLINE + 14807975228228307538 - - - - - - - - UNAVAIL +cache - - - - - - - - - + sdb2 99000254464 98755866624 239665152 - - 0 99 - ONLINE + wwn-0x500151795954c095-part2 - - - - - - - - UNAVAIL diff --git a/src/go/plugin/go.d/modules/zfspool/testdata/zpool-list-vdev.txt b/src/go/plugin/go.d/modules/zfspool/testdata/zpool-list-vdev.txt new file mode 100644 index 000000000..ff78f8df0 --- /dev/null +++ b/src/go/plugin/go.d/modules/zfspool/testdata/zpool-list-vdev.txt @@ -0,0 +1,5 @@ +NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT +rpool 3985729650688 1647130456064 2338599194624 - - 55 41 1.00 ONLINE - + mirror-0 3985729650688 1647130456064 2338599194624 - - 55 41 - ONLINE + nvme2n1p3 4000249020416 - - - - - - - ONLINE + nvme0n1p3 4000249020416 - - - - - - - ONLINE diff --git a/src/go/collectors/go.d.plugin/modules/zfspool/testdata/zpool-list.txt b/src/go/plugin/go.d/modules/zfspool/testdata/zpool-list.txt index 06d9915c2..06d9915c2 100644 --- a/src/go/collectors/go.d.plugin/modules/zfspool/testdata/zpool-list.txt +++ b/src/go/plugin/go.d/modules/zfspool/testdata/zpool-list.txt |