Cluster Status is Red

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Cluster Status is Red

Post by cdienger »

Are you able to get a profile from the machines?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
hcltech
Posts: 31
Joined: Wed Aug 21, 2019 10:37 am

Re: Cluster Status is Red

Post by hcltech »

Sorry here are the profiles from each server.

https://gohcl-my.sharepoint.com/:f:/p/s ... g?e=qRAXsl
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Cluster Status is Red

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
hcltech
Posts: 31
Joined: Wed Aug 21, 2019 10:37 am

Re: Cluster Status is Red

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Cluster Status is Red

Post by cdienger »

Are these the values in /usr/local/nagioslogserver/var/cluster_host?

cluster_host on 10.10.10.21 should contain:

Code: Select all

localhost
10.10.10.23
and cluster_host on 10.10.10.23 should contain:

Code: Select all

localhost
10.10.10.21
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
hcltech
Posts: 31
Joined: Wed Aug 21, 2019 10:37 am

Re: Cluster Status is Red

Post 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.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Cluster Status is Red

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
hcltech
Posts: 31
Joined: Wed Aug 21, 2019 10:37 am

Re: Cluster Status is Red

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Cluster Status is Red

Post by cdienger »

I see a ticket has been opened so we'll lock this up and work through that to avoid duplicating efforts.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked