Snapshot Storage Setup

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
hcltech
Posts: 31
Joined: Wed Aug 21, 2019 10:37 am

Re: Snapshot Storage Setup

Post by hcltech »

I changed this on both the servers and they are still not doing the snapshots. Do i need to restart them or restart any services in order for this to work?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Snapshot Storage Setup

Post by cdienger »

The change should be picked up the next time it attempts to run the snapshots_maintenance job under Admin > System > Command Subsystem. That said, 2.1 is released now and I would recommend going to that version since it fixes a few things with Ubuntu installs.

https://assets.nagios.com/downloads/nag ... Server.pdf
https://www.nagios.com/downloads/nagios ... hange-log/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
hcltech
Posts: 31
Joined: Wed Aug 21, 2019 10:37 am

Re: Snapshot Storage Setup

Post by hcltech »

Yes I did that on both servers and since then it stopped removing past 15 days and still does not backup to the offsite storage.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Snapshot Storage Setup

Post by cdienger »

Run the following on the command line:

Code: Select all

tail -f /usr/local/nagioslogserver/var/jobs.log
Then force teh snapshots_maintenance to run under Admin > System > Command Subsystem. It may take a minute or two, but the command line should then show some details about running the jobs. Please provide the output.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
hcltech
Posts: 31
Joined: Wed Aug 21, 2019 10:37 am

Re: Snapshot Storage Setup

Post by hcltech »

setup@cl-p-nagioslog01:~$ tail -f /usr/local/nagioslogserver/var/jobs.log
Running command do_maintenance with args ' ' for job id: snapshots_maintenance
tail: /usr/local/nagioslogserver/var/jobs.log: file truncated
Processed 0 node jobs.
Processed 0 global jobs.
tail: /usr/local/nagioslogserver/var/jobs.log: file truncated
Processed 0 node jobs.
Processed 0 global jobs.
tail: /usr/local/nagioslogserver/var/jobs.log: file truncated
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Snapshot Storage Setup

Post by mbellerue »

That log file seems pretty quiet. In that same page, Admin -> Command Subsystem, there is a Reset All Jobs button. Hit that button, click OK, run the tail -f /usr/local/nagioslogserver/var/jobs.log command, and then run the snapshots_maintenance job again.
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!
hcltech
Posts: 31
Joined: Wed Aug 21, 2019 10:37 am

Re: Snapshot Storage Setup

Post by hcltech »

I think the upgrade fixed this issue. I am now taking snapshots and its rolling off indexes like it should as well.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Snapshot Storage Setup

Post by mbellerue »

Excellent, glad to hear it's working. I'll go ahead and lock the thread.
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