XI 2012R2.9 Ent. Edition
RHEL 6.5
Offloaded DB
I am getting the following errors from the backup log
ERRORS_10.17.19.237-658962937.log
-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
Does this mean, the event data is not backed up?
Please advice where to add the --events option.
Thanks.
Backup Errors
Backup Errors
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation
Re: Backup Errors
It is not a nagios events table, as all the nagios db names start with "nagios", "nagiosxi", or "nagiosql".
mysql.event is for built-in mysql scheduled events. I presume this "warning" is benign.
mysql.event is for built-in mysql scheduled events. I presume this "warning" is benign.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Backup Errors
Ok. The backup should backup everything and I don't want to see the error log file everyday.abrist wrote:It is not a nagios events table, as all the nagios db names start with "nagios", "nagiosxi", or "nagiosql".
mysql.event is for built-in mysql scheduled events. I presume this "warning" is benign.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Backup Errors
Then you can make the following adjustment... In /root/scripts/automysqlbackup change the following line
change
to
this will no longer backup the mysql base db, and stop giving you this error....
change
Code: Select all
DBNAMES="all"Code: Select all
DBNAMES="nagios nagiosql"Re: Backup Errors
It does not give the error anymore but the error file still created with size 0.scottwilkerson wrote:Then you can make the following adjustment... In /root/scripts/automysqlbackup change the following line
changetoCode: Select all
DBNAMES="all"this will no longer backup the mysql base db, and stop giving you this error....Code: Select all
DBNAMES="nagios nagiosql"
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation
Re: Backup Errors
That is created by the following line (~395):
You can probably comment out this line to stop the error log from being created.
Code: Select all
touch $LOGFILEFormer Nagios employee