Hi all, Can anyone help with the below issue. I have raised a case with Veeam but so far no response.
Peter Hakesley | Monitoring & Automation Technical Lead Engineer, Data Centre Services t: +44(0)845 155 6556 ext: 4006 e: [email protected] | w: www.scc.com<http://www.scc.com/> a: SCC, CV1, Cole Valley, 20 Westwood Avenue, Tyseley, Birmingham B11 3RZ From: [email protected] [mailto:[email protected]] On Behalf Of Pete Hakesley Sent: 12/May/2016 08:20 To: MSMOM ([email protected]) <[email protected]> Subject: [msmom] MP Authoring Question Problem: SCOM 2012 R2 UR9 running the Veeam 8 management pack -all good but the included monitor that detect poweredOff VMs also triggers for VMs without vmtool installed or running. As we are a hosting Cloud company some customers buy only the VM container from us and we need only to monitor the powered On/Off status. My investigations show that the collector server hosts a WMI class under root/nworks namespace called VMSTATS all good so far. I can query this using select * from VMSTATS where powerState = "poweredOff" See below. [cid:[email protected]] VMSTATS Attribute Object EntityId (hoild the name of the VM plus its id like vm101 = SCOM Object id in the console. Question: How do I write a monitor some like Foreach VM (SCOM ID) Run a WMI Query against the collector (based on the Vcentre name from id) using namespace root/nworks and class VMSTATS in the context of 'EntityID' = SCOM id Retrieve and match against powerState If powerState = poweredOff raise an alert otherwise healthy. Cheers Peter Hakesley | Monitoring & Automation Technical Lead Engineer, Data Centre Services t: +44(0)845 155 6556 ext: 4006 e: [email protected]<mailto:[email protected]> | w: www.scc.com<http://www.scc.com/> a: SCC, CV1, Cole Valley, 20 Westwood Avenue, Tyseley, Birmingham B11 3RZ
