Can't access the Snapshots & Maintenance page

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Can't access the Snapshots & Maintenance page

Post by rferebee »

Hello Nagios team,

I'm running into a weird issue. Whenever I try to access the 'Snapshot & Maintenance' page in the Log Server console my browser window just sits there with the hourglass icon or the spinning circle like it's trying to load, but never does.

There was a snapshot that was stuck 'In_Progress', so I got that cleared up. As far as I can tell there isn't one running now. Everything else is working, just can't get to that page.

Have anything I can try?

Thank you.
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: Can't access the Snapshots & Maintenance page

Post by rferebee »

To add to my original post, I also do not get any results when I run the following command:

Code: Select all

curl -XGET 'http://localhost:9200/_snapshot/NLSREPCC/_all?pretty'
The console window just sits (like it's thinking) and never returns anything. I end up having to stop the request.

I have verified that all 3 nodes have access to the remote share (mounted via CIFS) and that I can write to it from each node.

I'm not sure what's going on.
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: Can't access the Snapshots & Maintenance page

Post by rferebee »

I was looking through the audit logs and it appears (see attached screenshot) that more than one node is attempting to process the snapshot/maintenance job. Seems like that would probably cause an issue, but I'm not sure.
You do not have the required permissions to view the files attached to this post.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Can't access the Snapshots & Maintenance page

Post by gsmith »

Hi,

Could you please try (you can do this from anywhere):

curl -v http://<yourservername or ip>/nagioslogserver/admin/snapshots >> /tmp/curl.out

Then on each logserver:

cd /usr/local/nagioslogserver/var
tar -cvf /tmp/ls1logs.tar *.log
gzip /tmp/ls1logs.tar

increment the number in the tar filename, so for the second logserver the tar file would be ls2logs.tar

Take the /tmp/curl.out and the /tmp/ls1logs.tar.gz files and attach them to a private
message. Then reply to this post to bring it up in the queue

Thanks
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: Can't access the Snapshots & Maintenance page

Post by rferebee »

Could you please try (you can do this from anywhere):

curl -v http://<yourservername or ip>/nagioslogserver/admin/snapshots >> /tmp/curl.out
Sorry, but when you say I can do this from anywhere, do you mean in a browser or in a console window?
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Can't access the Snapshots & Maintenance page

Post by gsmith »

Hi,

Sorry - my bad. I should have said "a console window anywhere on your network".

Please let me know if you have any more questions.

Thanks
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: Can't access the Snapshots & Maintenance page

Post by rferebee »

It looks like a snapshot ran successfully last night, but today is the first time I've been able to access the page. Literally as soon as I uploaded those files to you, it worked.

It did not run a snapshot the prior two days.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Can't access the Snapshots & Maintenance page

Post by gsmith »

Hi,

It's funny how things started working once you sent me the files I requested.
Seems like that always happens :lol:

How are things looking to day? Can you get to 'Snapshot & Maintenance' page ?

Thanks
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: Can't access the Snapshots & Maintenance page

Post by rferebee »

One thing that's weird, that started happening in the last week. Whenever I login to my console and as soon as I select some other menu item (like Admin), I immediately get kicked back out to the login screen. When I log back in, I end up at the menu I selected prior to getting booted.

I notice the yellow triangle as soon as I login.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Can't access the Snapshots & Maintenance page

Post by gsmith »

Hi,

Could you please login using a browser in "incognito mode" and see if you get the same results, i.e. getting kicked back to the login screen?

Thx
Locked