Re: Elasticsearch service failure on Nagios Logserver
Posted: Tue Nov 30, 2021 3:04 pm
Hello @HIINNS
Thanks for following up with the results. Appears that the command came back with the 'last login' with cron, which seems to be pulling the last login from a cronjob.
Circling back a bit to when you stated;
Since 'elasticsearch' is installed inside a 'Docker Container' which is basically not supported within our application configuration. The following will provide guidance. Let's list all the Docker Containers to at least get a list of them.
Let's find out the status:
Then we can take a peek at the logs for the 'elasticsearch' Docker Container so we can see what is going on there:
Thanks,
Perry
Thanks for following up with the results. Appears that the command came back with the 'last login' with cron, which seems to be pulling the last login from a cronjob.
Circling back a bit to when you stated;
.Further looking into this revealed that the /usr/share/elasticsearch directory is set up using docker'
Since 'elasticsearch' is installed inside a 'Docker Container' which is basically not supported within our application configuration. The following will provide guidance. Let's list all the Docker Containers to at least get a list of them.
Code: Select all
docker container lsCode: Select all
docker psCode: Select all
docker container logs --details <containernamehere>Perry