US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > VMmanager > General discussion


Reply
 
Thread Tools
Old 04-27-2015, 07:25 AM   #1
Junior Member
 
Join Date: Jan 2015
Posts: 28
mduh is on a distinguished road
Default VMmanager OVZ: statistics problem

Hello,

We are having problem with statistics generation in our VMmanager OVZ instance. The statistics chart are empty with message:

Code:
Insufficient data for chart
Is there any diagnostics that I can perform to verify what is the problem cause?

Thanks,
-Maciej
mduh is offline   Reply With Quote
Old 04-28-2015, 04:22 AM   #2
Support team
 
Join Date: Oct 2013
Posts: 44
usaafko is on a distinguished road
Default

Hello,
check your crontab for
/usr/local/mgr5/etc/scripts/stat-collect.sh
Or you could search for collecstat run in /usr/local/mgr5/var/vemgr.log
And paste logs here
usaafko is offline   Reply With Quote
Old 04-28-2015, 04:29 PM   #3
Junior Member
 
Join Date: Jan 2015
Posts: 28
mduh is on a distinguished road
Default

Hello,

Here is some output:

Code:
[root@ve ~]# crontab -l | grep stat-collect.sh
*/5 * * * *     /usr/local/mgr5/etc/scripts/stat-collect.sh
Code:
[root@ve ~]# /usr/local/mgr5/etc/scripts/stat-collect.sh
ERROR db(query): Database query failed.
Code:
[root@ve ~]# grep collect /usr/local/mgr5/var/vemgr.log | tail -n 10
Apr 28 16:20:01 [29047:172174] client EXTINFO Query('authinfo=*&func=collectstat')
Apr 28 16:20:02 [29047:172175] client EXTINFO Query('authinfo=*&func=collectstat')
Apr 28 16:25:02 [29047:172205] journal INFO Request [mgrctl][root] 'elid=22&func=collectstat&out=text'
Apr 28 16:25:02 [29047:172204] journal INFO Request [mgrctl][root] 'elid=11&func=collectstat&out=text'
Apr 28 16:25:02 [29047:172205] client EXTINFO Query('authinfo=*&func=collectstat')
Apr 28 16:25:02 [29047:172204] client EXTINFO Query('authinfo=*&func=collectstat')
Apr 28 16:25:40 [29047:172211] journal INFO Request [mgrctl.172.20.2.1][root] 'elid=22&func=collectstat&out=text'
Apr 28 16:25:40 [29047:172210] journal INFO Request [mgrctl.172.20.2.1][root] 'elid=11&func=collectstat&out=text'
Apr 28 16:25:40 [29047:172211] client EXTINFO Query('authinfo=*&func=collectstat')
Apr 28 16:25:40 [29047:172210] client EXTINFO Query('authinfo=*&func=collectstat')
Thanks,
-Maciej
mduh is offline   Reply With Quote
Old 04-29-2015, 06:29 AM   #4
Support team
 
Join Date: Oct 2013
Posts: 44
usaafko is on a distinguished road
Default

Quote:
Originally Posted by mduh View Post
[root@ve ~]# /usr/local/mgr5/etc/scripts/stat-collect.sh
ERROR db(query): Database query failed.
Could you run
Code:
tail -f /usr/local/mgr5/var/vemgr.log & 
/usr/local/mgr5/etc/scripts/stat-collect.sh
We need to see logs for that error

Or you could write us a ticket - it's will be faster
usaafko is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:00 PM.