I just started to receive this error when i try to view monitoring on my server: Warning: Invalid argument supplied for foreach() in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 139 I am running the latest release and haven't made any changes since i updated back when 3.0.1.6 was first released. This is preventing all monitoring functions from working. Thanks for any help.
Looks as if there is no monitoring data available. Please check if cron is running on your server (try: "/etc/init.d/cron restart" or similar script name) and then wit 15 minutes and check the ispconfig monitor again.
I tried restarting cron even though i was pretty sure it wasn't cron because other cron jobs that i have set are still working fine. Still no luck. Any other suggestions?
I'm having this issue as well I used the following guide to create my server: http://www.howtoforge.com/perfect-server-ubuntu-9.10-ispconfig-3 Other than that I have only used the DNS tab to create my DNS server via MyDNS and I now have the same issue. The system monitoring worked perfectly for the first day and now it will not work even directly after reboot.
Solved: Repair database table Looking at line 139 of /usr/local/ispconfig/interface/web/monitor/show_sys_state.php I saw there is a reference to the monitor_data table. The table was crashed and the solution was to repair it. $mysql -h localhost -u root -p mysql> check table monitor_data; => Table './dbispconfig/monitor_data' is marked as crashed and should be repaired mysql>repair table monitor_data; That did the trick for me.