This makes the 2nd script today I have pushed out to the Kaseya Community.
This is a Monitoring script for Kaseya that will query an VMWare ESX host for the CIM hardware data. If it finds any failures it reports back to calling script that a failure is seen and creates a Windows event log entry that we can then use Kaseya's Event Log monitor to alarm on.
The event log set is included in the zip package along with all needed scripts and the current version of VMware's vSphere SDK. I have also included in the main script the call to the SDK installer scripts that will push SDK down and install if needed. This makes this script really easy to deploy.
Deploy this script a few times a day to a windows host, tie in a log monitor using the event set and your good to go. I windows host can monitor 1 ESX host, If you need a host to monitor multiple hosts then copy main script and rename for each host to monitor and then reschedule each script with the Windows host.
p.s feel free to post on squidworks any issues or comments
Thanks very much for sharing. I think VMware host monitoring is a feature we really need with Kaseya. I look forward to having my NOC Admin test our the agent procedures your shared!
Cubert, Thanks for the script. I have a couple of questions. If you would be able to help, it would be greatly appreciated.
1. What exactly does the script test?
2. Is it possible to modify the script to write all the results of the tests, pass or fail to a log file that can be collected each time it's run?