Submitted by martynw on Wed, 05/05/2010 - 15:08 Pro Licensee
Hi,
I have 2 servers. On one System Statistics appears to be working perfectly. On the other I get the message:
System Statistics No historic system statistics have been recorded yet.
I guess I must have turned statistics off, but I can't remember where. Please could you advise?
Configurable options for Virtualmin Virtual Servers (Status collection) settings are the same on both servers.
Regards, Martyn
Status:
Active
Comments
Submitted by JamieCameron on Thu, 05/06/2010 - 00:16 Comment #1
Does the cron job that runs
/etc/webmin/virtual-server/collectinfo.pl
exist on your system?If so, if you SSH in and run that command manually, does it fail or output any errors?
Submitted by martynw on Thu, 05/06/2010 - 09:17 Pro Licensee Comment #2
It is set to run via the CRONJOBS. I ran it manually and it showed no errors. I then tried to look at statistics and it tries to draw a graph (which is more than it used to do), but the graph gives me this error:
Caught exception: undefined
Details: [Exception... "An invalid or illegal string was specified" code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)" location: "https://XX.XXX.XXX.XXX:10000/virtual-server/timeplot/api/1.0/scripts/plo... Line: 249"]
in a Windows pop-up window.
I cleared browser cache and the message didn't reoccur, but the graph is blank, which I guess is correct until it has time to gather some data.
So what I don't understand is why collectinfo.pl is not running, even though it is set to run and doesn't seemingly generate errors when I run it. I've set it to run hourly to see what happens.
Submitted by JamieCameron on Thu, 05/06/2010 - 12:50 Comment #3
If you look in the directory
/etc/webmin/virtual-server/history
, what does theload
file contain?Also, which stat are you looking at?
Submitted by martynw on Thu, 05/06/2010 - 19:27 Pro Licensee Comment #4
Hi
/etc/webmin/virtual-server/history , the load file contains:
1273154476 0.00 1273154972 0.00 1273155286 0.06
The stat I am trying to see is System Statistics that is the lowest menu item in Virtualmin.
I suspect that no cron jobs are actually running.
Regards,
Martyn
Submitted by JamieCameron on Fri, 05/07/2010 - 00:10 Comment #5
Check the log file
/var/log/cron
to see if it is logging any cron jobs .. if not, check that thecrond
process is running on your system.