jmukhtar
(Junaid)
October 24, 2017, 9:08am
1
I am running a single node ES with no replica's and monitoring it via icinga/nagios. I have set the replica shards to 0 via the curl command
curl -XPUT 'localhost:9200/_settings?pretty' -H 'Content-Type: application/json' -d' { "index" : { "number_of_replicas" : 0 } } '
but the problem is the warning still appears every day on my nagios dashboard.
Detail: One or more indexes are missing replica shards. Use -vv to list them.
Is there a way to permanently suppress the warning? or set the value of replica shards to 0 via any configuration file?
warkolm
(Mark Walkom)
October 24, 2017, 9:09am
2
You will need to change your index templates to have no replicas.
jmukhtar
(Junaid)
October 24, 2017, 9:17am
3
Can you point me to any documentation or an example?
Tried looking through curl -XGET 'localhost:9200/_template?pretty' but can't see any thing related to number_of_replica
warkolm
(Mark Walkom)
October 24, 2017, 6:14pm
4
jmukhtar
(Junaid)
October 26, 2017, 9:37am
5
Thanks, i was able to use the templates to set the number_of_replicas to 0.
system
(system)
Closed
November 23, 2017, 9:37am
6
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.