Hi ,
I am running the script on Kapacitor to track if disk is mounted or not ,
but I see the output as shown below. Please guide.
stream
|from().database('processes_status').measurement('disk').groupBy('host').where(lambda:
"path" == '/data1')
|deadman(0.0, 20s)
|alert()
//.id('{{ .TaskName }}/{{ index .Tags "path"}}/{{ index .Tags "host"}}')
//.id('{{ index .Tags "path"}}/{{ index .Tags "host"}}')
.id('{{ index .Tags "host"}}')
//.details('')
.details('{{ .ID }}:Unavailable')
Output is :
["azure.fwd.influxperf",1478294440,{"Date":"2016-11-04T21:20:40Z","Host":"","Source":"Influx","SourceInstance":"Not
Applicable","ObjectName":"disk_status","InstanceName":":Unavailable","CounterName":"emitted","SampleValue":"0","KPI":"Not
Applicable","ThresholdOperator":"Not Applicable","Average":"Not
Applicable"}]
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups
"InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit
https://groups.google.com/d/msgid/influxdb/f44ac56f-90c7-4f27-bac5-8b32ef233082%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.