aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorluixal <luixal@gmail.com>2022-10-12 23:32:37 +0200
committerBastien Wirtz <bastien.wirtz@gmail.com>2022-10-13 21:57:53 +0200
commit494529f0a95641d82ee64b8a2db89826de64edfd (patch)
treeb3c327de43a6d18ff92bea2682220e0fd2b5ce4a
parent96da0c7ce034ce7c6e2e1a4a65ee63e3edcb574c (diff)
downloadhomer-494529f0a95641d82ee64b8a2db89826de64edfd.tar.gz
homer-494529f0a95641d82ee64b8a2db89826de64edfd.tar.zst
homer-494529f0a95641d82ee64b8a2db89826de64edfd.zip
Adds proxmox data for demo.
-rw-r--r--dummy-data/proxmox/api2/json/nodes/node1/qemu/index.html1
-rw-r--r--dummy-data/proxmox/api2/json/nodes/node1/status/index.html44
-rw-r--r--public/assets/config-demo.yml.dist9
3 files changed, 54 insertions, 0 deletions
diff --git a/dummy-data/proxmox/api2/json/nodes/node1/qemu/index.html b/dummy-data/proxmox/api2/json/nodes/node1/qemu/index.html
new file mode 100644
index 0000000..9ce2e04
--- /dev/null
+++ b/dummy-data/proxmox/api2/json/nodes/node1/qemu/index.html
@@ -0,0 +1 @@
{"data":[{"disk":0,"mem":983848043,"cpus":2,"pid":1218,"maxdisk":107374182400,"netin":43863882954,"diskread":0,"diskwrite":0,"name":"HAOS","netout":10426448652,"cpu":0.00879886290177172,"uptime":3390069,"status":"running","maxmem":3221225472,"vmid":100},{"cpu":0.00219971572544293,"name":"debian1","netout":919020028,"vmid":101,"maxmem":4294967296,"uptime":3390064,"status":"running","maxdisk":107374182400,"pid":1295,"cpus":2,"disk":0,"mem":2755160795,"diskread":0,"diskwrite":0,"netin":5105600872}]} \ No newline at end of file
diff --git a/dummy-data/proxmox/api2/json/nodes/node1/status/index.html b/dummy-data/proxmox/api2/json/nodes/node1/status/index.html
new file mode 100644
index 0000000..72c06b7
--- /dev/null
+++ b/dummy-data/proxmox/api2/json/nodes/node1/status/index.html
@@ -0,0 +1,44 @@
1{
2 "data": {
3 "swap": {
4 "free": 8589930496,
5 "total": 8589930496,
6 "used": 0
7 },
8 "cpuinfo": {
9 "model": "Intel(R) Core(TM) i7-4790 CPU @3.60GHz",
10 "hvm": "1",
11 "user_hz": 100,
12 "sockets": 1,
13 "cpus": 8,
14 "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm abm cpuid_fault epb invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm xsaveopt dtherm ida arat pln pts",
15 "cores": 4,
16 "mhz": "4000.000"
17 },
18 "idle": 0,
19 "memory": {
20 "used": 6283382784,
21 "total": 12419133440,
22 "free": 6135750656
23 },
24 "rootfs": {
25 "avail": 22670036992,
26 "free": 24176627712,
27 "total": 29148368896,
28 "used": 4971741184
29 },
30 "uptime": 3390081,
31 "ksm": {
32 "shared": 1079975936
33 },
34 "cpu": 0.00440286186020914,
35 "kversion": "Linux 5.15.30-2-pve #1 SMP PVE 5.15.30-3 (Fri, 22 Apr 2022 18: 08: 27+0200)",
36 "loadavg": [
37 "0.00",
38 "0.01",
39 "0.04"
40 ],
41 "pveversion": "pve-manager/7.2-3/c743d6c1",
42 "wait": 0.00330214639515685
43 }
44} \ No newline at end of file
diff --git a/public/assets/config-demo.yml.dist b/public/assets/config-demo.yml.dist
index 041d287..5bd9bae 100644
--- a/public/assets/config-demo.yml.dist
+++ b/public/assets/config-demo.yml.dist
@@ -88,3 +88,12 @@ services:
88 url: "#" 88 url: "#"
89 endpoint: "https://homer-demo-content.netlify.app/pihole" 89 endpoint: "https://homer-demo-content.netlify.app/pihole"
90 type: "PiHole" 90 type: "PiHole"
91 - name: "Proxmox - Node1"
92 logo: "https://camo.githubusercontent.com/2df2ac41e1b8a1484be236c75e395981b31bfd670eff46b5c182ea0be9475310/68747470733a2f2f7777772e70726f786d6f782e636f6d2f696d616765732f70726f786d6f782f50726f786d6f785f73796d626f6c5f7374616e646172645f6865782e706e67"
93 type: "Proxmox"
94 tag: "sys"
95 url: "https://homer-demo-content.netlify.app/proxmox"
96 node: "node1"
97 warning_value: 50
98 danger_value: 80
99 api_token: "PVEAPIToken=root@pam!monitoring=baaaa46c1-7aee-4f13-b3e5-754d856111a9"