Page 2 of 2
Re: Snapshot Repo Reconfig
Posted: Fri Nov 13, 2020 12:44 pm
by duchenz
Hmmm...This is wried...It shows nothing is going on
[root@nagiosls ~]# curl -XGET '
http://localhost:9200/_snapshot/Snapsho ... all?pretty'
{
"snapshots" : [ ]
}
Re: Snapshot Repo Reconfig
Posted: Fri Nov 13, 2020 5:47 pm
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'
Re: Snapshot Repo Reconfig
Posted: Mon Nov 16, 2020 9:15 am
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
Re: Snapshot Repo Reconfig
Posted: Mon Nov 16, 2020 5:24 pm
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.
Re: Snapshot Repo Reconfig
Posted: Tue Nov 17, 2020 2:03 pm
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.
Re: Snapshot Repo Reconfig
Posted: Wed Nov 18, 2020 11:01 am
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.