Scheduled Backups not working after Upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mccrakem
Posts: 129
Joined: Mon Jun 19, 2017 8:28 am

Scheduled Backups not working after Upgrade

Post by mccrakem »

Hi

I have just upgraded some of my systems from 5.2.7 to 5.6.14

When the schedule gets to the time where is has to start a local Backup I see this message in the following file
tail -f /usr/local/nagiosxi/var/cmdsubsys.log


PROCESSED 0 COMMANDS
.PROCESSING COMMAND ID 7706...
PROCESS COMMAND: CMD=1117, DATA=a:2:{i:0;s:19:"nagiosxi.1588929722";i:1;s:24:"/store/backups/nagiosxi/";}
CMDLINE=sudo /usr/local/nagiosxi/scripts/backup_xi.sh -n nagiosxi.1588929722 -d /store/backups/nagiosxi
sudo: no tty present and no askpass program specified
OUTPUT=
RETURNCODE=1
..........................................................
PROCESSED 1 COMMANDS
............................................................


The servers that have been upgraded have the same sudoers file as the systems that have not been upgraded
So is there an extra line that needs to be added

Thanks
mccrakem
Posts: 129
Joined: Mon Jun 19, 2017 8:28 am

Re: Scheduled Backups not working after Upgrade

Post by mccrakem »

Hi

Sorry about this but I go this sorted.
I have found the file that I need to update

Once I updated that with the correct command the backups worked

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

Re: Scheduled Backups not working after Upgrade

Post by scottwilkerson »

mccrakem wrote:Hi

Sorry about this but I go this sorted.
I have found the file that I need to update

Once I updated that with the correct command the backups worked

Thanks
No worries, glad to hear it is sorted!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked