Skip to content

Josh's IT-Blog

Information Technology, and other interesting things …

  • Home
  • About
  • Contact
  • Links
  • Home
  • About
  • Contact
  • Links

Change string value to integer in a SNMP monitor

  1. Home   »  
  2. Change string value to integer in a SNMP monitor

Change string value to integer in a SNMP monitor

16. May 201122. June 2020 Burkard JoshSCOMTagged SCOM 2007 R2

When you create an SNMP monitor in SCOM 2007 R2, SCOM assumes that the values are in STRING-format. So if you define, that your monitor should check an SNMP-OID to be greather than 70 and the SNMP OID gives a value of 100 back, your monitor will generate an error. To correct this, you have to tell your monitor, that it’s an INTEGER-value. Unfortunately, you can’t do this with SCOM Console.

The easiest way to do this, you have to export your management pack and open it with the SCOM Authoring Console.

Select the desired monitor based on the Name-field in the Monitor Details pane.

Right-click the monitor and selcet properties.

In the confiuration tab change each @Type-fields under XPathQuery and Value to Integer. After changing all fields, click OK.

Instead of Integer you can use any data type described in http://msdn.microsoft.com/en-us/library/ee692979.aspx

Save the management pack and close the SCOM Authoring Console.

Back to the SCOM Console, reimport the management pack.

Post navigation

Previous: Monitor a SNMP device with Microsoft SCOM 2007 R2
Next: Problem with SCOM Authoring Console after CU4

About

Author Image
My name is Josh Burkard.
I'm a DevOps Engineer working with one of Europees largest payroll provider. in my work I have a lot to do with Microsoft server operating systems, System Center, VMware, Microsoft Azure Cloud and other software.
On this site I will write some posts about different technology problems and their solutions.
please note also my tweets and retweets from this area.

Categories

  • General (13)
  • Hardware (9)
    • Network (8)
      • Cisco (2)
    • Storage (2)
  • Hiking (1)
  • Home Assistant (5)
  • Microsoft Azure (1)
    • Automation (1)
  • PowerShell (3)
  • Software (1)
    • Excel (1)
  • System Center (18)
    • SCCM (3)
    • SCDPM (1)
    • SCOM (12)
    • SCSM (1)
    • SMA (1)
  • VMware (8)
  • Windows 2008 R2 (10)
    • Active Directory (7)
  • Windows 2012 R2 (1)
  • Windows 2016 (1)
  • Windows 7 (4)
    • BitLocker (1)
  • WordPress (1)
Proudly powered by WordPress | Theme: goldy-mex by inverstheme.