Page 5 of 5

Re: Nagios Log Server - Backup and Maintenance

Posted: Fri Dec 26, 2014 12:38 pm
by roddergreg
in response to scott wilkerson:

Here is the output from the tail.

Code: Select all

Running command run_alerts with args ' ' for job id: run_all_alerts
SUCCESS
Running command run_alerts with args ' ' for job id: run_all_alerts
SUCCESS
Processed 0 node jobs.
Processed 2 global jobs.
Running command do_maintenance_create_snapshot with args ' ' for job id: GnFHbRGkScWa6KTYFksDFg
sh: /usr/lib/python2.6/site-packages/curator/curator.py: Permission denied
SUCCESS
Running command run_alerts with args ' ' for job id: run_all_alerts
SUCCESS
Processed 0 node jobs.
Processed 2 global jobs.

Re: Nagios Log Server - Backup and Maintenance

Posted: Fri Dec 26, 2014 12:49 pm
by roddergreg
hard coding python in the cmd line of cmdsubsys_helper.php allowed the command to run successfully.

Code: Select all

Running command do_maintenance_create_snapshot with args ' ' for job id: 9U9visz7RxOeGc0-5pl3hw
SUCCESS
2014-12-26 12:47:13,360 INFO      Job starting...
2014-12-26 12:47:13,360 INFO      Default timeout of 30 seconds is too low for command SNAPSHOT.  Overriding to 21,600 seconds (6 hours).
2014-12-26 12:47:13,376 INFO      Beginning SNAPSHOT operations...
2014-12-26 12:47:13,479 INFO      Attempting to create snapshot for index logstash-2014.12.25.
2014-12-26 12:47:13,480 ERROR     Unable to create snapshot. Repository name not provided.
2014-12-26 12:47:13,480 INFO      logstash-2014.12.26 is within the threshold period (1 days).
2014-12-26 12:47:13,480 INFO      CREATE SNAPSHOT index operations completed.
2014-12-26 12:47:13,481 INFO      Done in 0:00:00.143294.
Running command run_alerts with args ' ' for job id: run_all_alerts
SUCCESS

Re: Nagios Log Server - Backup and Maintenance

Posted: Fri Dec 26, 2014 12:56 pm
by scottwilkerson
Perfect! Now the normal command should work in the future (on the daily schedule).

We have this re-worked for the 1.3 release so you will not require these modifications in the future.

Thanks for working with us on this!

Re: Nagios Log Server - Backup and Maintenance

Posted: Sat Dec 27, 2014 11:09 am
by roddergreg
No problem.

I just verified that the backup and maintenance jobs are working correctly. Currently a backup snapshot is in progress. You can close this one out.

Thanks again.

Greg