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.
Can't access the Snapshots & Maintenance page
Re: Can't access the Snapshots & Maintenance page
To add to my original post, I also do not get any results when I run the following command:
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.
Code: Select all
curl -XGET 'http://localhost:9200/_snapshot/NLSREPCC/_all?pretty'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
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.
Re: Can't access the Snapshots & Maintenance page
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
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
Sorry, but when you say I can do this from anywhere, do you mean in a browser or in a console window?Could you please try (you can do this from anywhere):
curl -v http://<yourservername or ip>/nagioslogserver/admin/snapshots >> /tmp/curl.out
Re: Can't access the Snapshots & Maintenance page
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
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
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.
It did not run a snapshot the prior two days.
Re: Can't access the Snapshots & Maintenance page
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
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
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.
I notice the yellow triangle as soon as I login.
Re: Can't access the Snapshots & Maintenance page
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
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