question

NealeOKB-1689 avatar image
0 Votes"
NealeOKB-1689 asked CyrAz commented

SCOM SNMP Create new class using CSV contents

After discovering SNMP devices, I would like to create a custom class that segregates the devices based on a custom device type. This device type is stored in content (CSV file) outside of the device itself and SCOM.
Is it possible to create a discovery that will identify the device type by comparing the SNMP device name to its corresponding entry in this CSV file?

For example, if the device MSRTG01 is discovered as an network device. My CSV file has it listed as a ROUTER.
Can I run a script discovery on the management server, pulling the SNMP information and CSV information, comparing/matching details, then inserting that discovered info into a new class?

msc-operations-manager
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

CyrAz avatar image
0 Votes"
CyrAz answered CyrAz commented

This is absolutely doable, but will require a fair amount of knlowedge in authoring :

  • Create your custom class

  • Create a scripted discovery targeted at the network Node class. The script will run on management servers because the Node class is unhosted.

  • Done.





· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Using Microsoft.Windows.TimedPowerShell.DiscoveryProvider should work?

0 Votes 0 ·

Yes absolutely

0 Votes 0 ·