multiple snapshots_maintenance jobs running

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: multiple snapshots_maintenance jobs running

Post by scottwilkerson »

This is interesting although I don't suspect it is the issue, it is weird that it happened at the time that you also say this weird activity started.

Can you look in your list of snapshots and see if there is a snapshot created for last Saturday?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
CBoekhuis
Posts: 212
Joined: Tue Aug 16, 2011 4:55 am

Re: multiple snapshots_maintenance jobs running

Post by CBoekhuis »

Only one snapshot was created
snapshot1.PNG
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: multiple snapshots_maintenance jobs running

Post by scottwilkerson »

I believe we found a bug in 2.0.3

Would you be willing to test a fix?

Unzip the attached and upload it to replace the following file

Code: Select all

/var/www/html/nagioslogserver/application/models/Cmdsubsys.php
We believe this should stop the duplicate snapshots
Cmdsubsys.zip
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: multiple snapshots_maintenance jobs running

Post by scottwilkerson »

We were able to replicate this issue in-house and confirm the above fixed the issue.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
CBoekhuis
Posts: 212
Joined: Tue Aug 16, 2011 4:55 am

Re: multiple snapshots_maintenance jobs running

Post by CBoekhuis »

That's good news! I'll install the fix first thing on Monday. Thank you and I'll update the results as soon as I've run a test.
CBoekhuis
Posts: 212
Joined: Tue Aug 16, 2011 4:55 am

Re: multiple snapshots_maintenance jobs running

Post by CBoekhuis »

The new Cmdsubsys.php fixes the issue. The high load is gone, it doesn't take hours to run and I get 1 snapshot.
Thank you for the fix!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: multiple snapshots_maintenance jobs running

Post by scottwilkerson »

Excellent! Marking Resolved.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked