summaryrefslogtreecommitdiffstats
path: root/src/go/plugin/go.d/modules/lvm/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/plugin/go.d/modules/lvm/testdata')
-rw-r--r--src/go/plugin/go.d/modules/lvm/testdata/config.json4
-rw-r--r--src/go/plugin/go.d/modules/lvm/testdata/config.yaml2
-rw-r--r--src/go/plugin/go.d/modules/lvm/testdata/lvs-report-no-thin.json16
-rw-r--r--src/go/plugin/go.d/modules/lvm/testdata/lvs-report.json16
4 files changed, 38 insertions, 0 deletions
diff --git a/src/go/plugin/go.d/modules/lvm/testdata/config.json b/src/go/plugin/go.d/modules/lvm/testdata/config.json
new file mode 100644
index 000000000..291ecee3d
--- /dev/null
+++ b/src/go/plugin/go.d/modules/lvm/testdata/config.json
@@ -0,0 +1,4 @@
+{
+ "update_every": 123,
+ "timeout": 123.123
+}
diff --git a/src/go/plugin/go.d/modules/lvm/testdata/config.yaml b/src/go/plugin/go.d/modules/lvm/testdata/config.yaml
new file mode 100644
index 000000000..25b0b4c78
--- /dev/null
+++ b/src/go/plugin/go.d/modules/lvm/testdata/config.yaml
@@ -0,0 +1,2 @@
+update_every: 123
+timeout: 123.123
diff --git a/src/go/plugin/go.d/modules/lvm/testdata/lvs-report-no-thin.json b/src/go/plugin/go.d/modules/lvm/testdata/lvs-report-no-thin.json
new file mode 100644
index 000000000..1fe8ec44f
--- /dev/null
+++ b/src/go/plugin/go.d/modules/lvm/testdata/lvs-report-no-thin.json
@@ -0,0 +1,16 @@
+{
+ "report": [
+ {
+ "lv": [
+ {
+ "vg_name": "cm-vg",
+ "lv_name": "root",
+ "lv_size": "214232465408",
+ "data_percent": "",
+ "metadata_percent": "",
+ "lv_attr": "-wi-ao----"
+ }
+ ]
+ }
+ ]
+}
diff --git a/src/go/plugin/go.d/modules/lvm/testdata/lvs-report.json b/src/go/plugin/go.d/modules/lvm/testdata/lvs-report.json
new file mode 100644
index 000000000..bd04fad75
--- /dev/null
+++ b/src/go/plugin/go.d/modules/lvm/testdata/lvs-report.json
@@ -0,0 +1,16 @@
+{
+ "report": [
+ {
+ "lv": [
+ {
+ "vg_name": "cm-vg",
+ "lv_name": "root",
+ "lv_size": "214232465408",
+ "data_percent": "78.89",
+ "metadata_percent": "19.25",
+ "lv_attr": "twi-ao----"
+ }
+ ]
+ }
+ ]
+}