We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
v-update-sys-rrd-mysql keeps sending errors
v-update-sys-rrd-mysql keeps sending errors
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.
Regards,
Geri
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.
Regards,
Geri
Re: v-update-sys-rrd-mysql keeps sending errors
Solved.
It is a part of v-update-sys-rrd what calls v-update-sys-rrd-mysql.
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