I need scan serial numbers using SNMP Discovery Tools

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Assets Discovery
    • None

      I need to perform a scan using Discovery Tools for printers and UPS devices. I would like it to retrieve various details, including the name and serial number. However, the issue I'm facing is that there are only three SNMP options available in Pattern.
      I have attempted to create custom patterns by searching for the OIDs of each brand such as Samsung, HP, APC, etc., using software like ManageEngine MibBrowser. It has successfully retrieved the required information. However, I'm currently facing a challenge in properly labeling the results, for instance:
      This code fetches the location information.

       

      case "1.3.6.1.2.1.1.6.0":
          if (item.Value != null)
              deviceInfo.Location = item.Value.ToString().Replace("\n", "").Trim();
          break; 

      What I need is for the code to retrieve the desired value when I input the OID, and then allow me to assign a label to it called “Serial Number”.

       

      ej:

      case "1.3.6.1.4.1.641.2.1.2.1.6.1":
          if (item.Value != null)
              deviceInfo.SerialNumber= item.Value.ToString().Replace("\n", "").Trim();
          break; 

       

      I'm encountering an error because DeviceInfo doesn't recognize "SerialNumber". I would like to know which classes or tags are recognized by DeviceInfo so that I can properly assign them or receive guidance on how to create a custom class.

      Thank you very much in advance.

            Assignee:
            Unassigned
            Reporter:
            Hector Bertorello
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: