The Attributes tab now supports the creation of custom SNMP, WMI, and Discovery InfoSet attributes using dynamic percent variables.

Please note: These are subject to change with each release. These attributes may be added to either roles or subroles. Additionally, InfoSet discovery attributes gather information using existing data stored in the WhatsUp Gold database.

To create a custom attribute:

  • When adding or editing a role or subrole, first select the Attributes tab, then click the Add icon to launch the Add Attribute dialog. Enter a name for the new attribute.
  • Enter a value for the new attribute using one of the following formats:
    • %Discovery.SNMP[OID], where OID is the object ID value to be retreived from the device.
      • Example: %Discovery.SNMP[1.3.6.1.4.1.12196.13.0.10.0]
    • %Discovery.WMI[NameSpace,WMIQuery], where NameSpace and WMIQuery is the value to be retrieved from the device.
      • Example: %Discovery.WMI[\ROOT\CIMV2,select Name from Win32_ComputerSystem], where \ROOT\CIMV2 is the NameSpace and Select Name from Win32_ComputerSystem is the query that will retrieve the ComputerName from the Provided NameSpace.
    • %Discovery.InfoSet[InfoSetName/InfoSetPath], where InfoSetName is the data grouping name for the data and InfoSetPath is the path within the xml data grouping for the data.
      • Example: %Discovery.Infoset[system/system/system-oid]
    • %Discovery.InfoSet[InfoSetName/InfoSetPath/@Attribute], where InfoSetName is the data grouping name for the data, InfoSetPath is the path within the xml data grouping for the data, and @Attribute is an optional value.
      • Example: %Discovery.InfoSet[device-identity/device-identity/@is-cisco-nexus]
  • Click OK, then click Save to close the Role Editor dialog.

Once an attribute has been added, you'll need to rescan the device or refresh the device details. The Device Properties dialog Attributes tab now displays the custom attribute. Please note, the new attribute will be added to any discovered device that is assigned the role to which the attribute was added. You'll also need to rescan any existing devices with the assigned role to ensure the attribute is applied to those devices as well. Lastly, if the information requested from the device is unavailable, the attribute is displayed with an empty value. In this scenario, you can select the checkbox captioned Do not create if Attribute value is empty if you do not want WhatsUp Gold to create an attribute.

Please note, rescan/refresh is not necessary when adding InfoSet attributes to a role because the information is already collected from the device and stored in the WhatsUp Gold database. Simply, select the applicable discovered devices, then click Update Monitoring from the device information card.