I’m still learning Telegraf/InfluxDB, but I like it so far. Does anybody have 
experience adding simple URL-based probes? For example, I’d like to graph this 
for each collection.

http://mycluster:8983/solr/mycollection/select?q=${query}&rows=0&wt=json"; | jq 
-r .response.numFound

And this for each core. The script to get the nodes and cores is some scary 
bash code, I probably should have done this in Python.

curl -s 
"http://$url_frag/${cores[i]}/replication?_=1535148863458&command=details&wt=json";
 | jq -r '.details.indexSize' | cut -d ' ' -f 1

The CPU and disk monitoring was easy to set up.

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)

Reply via email to