Nagios Log Server - Backup and Maintenance

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
roddergreg
Posts: 59
Joined: Wed Oct 22, 2014 4:35 am

Re: Nagios Log Server - Backup and Maintenance

Post 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.
roddergreg
Posts: 59
Joined: Wed Oct 22, 2014 4:35 am

Re: Nagios Log Server - Backup and Maintenance

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Log Server - Backup and Maintenance

Post 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!
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
roddergreg
Posts: 59
Joined: Wed Oct 22, 2014 4:35 am

Re: Nagios Log Server - Backup and Maintenance

Post 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
Locked