Page 1 of 1

v-update-sys-rrd-mysql keeps sending errors

Posted: Wed May 08, 2019 1:39 pm
by MadMepps
Hi,
I turned off the mysql server in VestaCP because I use the remote server only.
Then I realized that it keeps sending me mails in every 5 minutes. (Can't connect....etc.)

In error log I can see that the Vesta command v-update-sys-rrd-mysql is generating this regularly.
(I tried to run it manually.)
But I can't find the place where it is called. I tried to search for it in admin crons (only v-update-sys-rrd),
daily crons, everything.
To run this command is unnecessary for me. (So turning off the notification is not a solution.)
Where is it called? Can someone help me please? Thank you.
Image

Regards,
Geri

Re: v-update-sys-rrd-mysql keeps sending errors

Posted: Wed May 15, 2019 6:08 am
by MadMepps
Solved.
It is a part of v-update-sys-rrd what calls v-update-sys-rrd-mysql.
# Updating db stats
if [ ! -z "$DB_SYSTEM" ] && [ "$DB_SYSTEM" != 'no' ]; then
for type in ${DB_SYSTEM//,/ }; do
# Switching on db type
case $type in
mysql) $BIN/v-update-sys-rrd-mysql $period >/dev/null 2>&1 ;;
pgsql) $BIN/v-update-sys-rrd-pgsql $period >/dev/null 2>&1 ;;
esac
done
fi