I think this may be your solution from our friend David Allen
http://aquilaweb.net/2015/05/05/scom-monitoring-for-mount-point-labels/
[http://aquilaweb.net/2015/05/05/scom-monitoring-for-mount-point-labels/]

Regards,

Pete Zerger, MVP
Founder, SystemCenterCentral.com
Azure IaaS Book (coming soon) - http://insidethemicrosoftcloud.com
On Sun, Dec 6, 2015 at 8:04 AM, [email protected]
<[email protected]> wrote:
I need volume "label" which is not discovered by logical disk nor
win32_logicaldisk contains that property, this value is only found on
win32_volume WMI class.

The reason is that I need to find a method to dynamically populate groups for
SQL dosk mount points that are set to not auto grow, these generate unnecessary
low free disk space alerts.

If there is a better way I'm all for it, I just can't think or know of one.


On Sat, Dec 5, 2015, 7:01 PM Kevin Holman < [email protected] 
[[email protected]] > wrote:
Why?



I don’t recommend extending/creating a new/duplicate class for logical disks,
because the instance count of your environment can get very large if you do,
unless this is a small environment.





If you want volume name – this should be simple. We already have a class
property on the “Windows Server 20xx Logical Disk” class called “Volume Name”.
For some reason we don’t discovery it.



All you need to do is come up with a WMI or script based discovery and populate
this class property on our existing class.



I give an example of doing that here:




[http://blogs.technet.com/b/kevinholman/archive/2014/01/13/creating-groups-of-computers-based-on-time-zone.aspx]
 
http://blogs.technet.com/b/kevinholman/archive/2014/01/13/creating-groups-of-computers-based-on-time-zone.aspx
[http://blogs.technet.com/b/kevinholman/archive/2014/01/13/creating-groups-of-computers-based-on-time-zone.aspx]





I’d probably just target the “Logical Disks (Server)” class for your custom
discovery. The WMI statement or script, is up to you to figure out.







From: [email protected] [[email protected]] [mailto: 
[email protected] [[email protected]] ] On Behalf Of 
CESAR.ABREG0 .
Sent: Saturday, December 5, 2015 4:56 PM
To: [email protected] [[email protected]]
Subject: [msmom] Custom class logical disk or volume discovery



I'm trying to create custom class for volume using WMI discovery but get no
instances discovered no matter what i try. I've tried targeting windows computer
and logical disk abstract class with no success.

I'm trying to get volume lable so I can create dynamic groups for overrides.

Anyone done this before or created similar class? Or how can I best accomplish
this?

Thanks


Reply via email to