summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/modules/hddtemp/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/collectors/go.d.plugin/modules/hddtemp/testdata')
-rw-r--r--src/go/collectors/go.d.plugin/modules/hddtemp/testdata/config.json5
-rw-r--r--src/go/collectors/go.d.plugin/modules/hddtemp/testdata/config.yaml3
-rw-r--r--src/go/collectors/go.d.plugin/modules/hddtemp/testdata/hddtemp-all-ok.txt1
-rw-r--r--src/go/collectors/go.d.plugin/modules/hddtemp/testdata/hddtemp-all-sleep.txt1
4 files changed, 10 insertions, 0 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/hddtemp/testdata/config.json b/src/go/collectors/go.d.plugin/modules/hddtemp/testdata/config.json
new file mode 100644
index 000000000..e86834720
--- /dev/null
+++ b/src/go/collectors/go.d.plugin/modules/hddtemp/testdata/config.json
@@ -0,0 +1,5 @@
+{
+ "update_every": 123,
+ "address": "ok",
+ "timeout": 123.123
+}
diff --git a/src/go/collectors/go.d.plugin/modules/hddtemp/testdata/config.yaml b/src/go/collectors/go.d.plugin/modules/hddtemp/testdata/config.yaml
new file mode 100644
index 000000000..1b81d09eb
--- /dev/null
+++ b/src/go/collectors/go.d.plugin/modules/hddtemp/testdata/config.yaml
@@ -0,0 +1,3 @@
+update_every: 123
+address: "ok"
+timeout: 123.123
diff --git a/src/go/collectors/go.d.plugin/modules/hddtemp/testdata/hddtemp-all-ok.txt b/src/go/collectors/go.d.plugin/modules/hddtemp/testdata/hddtemp-all-ok.txt
new file mode 100644
index 000000000..5f6606e81
--- /dev/null
+++ b/src/go/collectors/go.d.plugin/modules/hddtemp/testdata/hddtemp-all-ok.txt
@@ -0,0 +1 @@
+|/dev/sda|WDC WD181KRYZ-01AGBB0|122|F||/dev/sdb|WDC WD181KRYZ-01AGBB0|49|C||/dev/sdc|WDC WDS400T1R0A-68A4W0|27|C||/dev/sdd|WDC WDS400T1R0A-68A4W0|29|C| \ No newline at end of file
diff --git a/src/go/collectors/go.d.plugin/modules/hddtemp/testdata/hddtemp-all-sleep.txt b/src/go/collectors/go.d.plugin/modules/hddtemp/testdata/hddtemp-all-sleep.txt
new file mode 100644
index 000000000..732b62c76
--- /dev/null
+++ b/src/go/collectors/go.d.plugin/modules/hddtemp/testdata/hddtemp-all-sleep.txt
@@ -0,0 +1 @@
+|/dev/disk/by-id/ata-HUP722020APA330_BFJ0WS3F|HUP722020APA330|SLP|*||/dev/disk/by-id/ata-HUP722020APA330_BFGWU7WF|HUP722020APA330|SLP|*||/dev/disk/by-id/ata-WDC_WD10EARS-00Y5B1_WD-WCAV5R693922|WDC WD10EARS-00Y5B1|SLP|*| \ No newline at end of file