Page 2 of 2
Re: Cluster Status is Red
Posted: Tue Nov 19, 2019 4:07 pm
by cdienger
Are you able to get a profile from the machines?
Re: Cluster Status is Red
Posted: Wed Nov 20, 2019 7:47 am
by hcltech
Re: Cluster Status is Red
Posted: Wed Nov 20, 2019 1:25 pm
by cdienger
Things look better in that the status is green now but it's showing odd output for
Code: Select all
curl 'localhost:9200/_cat/nodes?v'
It's showing the IP address for both cl-p-nagioslog01 and cl-p-nagioslog02. If you try to ping these addresses from the NLS machines' command line, do you get this IP? Has the /usr/local/nagioslogserver/elasticsearch/config/elasticsearch.yml been modified outside the default settings?
Re: Cluster Status is Red
Posted: Wed Nov 20, 2019 1:44 pm
by hcltech
Those ip address are the Nagios Log servers. I have not touch any files other then what was asked of me in here.
setup@cl-p-nagioslog01:~$ ping cl-p-nagioslog01
PING cl-p-nagioslog01.hcl.internal (127.0.1.1) 56(84) bytes of data.
64 bytes from cl-p-nagioslog01.hcl.internal (127.0.1.1): icmp_seq=1 ttl=64 time=0.013 ms
64 bytes from cl-p-nagioslog01.hcl.internal (127.0.1.1): icmp_seq=2 ttl=64 time=0.030 ms
^C
--- cl-p-nagioslog01.hcl.internal ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1030ms
rtt min/avg/max/mdev = 0.013/0.021/0.030/0.009 ms
setup@cl-p-nagioslog01:~$ ping cl-p-nagioslog02
PING cl-p-nagioslog02.hcl.internal (10.10.10.23) 56(84) bytes of data.
64 bytes from cl-p-nagioslog02.hcl.internal (10.10.10.23): icmp_seq=1 ttl=64 time=0.261 ms
64 bytes from cl-p-nagioslog02.hcl.internal (10.10.10.23): icmp_seq=2 ttl=64 time=0.365 ms
Re: Cluster Status is Red
Posted: Wed Nov 20, 2019 2:58 pm
by cdienger
Are these the values in /usr/local/nagioslogserver/var/cluster_host?
cluster_host on 10.10.10.21 should contain:
and cluster_host on 10.10.10.23 should contain:
Re: Cluster Status is Red
Posted: Wed Nov 20, 2019 3:04 pm
by hcltech
I changed it so it was exactly how you showed but after rebooting both servers i still cant login. When I say I cant login its to the web interface not the server via ssh.
Re: Cluster Status is Red
Posted: Wed Nov 20, 2019 3:08 pm
by cdienger
Is it waiting for elasticsearch again or not accepting credentials or something else? Some fresh profiles may have some new info now that the cluster_host files have been updated.
Re: Cluster Status is Red
Posted: Wed Nov 20, 2019 3:14 pm
by hcltech
no this is saying invalid username or password. I dont get the waiting on elastic search just cant login to see anything lol
Re: Cluster Status is Red
Posted: Wed Nov 20, 2019 4:08 pm
by cdienger
I see a ticket has been opened so we'll lock this up and work through that to avoid duplicating efforts.