SCOM Management Pack: Detecting USB Storage Device Connect and Disconnect Events
There was a requirement at work that people need to be notified when a USB storage device (USB key or portable USB hard disks) is connected or disconnected from SCOM monitored Windows computers. So I wrote a 2 very simple alert generating rules to detect USB Mass Storage Device creation and deletion WMI event. I [...]
Extend ConfigMgr Hardware Inventory to capture OpsMgr configurations
Download: MOF Extension for OpsMgr Configurations I’ve been wanting to do this for a while now and finally found some spare time for it. I want to be able to target OpsMgr (SCOM) agents and servers in ConfigMgr (SCCM) in a more granular way (i.e. all OpsMgr agents that are reporting to a OpsMgr Management [...]
Clean Up Old Hardware Inventory Data
In SCCM, after removing WMI classes that are no longer required from configuration.mof and sms_def.mof, the inventory data still exists in few places. If you decide to clean them up, MyITForum.com has a great WIKI page for SCCM hardware inventory which talked about different ways to clean up hardware inventory data. I have tried the [...]
Error 80041001 in InventoryAgent.log after mof files modifications
I’ve been playing with SCCM mof files this weekend. After I’ve extended configuration.mof and sms_def.mof files to inventory a registry key during hardware inventory, I noticed below error logged in InventoryAgent.log on SCCM client: Unknown error encountered processing an instance of class <name of the WMI class>: 80041001 I checked the SCCM client, the WMI [...]
Adding New Network Devices to SCOM Using PowerShell
Last week, I needed to write a PowerShell script to add iSCSI SAN devices into SCOM 2007 as network devices. I thought the script would be very straight forward, until I realised there is a limitation using SCOM PowerShell snap-in. To explain it, let me firstly go through how to do this in SCOM console [...]