Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ElasticSearch now lives in /var/elasticsearch

This was generating errors in munin-node.log
  • Loading branch information...
commit 75cf7e603cf0bbd77fdda06a1e41c5b2697615a2 1 parent 7f78503
@tsibley tsibley authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/munin/files/plugins/elasticsearch_translog_size
View
4 modules/munin/files/plugins/elasticsearch_translog_size
@@ -18,7 +18,7 @@ if [ "$1" = "config" ]; then
exit 0
fi
-NUMBER=`ls /srv/elasticsearch/metacpan_v1/nodes/0/indices/*/*/translog/* | wc -l`
-SIZE=`du -s /srv/elasticsearch/metacpan_v1/nodes/0/indices/*/*/translog/* | awk '{sum+=$1};END{print sum}'`
+NUMBER=`ls /var/elasticsearch/metacpan_v1/nodes/0/indices/*/*/translog/* | wc -l`
+SIZE=`du -s /var/elasticsearch/metacpan_v1/nodes/0/indices/*/*/translog/* | awk '{sum+=$1};END{print sum}'`
echo "number.value $NUMBER"
echo "size.value $SIZE"
Please sign in to comment.
Something went wrong with that request. Please try again.