Page 1 of 2

CentOS 7

Posted: Sat Jul 23, 2016 9:18 pm
by Teo
Hello,
i had to reinstall the whole webserver, i had centos 6, now i upgraded to centos 7 everything seems working fine except something vestacp side.
1) Memory graph is not working:
Image
2) I can't see the mysql graph anymore:
Image
Any help please?
Thank you.

Re: CentOS 7

Posted: Sat Jul 23, 2016 9:24 pm
by imperio
Hi,
This bug will be fixed in 0.9.8-17
https://bugs.vestacp.com/issues/132

Re: CentOS 7

Posted: Sat Jul 23, 2016 9:35 pm
by Teo
imperio wrote:Hi,
This bug will be fixed in 0.9.8-17
https://bugs.vestacp.com/issues/132
Hi thanks for your reply, i don't speak Russian, what i have to install please?

Re: CentOS 7

Posted: Sat Jul 23, 2016 9:48 pm
by imperio
Use this instruction

Code: Select all

yum install rrdtool rrdtool-devel rrdtool-perl perl-HTML-Parser perl-JSON
/usr/local/vesta/bin/v-update-sys-rrd-mem
find

Code: Select all

used=$(echo "$mem" |awk '{print $3}'|head -n3 |tail -n1)
free=$(echo "$mem" |awk '{print $4}'|head -n3 |tail -n1)
replace to

Code: Select all

used=$(echo "$mem" |awk '{print $3}'|head -n1 |tail -n1)
free=$(echo "$mem" |awk '{print $4}'|head -n1 |tail -n1)

Re: CentOS 7

Posted: Sat Jul 23, 2016 9:53 pm
by Teo
imperio wrote:Use this instruction

Code: Select all

yum install rrdtool rrdtool-devel rrdtool-perl perl-HTML-Parser perl-JSON
/usr/local/vesta/bin/v-update-sys-rrd-mem
find

Code: Select all

used=$(echo "$mem" |awk '{print $3}'|head -n3 |tail -n1)
free=$(echo "$mem" |awk '{print $4}'|head -n3 |tail -n1)
replace to

Code: Select all

used=$(echo "$mem" |awk '{print $3}'|head -n1 |tail -n1)
free=$(echo "$mem" |awk '{print $4}'|head -n1 |tail -n1)
ok i try thanks. And what about the MySQL missing graph please?

Re: CentOS 7

Posted: Sat Jul 23, 2016 9:54 pm
by Teo
is still not working.

Re: CentOS 7

Posted: Sat Jul 23, 2016 9:54 pm
by imperio
And what about the MySQL missing graph please?
Also will be fixed in 0.9.8-17

Re: CentOS 7

Posted: Sat Jul 23, 2016 9:56 pm
by Teo
imperio wrote:
And what about the MySQL missing graph please?
Also will be fixed in 0.9.8-17
ok, btw after the fix is still not showing anything, need me to restart something or? thanks.

Re: CentOS 7

Posted: Sat Jul 23, 2016 10:00 pm
by imperio
Teo wrote:
imperio wrote:
And what about the MySQL missing graph please?
Also will be fixed in 0.9.8-17
ok, btw after the fix is still not showing anything, need me to restart something or? thanks.
Try to restart VestaCP

Code: Select all

service vesta restart
and run

Code: Select all

sudo /usr/local/vesta/bin/v-update-sys-rrd 

Re: CentOS 7

Posted: Sat Jul 23, 2016 10:03 pm
by Teo
imperio wrote:
Teo wrote:
imperio wrote: Also will be fixed in 0.9.8-17
ok, btw after the fix is still not showing anything, need me to restart something or? thanks.
Try to restart VestaCP

Code: Select all

service vesta restart
and run

Code: Select all

sudo /usr/local/vesta/bin/v-update-sys-rrd 
nothig yet:

Image