-
Notifications
You must be signed in to change notification settings - Fork 13
/
README.md.save
93 lines (57 loc) · 2.38 KB
/
README.md.save
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Telegraf Plugin for Hassio
This is a very simple hassio plugin that ebnables you to run telegraf on your hassio system, I am still working on this so please bear with me, I am happy to accept PR's
# Installation
To Install this addon simply go to: Hassio->Addon-store.
Then add https://github.com/Sabuto/hassio-repo in the add repository by URL box.
Scroll down to Rob's Repo and install Telegraf. Give it a few minutes to install and update.
# Config
The config is simple but there are some things to consider,
You must have a running influxDB instance (the hassio plugin works)
```bash
influxDB
```
This allows you to specify the location and port for your influxDB instance (the port must be specified)
```bash
influx_db
```
This is the database within influxDB to use (you may need to create this)
```bash
influx_user
```
This is the username telegraf will use to communicate with InfluxDB
```bash
influx_pw
```
This is the password to coinside with the username
```bash
retention_policy
```
This is the retention policy to use (again you may need to specify this when setting up the db)
```bash
docker : {
enabled: false
timeout: 5s
}
```
This allows you to monitor your docker containers, the timeout allows you to specify how long it should try before connection is dropped *PLEASE NOTE: IN ORDER TO DO THIS YOU MUST TURN OFF PROTECTION MODE*
```bash
smart_monitor : {
enabled: false
timeout : "30s"
}
```
This allows you to monitor the temperature of the hard drives
# Known issues
~~For some reason at the moment i have figured out how to communicate with the docker.sock therefore i cannot get the process' for docker contaisners. I will look into this and fix it when i can, if you have any idea please submit a PR~~
# TO-DO
~~Add dev branch~~
Add images to installation steps
Add PR Template
~~Add Issue Template~~
Configure more options to edit for the inputs
Configure different outputs (so it doesn't have to be influxDB dependant, would appreciate it if people could reccomend ones they would find useful.)
[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
[armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg
[armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg
[commits-shield]: https://img.shields.io/github/commit-activity/y/sabuto/hassio-telegraf?style=plastic