first commit

This commit is contained in:
2022-01-23 09:06:19 +01:00
commit 5ff3a2457e
5 changed files with 403 additions and 0 deletions

140
telegraf/config.json Executable file
View File

@@ -0,0 +1,140 @@
{
"name": "Telegraf",
"version": "0.6.0",
"slug": "hassio_telegraf",
"description": "An addon to add telegraf to hassio.",
"url": "https://gitea.bonelle-family.dscloud.biz/francois.bonelle/hassio-telegraf.git",
"arch": [
"armhf",
"armv7",
"aarch64",
"amd64",
"i386"
],
"init": false,
"startup": "services",
"boot": "manual",
"hassio_api": true,
"hassio_role": "default",
"auth_api": true,
"docker_api": true,
"host_network": true,
"host_pid": true,
"apparmor": false,
"map": [
"config:rw",
"ssl:rw",
"addons:rw",
"backup:rw",
"share:rw"
],
"privileged": [
"SYS_ADMIN"
],
"full_access": true,
"options": {
"custom_conf": {
"enabled": false,
"location": "/share/telegraf.conf"
},
"hostname": "test",
"influxDB": {
"enabled": true,
"url": "http://a0d7b954-influxdb:8086",
"db": "telegraf"
},
"kernel": {
"enabled": true
},
"swap": {
"enabled": true
},
"docker": {
"enabled": false,
"timeout": "5s"
},
"thermal": {
"enabled": false
},
"smart_monitor": {
"enabled": false,
"timeout": "30s"
},
"ipmi_sensor": {
"enabled": false,
"interval": "30s",
"timeout": "20s",
"server_user_id": "user",
"server_password": "password",
"server_protocol": "lan",
"server_ip": "192.168.1.2"
},
"influxDBv2": {
"enabled": false,
"url": "http://127.0.0.1:9999",
"organization": "",
"token": "",
"bucket": ""
},
"prometheus": {
"enabled": false,
"metrics_path": "/metrics"
}
},
"schema": {
"custom_conf": {
"enabled": "bool",
"location": "str"
},
"hostname": "str",
"influxDB": {
"enabled": "bool",
"url": "str",
"db": "str",
"retention_policy": "str?",
"username": "str?",
"password": "str?"
},
"kernel": {
"enabled": "bool"
},
"swap": {
"enabled": "bool"
},
"docker": {
"enabled": "bool",
"timeout": "str"
},
"thermal": {
"enabled": "bool"
},
"smart_monitor": {
"enabled": "bool",
"timeout": "str"
},
"ipmi_sensor": {
"enabled": "bool",
"interval": "str",
"timeout": "str",
"server_user_id": "str",
"server_password": "str",
"server_protocol": "str",
"server_ip": "str"
},
"influxDBv2": {
"enabled": "bool",
"url": "str",
"organization": "str",
"token": "str",
"bucket": "str"
},
"prometheus": {
"enabled": "bool",
"metrics_path": "str"
}
},
"ports": {
"9273/tcp": 9273
},
"image" : "sabuto/{arch}-hassio-telegraf"
}