Snapshot Repo Reconfig

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
duchenz
Posts: 8
Joined: Thu Jun 11, 2020 2:48 pm

Re: Snapshot Repo Reconfig

Post by duchenz »

Hmmm...This is wried...It shows nothing is going on


[root@nagiosls ~]# curl -XGET 'http://localhost:9200/_snapshot/Snapsho ... all?pretty'
{
"snapshots" : [ ]
}
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Snapshot Repo Reconfig

Post by cdienger »

That does seem weird. Try deleting the job it is complaining about:

Code: Select all

curl -XDELETE 'http://localhost:9200/_snapshot/Snapshot%20Repository/curator-20201005133221'
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
duchenz
Posts: 8
Joined: Thu Jun 11, 2020 2:48 pm

Re: Snapshot Repo Reconfig

Post by duchenz »

[root@nagiosls ~]# curl -XDELETE 'http://localhost:9200/_snapshot/Snapsho ... 1005133221'
{"error":"RemoteTransportException[[bad2dc30-4cc1-4952-893c-00ea50d25ba7][inet[/140.141.7.101:9300]][cluster:admin/snapshot/delete]]; nested: SnapshotMissingException[[Snapshot Repository:curator-20201005133221] is missing]; nested: FileNotFoundException[/mnt/snapshotrepo/snapshot-curator-20201005133221 (No such file or directory)]; ","status
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Snapshot Repo Reconfig

Post by cdienger »

Please provide a profile from the system. It can be gathered under Admin > System > System Status > Download System Profile or from the command line with:

Code: Select all

/usr/local/nagioslogserver/scripts/profile.sh
This will create /tmp/system-profile.tar.gz.

Note that this file can be very large and may not be able to be uploaded through the system. You can split the file into smaller files with the split command on the NLS(or other Linux machine) command line:

Code: Select all

split -b 5000000 /tmp/system-profile.tar.gz system-profile- -d
The above command will split the system-profile.tar.gz into 5MB segments and save them to files with the naming convention system-profile​-nn.

I'd also like to get a copy of the current settings index. This can be gathered by running:

Code: Select all

curl -XPOST http://localhost:9200/nagioslogserver/_export?path=/tmp/nagioslogserver.tar.gz
The file it creates and that we'd like to see is /tmp/nagioslogserver.tar.gz.

Please send the files to me in a private message.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
duchenz
Posts: 8
Joined: Thu Jun 11, 2020 2:48 pm

Re: Snapshot Repo Reconfig

Post by duchenz »

After sending the last result to you, apparently, the snapshot starts to working again. I saw the job just successfully finished and will keep monitoring it.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Snapshot Repo Reconfig

Post by benjaminsmith »

After sending the last result to you, apparently, the snapshot starts to working again. I saw the job just successfully finished and will keep monitoring it.
Good to hear. We can leave this post open for now if you need anything.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked