nagios 5.5.2 creating ssh backups on local disk

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
s-tobe
Posts: 3
Joined: Tue Mar 18, 2014 8:02 am

nagios 5.5.2 creating ssh backups on local disk

Post by s-tobe »

Hi,
I noticed that since we are running on nagiosxi 5.5 that scheduled SSH backups are no longer created remotely however they are added to the local disk archives. We have scheduled both local and ssh remote backups and we now see two local backups per night appearing on the disk.

I have checked creating ssh remote test file. File is created when pushing the test button so access credentials are fine.

This does not seem intended behaviour to me.
Anyone experiencing the same issue?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagios 5.5.2 creating ssh backups on local disk

Post by scottwilkerson »

We believe we found a bug.

unzip and replace the 2 files attach in
/usr/local/nagiosxi/html/includes/components/scheduledbackups/scheduledbackups.inc.php
/usr/local/nagiosxi/html/includes/utils-commands.inc.php

After this these should remove the old files on the next backup
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
s-tobe
Posts: 3
Joined: Tue Mar 18, 2014 8:02 am

Re: nagios 5.5.2 creating ssh backups on local disk

Post by s-tobe »

Hi I have tested this by scheduling a ssh backup at 1300pm and I can confirm it works. I no longer see a second local backup listed
thanks and good luck incorporating the fix in the next release!

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

Re: nagios 5.5.2 creating ssh backups on local disk

Post by scottwilkerson »

s-tobe wrote:Hi I have tested this by scheduling a ssh backup at 1300pm and I can confirm it works. I no longer see a second local backup listed
thanks and good luck incorporating the fix in the next release!

Stefan
Excellent.

Yes this is already set to be in the next release.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked