ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   General discussion (http://forum.ispsystem.com//forumdisplay.php?f=33)
-   -   VMmanager OVZ: statistics problem (http://forum.ispsystem.com//showthread.php?t=2459)

mduh 04-27-2015 07:25 AM

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

usaafko 04-28-2015 04:22 AM

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

mduh 04-28-2015 04:29 PM

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

usaafko 04-29-2015 06:29 AM

Quote:

Originally Posted by mduh (Post 7424)
[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


All times are GMT +2. The time now is 07:26 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.