-
Notifications
You must be signed in to change notification settings - Fork 40
Influxdb configuration for Snap #109
Comments
@malleshicn Here it is runnable example: https://github.com/intelsdi-x/snap-plugin-publisher-influxdb/tree/master/examples/tasks. You can find there also exemplary task manifests. If you are not familiar with Snap please follow the instruction which is described in getting-started. I prepared for you step by step example of using psutil collector plugin (this plugin does not require additonal configuration) and influxdb publisher:
copy this content into task.json (adjust config section if needed): {
"version": 1,
"schedule": {
"type": "simple",
"interval": "1s"
},
"workflow": {
"collect": {
"metrics": {
"/intel/psutil/load/load1": {},
"/intel/psutil/load/load5": {},
"/intel/psutil/load/load15": {},
"/intel/psutil/vm/free": {},
"/intel/psutil/vm/used": {}
},
"publish": [
{
"plugin_name": "influxdb",
"config": {
"host": "127.0.0.1",
"port": 8086,
"database": "snap",
"user": "admin",
"password": "admin"
}
}
]
}
}
}
in another terminal window (from the same directory)
now connect to influxdb, use
If you mean a collection of logs and publishing them into influxdb you can use snap-plugin-collector-logs, see example. You can also check the full example with logs collector and elasticsearch, see it. |
@malleshicn: In addition to @katarzyna-z's instructions you can also checkout https://github.com/intelsdi-x/snap-labs/tree/master/advanced-deployment-docker-snap-influxdb-grafana for a docker-compose setup. |
Hi Team,
Snap daemon version (use snapteld -v): snapteld version 1.0.0
Environment: VM hosted in Esxi
Cloud provider or hardware configuration:NA
OS (e.g. from /etc/os-release): ubuntu 16.04 x86
Kernel (e.g. uname -a): Linux ubuntu 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Relevant tools (e.g. plugins used with Snap): Grafana/influxdb
Others (e.g. deploying with Ansible):NA
What happened:
I have installed snap telemetry and would like to use influxdb to get metrics , from snap and to display it on Grafana.
1.
is there any plugin to push logs to influxdb. I referred https://github.com/katarzyna-z/snap-plugin-publisher-influxdb . But after ' make ' I am not clear with the steps. How to get snap metrics in influxdb ? how to configure it
2. Snap DS does not support Alert creation in Grafana. any plan to support in future release?
What you expected to happen:
I should be able to configure graphs on grafana and grafana should be able to pull metrics from influxdb
Thanks
Malleshi CN
Snap daemon version (use
snapteld -v
):Environment:
uname -a
):What happened:
What you expected to happen:
Steps to reproduce it (as minimally and precisely as possible):
Anything else do we need to know (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: