It is easy to add a Telegraf agent to a guest machine (Windows or Linux) in NetApp Cloud Insights:
Admin > Data Collectors > Add Data Collector
For example:
There are various plugins for Telegraf.
- EXEC can collect script outputs!
- Other useful plugins: HTTP and SNMP
You could have a server running Telegraf and use it to run scripts and collect data from other devices (like additional metrics from storage devices.) You can create a new data lake category as required. The data is injested into the data lake.
Once installed, to check telegraf is running (on Linux)>
systemctl status telegraf
Some Configuration Notes/Tips
## Output to file for easier analysis of file content.
[[outputs.file]]
files = ["$filenamelocation"]
use_batch_format = true
rotation_max_size = "1MB"
data_format = "json"
namepass = ["sqlserver"]
tagexclude = ["CloudInsights"]
[outputs.file.tagpass]
CloudInsights = ["true"]
cloudinsights_sqlserver_conf_version = ["0.1"]
## Output to Cloud Insights
[[outputs.http]]
url = "https://$tenantname.$tenantsubdomain.cloudinsights.netapp.com/rest/v1/lake/ingest/influxdb"
insecure_skip_verify = true
data_format = "json"
namepass = ["sqlserver"]
tagexclude = ["CloudInsights"]
[outputs.http.headers]
Content-Type = "application/json"
X-CloudInsights-ApiKey = "$cloudinsightsapikey"
X-CloudInsights-Lake-Category = "microsoft_sql"
[outputs.http.tagpass]
CloudInsights = ["true"]
cloudinsights_sqlserver_conf_version = ["0.1"]
Comments
Post a Comment