Maintenance doesn't seem to run

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Maintenance doesn't seem to run

Post by cmerchant »

After the upgrade to 1.3 of NLS, are you still getting errors when you issue the following:

Code: Select all

curator
In version 1.3 of NLS, there is an added panel to display scheduled jobs - under Administration --> System --> Command Subsystem.

I found the job ID not meaningful, but you can edit the Job to get the description of the System Job. I found this panel helpful to find when the next time a maintenance job will run. You can change the frequency, and the scheduled time for the next run (change it to time before current time to run immediate).
ljorg
Posts: 18
Joined: Wed Jan 14, 2015 6:24 am

Re: Maintenance doesn't seem to run

Post by ljorg »

cmerchant wrote:After the upgrade to 1.3 of NLS, are you still getting errors when you issue the following:

Code: Select all

curator
Yes, it's still there:

Code: Select all

Traceback (most recent call last):
  File "/usr/bin/curator", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: elasticsearch>=1.0.0,<2.0.0
However, my maintenance seems to be running fine after the 1.3 upgrade. The post earlier in the thread stating is was not working was some other guy hijacking the thread :-)


Lars
teirekos
Posts: 110
Joined: Wed Nov 26, 2014 6:06 am

Re: Maintenance doesn't seem to run

Post by teirekos »

I am very sorry. My intention was to avoid open another thread with the same subject because my backup schedule does not seem to work. I am sorry for this ljorg.
ljorg
Posts: 18
Joined: Wed Jan 14, 2015 6:24 am

Re: Maintenance doesn't seem to run

Post by ljorg »

teirekos wrote:I am very sorry. My intention was to avoid open another thread with the same subject because my backup schedule does not seem to work. I am sorry for this ljorg.
Not at all, there's no problem other than the confusion of the Nagios support team :-)


Lars
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Maintenance doesn't seem to run

Post by scottwilkerson »

We have a fix in 1.3 that does fix the exact error you received when calling curator directly, now we call it with the full path

Glad it is now working.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked