Page 1 of 1

System status page after LS 2.0 upgrade

Posted: Wed Dec 06, 2017 5:53 pm
by jvestrum
I just upgraded our 2-node Log Server cluster to 2.0. There is a red status icon claims that the log collection backend and database backend are down, and the Admin -> System Status page just shows a spinning icon next to Elasticsearch Database and Logstash Collector, been spinning for 20 minutes now.

However, the Cluster Status page shows Green, and the logstash and elasticsearch processes are running on both nodes, and are collecting new data, which shows up on our dashboards. So it seems to be working fine, and the problem is just with the System Status page. How can I troubleshoot this?

Re: System status page after LS 2.0 upgrade

Posted: Thu Dec 07, 2017 10:40 am
by kyang
Could you send us your system profile?
Nagios Log Server --> Admin --> System Status --> Download Profile

You can post it here or PM it to me if you would like. After that, please update this thread again.



Edit: Profile received!

Re: System status page after LS 2.0 upgrade

Posted: Thu Dec 07, 2017 10:44 pm
by tacolover101
this is generally related to the sudoers file not having the right entries.

the nagios log server user, will attempt to run service elasticsearch status when the JSON calls happen to the internal API,.

Re: System status page after LS 2.0 upgrade

Posted: Fri Dec 08, 2017 10:42 am
by kyang
Thanks @tacolover101!

jvestrum, could you send us your sudoers file to take a look?

Code: Select all

/etc/sudoers/
Along with any elasticsearch and logstash logs.

Code: Select all

/var/log/logstash/
/var/log/elasticsearch/