System Statistics No historic system statistics have been recorded yet.

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

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?

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.

If you look in the directory /etc/webmin/virtual-server/history , what does the load file contain?

Also, which stat are you looking at?

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

Check the log file /var/log/cron to see if it is logging any cron jobs .. if not, check that the crond process is running on your system.