I'm passing by a problem, when I execute the script backup_xi.sh I get this error :
I read the script and I see that the username and password of database is filled by a variables: $cfg__db_info__ndoutils__user $cfg__db_info__ndoutils__pwdError backing up MySQL database 'nagios' - check the password in this script!
I executed in debug mode:
The username and password wasn't filled.+ echo 'Backing up MySQL databases...'
Backing up MySQL databases...
+ mkdir -p /store/backups/nagiosxi/1390229303/mysql
+ mysqldump -h -u --password= --add-drop-database -B
+ res=1
+ '[' 1 '!=' 0 ']'
+ echo 'Error backing up MySQL database '\''nagios'\'' - check the password in this script!'
Error backing up MySQL database 'nagios' - check the password in this script!
+ exit 1
This problem began when I updated NagiosXI from 2.5 to 2.7.
What I do?