Page 1 of 1
Can't access the Snapshots & Maintenance page
Posted: Wed Apr 21, 2021 4:54 pm
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.
Re: Can't access the Snapshots & Maintenance page
Posted: Thu Apr 22, 2021 9:15 am
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.
Re: Can't access the Snapshots & Maintenance page
Posted: Thu Apr 22, 2021 9:47 am
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.
Re: Can't access the Snapshots & Maintenance page
Posted: Thu Apr 22, 2021 5:06 pm
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
Re: Can't access the Snapshots & Maintenance page
Posted: Thu Apr 22, 2021 5:34 pm
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?
Re: Can't access the Snapshots & Maintenance page
Posted: Fri Apr 23, 2021 10:09 am
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
Re: Can't access the Snapshots & Maintenance page
Posted: Fri Apr 23, 2021 5:45 pm
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.
Re: Can't access the Snapshots & Maintenance page
Posted: Mon Apr 26, 2021 9:35 am
by gsmith
Hi,
It's funny how things started working once you sent me the files I requested.
Seems like that always happens
How are things looking to day? Can you get to 'Snapshot & Maintenance' page ?
Thanks
Re: Can't access the Snapshots & Maintenance page
Posted: Mon Apr 26, 2021 10:48 am
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.
Re: Can't access the Snapshots & Maintenance page
Posted: Mon Apr 26, 2021 3:38 pm
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