hi,
after upgrade nagios to 2014R1.4 andwhen i try to backup nagios when I run backup.sh script,the backup fail, but where can I change the password:
[root@nms ~]# /usr/local/nagiosxi/scripts/backup_xi.sh
Backing up Core Config Manager (NagiosQL)...
tar: Removing leading `/' from member names
tar: Removing leading `/' from member names
Backing up Nagios Core...
tar: Removing leading `/' from member names
tar: /usr/local/nagios/var/rw/nagios.qh: socket ignored
tar: /usr/local/nagios/var/ndo.sock: socket ignored
tar: /usr/local/nagios/var: file changed as we read it
Backing up Nagios XI...
tar: Removing leading `/' from member names
Backing up MRTG...
tar: Removing leading `/' from member names
Backing up MySQL databases...
mysqldump: Got error: 144: Table './nagios/nagios_statehistory' is marked as crashed and last (automatic?) repair failed when using LOCK TABLES
Error backing up MySQL database 'nagios' - check the password in this script!
You have new mail in /var/spool/mail/root
[root@nms ~]#
problem in nagios backup
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: problem in nagios backup
I believe that is just a generic error that is thrown out, lets first try to fix your crashed tables by running:
Then try to run the backup again.
Code: Select all
/usr/local/nagiosxi/scripts/repair_databases.sh-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
Re: problem in nagios backup
the packup succeed.
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
Re: problem in nagios backup
I don't have privileges to close
Re: problem in nagios backup
I know, we handle the closing - I just wanted to make sure we weren't closing it before you were ready to do so.
Former Nagios employee