SCOM

Variant types in SCOM

One of the items I have tried to have SCOM do is monitor network traffic on some of our routers/switches. The basics of this is fairly simple – create an SNMP monitor to poll on a set frequency and then store it as performance data. However I ran into issues with SCOM reporting that the variable type was wrong. The web site http://derekhar.blogspot.com/2007/07/when-using-script-based-monitors-name.html has a nice breakdown of what the variant types are when referenced by the MP.

  • Empty = 0
  • Null = 1
  • Short = 2
  • Integer = 3
  • Single = 4
  • Double = 5
  • Currency = 6
  • Date = 7
  • String = 8
  • Object = 9
  • Error = 10
  • Boolean = 11
  • Variant = 12
  • DataObject = 13
  • Decimal = 14
  • Byte = 15
  • Char = 16
  • Long = 17

Leave a Reply