Page 1 of 1

nagios 5.5.2 creating ssh backups on local disk

Posted: Tue Aug 07, 2018 4:29 am
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?

Re: nagios 5.5.2 creating ssh backups on local disk

Posted: Tue Aug 07, 2018 6:53 am
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

Re: nagios 5.5.2 creating ssh backups on local disk

Posted: Wed Aug 08, 2018 7:04 am
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

Re: nagios 5.5.2 creating ssh backups on local disk

Posted: Wed Aug 08, 2018 7:36 am
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.