summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-06-27 20:44:23 +0200
committerErich Eckner <git@eckner.net>2021-06-27 20:44:23 +0200
commitb35aceb443ddd0b924b6d8ca2879dfde8dcc1ca1 (patch)
treec9dbdf909ec3d0e6536226359eb9112748f203d7
parent1f64aef9bc3c2276dd0018b1fbc6a11ddbc656de (diff)
downloadNetzwerkwatchdog-b35aceb443ddd0b924b6d8ca2879dfde8dcc1ca1.tar.xz
new print-status
-rw-r--r--status.txt171
-rw-r--r--tests.konf5
2 files changed, 32 insertions, 144 deletions
diff --git a/status.txt b/status.txt
index fd442ad..5d3ec1e 100644
--- a/status.txt
+++ b/status.txt
@@ -1,8 +1,3 @@
- 23437553664 blocks super 1.2 level 6, 512k chunk, algorithm 2 [9/9] [UUUUUUUUU]
- 3906764800 blocks super 1.2 512k chunks
- 3906764800 blocks super 1.2 512k chunks
- 3906764800 blocks super 1.2 512k chunks
- 483142592 blocks [2/2] [UU]
/dev/mapper/foot0 is active and is in use.
type: LUKS2
cipher: aes-xts-plain64
@@ -12,18 +7,6 @@
offset: 32768 sectors
size: 7813496832 sectors
mode: read/write
-/dev/mapper/leg0 is active and is in use.
- type: INTEGRITY
- tag size: 4
- integrity: crc32c
- sector size: 512 bytes
- interleave sectors: 32768
- size: 7752797048 sectors
- mode: read/write
- failures: 0
- journal size: 67043328 bytes
- journal watermark: 50%
- journal commit time: 10000 ms
/dev/mapper/foot1 is active and is in use.
type: LUKS2
cipher: aes-xts-plain64
@@ -33,18 +16,6 @@
offset: 32768 sectors
size: 7813496832 sectors
mode: read/write
-/dev/mapper/leg1 is active and is in use.
- type: INTEGRITY
- tag size: 4
- integrity: crc32c
- sector size: 512 bytes
- interleave sectors: 32768
- size: 7752797048 sectors
- mode: read/write
- failures: 0
- journal size: 67043328 bytes
- journal watermark: 50%
- journal commit time: 10000 ms
/dev/mapper/foot2 is active and is in use.
type: LUKS2
cipher: aes-xts-plain64
@@ -54,18 +25,6 @@
offset: 32768 sectors
size: 7814004400 sectors
mode: read/write
-/dev/mapper/leg2 is active and is in use.
- type: INTEGRITY
- tag size: 4
- integrity: crc32c
- sector size: 512 bytes
- interleave sectors: 32768
- size: 7753300776 sectors
- mode: read/write
- failures: 0
- journal size: 67043328 bytes
- journal watermark: 50%
- journal commit time: 10000 ms
/dev/mapper/foot3 is active and is in use.
type: LUKS2
cipher: aes-xts-plain64
@@ -75,18 +34,6 @@
offset: 32768 sectors
size: 7814004368 sectors
mode: read/write
-/dev/mapper/leg3 is active and is in use.
- type: INTEGRITY
- tag size: 4
- integrity: crc32c
- sector size: 512 bytes
- interleave sectors: 32768
- size: 7753300744 sectors
- mode: read/write
- failures: 0
- journal size: 67043328 bytes
- journal watermark: 50%
- journal commit time: 10000 ms
/dev/mapper/foot4 is active and is in use.
type: LUKS2
cipher: aes-xts-plain64
@@ -96,18 +43,6 @@
offset: 32768 sectors
size: 7814004400 sectors
mode: read/write
-/dev/mapper/leg4 is active and is in use.
- type: INTEGRITY
- tag size: 4
- integrity: crc32c
- sector size: 512 bytes
- interleave sectors: 32768
- size: 7753300776 sectors
- mode: read/write
- failures: 0
- journal size: 67043328 bytes
- journal watermark: 50%
- journal commit time: 10000 ms
/dev/mapper/foot5 is active and is in use.
type: LUKS2
cipher: aes-xts-plain64
@@ -117,18 +52,6 @@
offset: 32768 sectors
size: 7814004368 sectors
mode: read/write
-/dev/mapper/leg5 is active and is in use.
- type: INTEGRITY
- tag size: 4
- integrity: crc32c
- sector size: 512 bytes
- interleave sectors: 32768
- size: 7753300744 sectors
- mode: read/write
- failures: 0
- journal size: 67043328 bytes
- journal watermark: 50%
- journal commit time: 10000 ms
/dev/mapper/foot6 is active and is in use.
type: LUKS2
cipher: aes-xts-plain64
@@ -138,18 +61,6 @@
offset: 32768 sectors
size: 7814004400 sectors
mode: read/write
-/dev/mapper/leg6 is active and is in use.
- type: INTEGRITY
- tag size: 4
- integrity: crc32c
- sector size: 512 bytes
- interleave sectors: 32768
- size: 7753300776 sectors
- mode: read/write
- failures: 0
- journal size: 67043328 bytes
- journal watermark: 50%
- journal commit time: 10000 ms
/dev/mapper/foot7 is active and is in use.
type: LUKS2
cipher: aes-xts-plain64
@@ -159,18 +70,6 @@
offset: 32768 sectors
size: 7814004400 sectors
mode: read/write
-/dev/mapper/leg7 is active and is in use.
- type: INTEGRITY
- tag size: 4
- integrity: crc32c
- sector size: 512 bytes
- interleave sectors: 32768
- size: 7753300776 sectors
- mode: read/write
- failures: 0
- journal size: 67043328 bytes
- journal watermark: 50%
- journal commit time: 10000 ms
/dev/mapper/foot8 is active and is in use.
type: LUKS2
cipher: aes-xts-plain64
@@ -180,18 +79,6 @@
offset: 32768 sectors
size: 7813496832 sectors
mode: read/write
-/dev/mapper/leg8 is active and is in use.
- type: INTEGRITY
- tag size: 4
- integrity: crc32c
- sector size: 512 bytes
- interleave sectors: 32768
- size: 7752797048 sectors
- mode: read/write
- failures: 0
- journal size: 67043328 bytes
- journal watermark: 50%
- journal commit time: 10000 ms
/dev/mapper/foot9 is active and is in use.
type: LUKS2
cipher: aes-xts-plain64
@@ -201,33 +88,35 @@
offset: 32768 sectors
size: 7814004400 sectors
mode: read/write
+/dev/mapper/leg0 is active and is in use.
+ type: INTEGRITY
+/dev/mapper/leg1 is active and is in use.
+ type: INTEGRITY
+/dev/mapper/leg2 is active and is in use.
+ type: INTEGRITY
+/dev/mapper/leg3 is active and is in use.
+ type: INTEGRITY
+/dev/mapper/leg4 is active and is in use.
+ type: INTEGRITY
+/dev/mapper/leg5 is active and is in use.
+ type: INTEGRITY
+/dev/mapper/leg6 is active and is in use.
+ type: INTEGRITY
+/dev/mapper/leg7 is active and is in use.
+ type: INTEGRITY
+/dev/mapper/leg8 is active and is in use.
+ type: INTEGRITY
/dev/mapper/leg9 is active.
type: INTEGRITY
- tag size: 4
- integrity: crc32c
- sector size: 512 bytes
- interleave sectors: 32768
- size: 7753300776 sectors
- mode: read/write
- failures: 0
- journal size: 67043328 bytes
- journal watermark: 50%
- journal commit time: 10000 ms
-missmatch-count: 0 /dev/disk/by-uuid/22bb36ea-ae2f-4432-b292-348c09641ac3
-/var/www/htdocs is a mountpoint
-25F8MA1AS
-S2ALPEQQ
-WD-WCC7K2CVN1P9
-WD-WCC7K4DT0X92
-WD-WCC7K5RNRSZP
-WD-WMAZA9815365
-WDH0QEPD
-X3TJ4AZGS
-Z32VY4HGS
-Z33W0WKKS
-Z340PPED
-Z3J0UEPBS
-Z4KLN9XAS
-Z97014QS
-ZFN03YRY
-ZFN31XLM
+md0: 483142592 blocks [2/2] [UU]
+md3: 23437553664 blocks super 1.2 level 6, 512k chunk, algorithm 2 [9/9] [UUUUUUUUU]
+md5: 3906764800 blocks super 1.2 512k chunks
+md125: 1953382488 blocks super 1.2
+md126: 3906764800 blocks super 1.2 512k chunks
+md127: 3906764800 blocks super 1.2 512k chunks
+md0: active 0
+md3: clean 0
+md5: clean
+md125: inactive
+md126: clean
+md127: clean
diff --git a/tests.konf b/tests.konf
index 0c8afdb..67de931 100644
--- a/tests.konf
+++ b/tests.konf
@@ -6,8 +6,8 @@ ping 1_s 100 50 .13 (ping) 192.168.0.13
(ping) 1_s 100 50 .4 (ping) 192.168.0.4
ping 0_1_& 600 50 google (ping) www.google.de
ping 0_1_& 600 50 szilassi (ping) szilassi.eckner.net
-remcmp 0_3_& 600 50 Festplatte status.txt;http://192.168.0.15/ftpstatus
-remdate 0_3_&0_7_& 60000 60000 Festplattenjob 90;http://192.168.0.15/ftpstatus.time
+remcmp 0_3_& 600 50 Festplatte status.txt;http://192.168.0.15/status
+remdate 0_3_&0_7_& 60000 60000 Festplattenjob 90;http://192.168.0.15/status.time
(remcmp) 0_4_& 600 50 Musik-Crypto musikStatus.txt;http://musik.home.eckner.net/?what=crypt
remcmp 0_2_&0_6_& 600 100 dns4 dnsStatus.txt;4https://szilassi.eckner.net/iptest.php?i=webserver.ddns.eckner.net&d=127.0.0.1
remcmp 0_2_&0_6_& 600 100 dns6 dnsStatus.txt;6https://szilassi.eckner.net/iptest.php?i=desk.ddns.eckner.net&d=127.0.0.1
@@ -16,4 +16,3 @@ remcmp 0_12_& 100 50 archmirror-content archmirrorStatus.txt;6https://mirror.arc
remcmp 1_s 100 50 archmirror-content archmirrorStatus.txt;4https://mirror.archlinux32.org/irc-logs/freenode/%23archlinux-ports/2017-03-29.html
ping 1_s 100 50 buildmaster buildmaster.archlinux32.org
remdate 0_15_& 60000 60000 buildmaster-backup 90000;https://buildmaster.archlinux32.org/last-backup
-(remcmp) 0_3_&0_7_& 600 50 Festplatte (mount) status2.txt;http://192.168.0.15/ftpstatus2