splunk > /appl/splunk/bin/splunk show shcluster-status -auth admin:adminpassword
Encountered some errors while trying to obtain sh cluster status.
This node is not the captain of the search head cluster, and we could not determine the current captain. The cluster is either in the process of electing a new captain, or this member hasn't joined the pool
splunk > /appl/splunk/bin/splunk show shcluster-status -auth admin:Adm\!n4Splk
On the other hand, the other 2 SHs look ok when I issued shcluster-status command on CLI:
I did check with the forum and made sure that the mgmt_url was correct in server.conf..
It worked for a while but it started failing again after a while.
And I see the captain was selected and up and running. not sure why on the failing SH, it shows cannot determine the current captain.. Any advise where else shall I check?