Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Since that script uses WMI, it's probably related to user security (or lack there of). When you start a command prompt with your cacti user account that runs the scheduled task (right click on cmd.exe and do runas...), does that mysql script work? I bet not.
Read last FAQ in my guide on how to add additional users to WMI: phttp://bsod2600.home.comcast.net/install_windows.html#FAQ
I followed the instructions at your site and I'm still having the same problems. I am trying to collect statistics from the same machine that I'm running the wmi query from. When I log into my cacti server as a certain user it can run the query just fine as outlined above, but when ran through the scheduled task I get the error above.
UPDATE
alright, I tried running it with the cmd poller instead of cactid and it worked fine.
The beta is not compiled, TheWitness posted that the official release should be available sometime today. I tired using the older version .d and got the same results. Also, it appears I did something that is now causing these errors:
Currenly I have Ping and SNMP with ICMP selected. The graphs that are breaking are the ones using "SNMP - Get Mounted Partitions". These graphs are breaking on 3 or 4 of my hosts, but not all of them.
1) cactid 0.8.6g has been released. Try that.
2) ARe you running cacti 0.8.6h? If not, you should. make sure you install the patches. Also make sure you copy over the updated scripts. The SNMP - Get Mounted Partitions script was fixed in a patch in 0.8.6g and I haven't noticed any problems since.
Are the hosts with the broken graphs all windows? Are those machines under a heavy CPU or I/O load? If so, then that is the cause of the broken graphs.
Please verify you are using the updated cacti\resource\script_server\host_disk.xml and \cacti\scripts\ss_host_disk.php templates which came with 0.8.6h.
They are windows machines however their CPU load is low to medium. I have extracted the files from a new download of .0.8.6h and placed them in the scripts directory and I still have the gaps.