• We collect Jira Service Desk feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Comment from a Customer:

      We are usually not setting a Hostname / Device Name to our Network devices, and we refer to them by their IP Addresses.

      Discovery will successfully log into our devices, and try to execute an SNMP patterns on the devices, but as there are no Hostnames set - the SNMP Scan will be canceled, and a Basic / Unknown Host will be created - with a Rejected Status.

      This is confusing, as the logs do show working SNMP Credentials...

      It will be more effective to set a fallback in place: If the Device was logged into, but there is no Hostname, set the IP Address as the Hostname by the Pattern - so a Device Object will be created, with a "Running" Status, and all additional information scanned.

      The Hostname can be set from a Pattern (if empty) - either to a fixed value, e.g. "No Hostname", or to the IP address if available.

       

      9/28/2022 10:28:47 AM : Start Scan Thread: Single scan IP: 192.168.46.1 TaskID: 0000000001
      9/28/2022 10:28:47 AM : Start getting HostInfo.
      9/28/2022 10:28:47 AM : Start Scan: 192.168.46.1
      9/28/2022 10:28:47 AM : Ping 192.168.46.1 --> Success ResponseTime=1ms TTL=63
      9/28/2022 10:28:47 AM : We have 8 credentials in total.
      9/28/2022 10:28:47 AM : 0 Known-Credentials found.
      9/28/2022 10:28:47 AM : 0 credentials found.
      9/28/2022 10:28:47 AM : No working credential for 192.168.46.1
      9/28/2022 10:28:47 AM : Try getting basic information for 192.168.46.1
      9/28/2022 10:28:47 AM : Getting Hostname: Unknown Host
      9/28/2022 10:28:47 AM : Total used scan time 0.1332476 seconds.
      9/28/2022 10:28:47 AM : Finish scan for 192.168.46.1
      9/28/2022 10:28:47 AM : Getting 1 HostInfo (RAW)
      9/28/2022 10:28:47 AM : Start getting DeviceInfo.
      9/28/2022 10:28:48 AM : No known credentials found.
      9/28/2022 10:28:48 AM : We have 1 credential(s) configured for all Scan-Settings.
      9/28/2022 10:28:48 AM : We have 1 possible unknown credentials for the ip 192.168.46.1
      9/28/2022 10:28:48 AM : Processing 1 SNMP results.
      9/28/2022 10:28:48 AM : Trying SNMP-Connection (SNMP_V1_V2) (c6795055-4e06-4dde-9516-81297ea7d84c) to 192.168.46.1 - used 0.0467883 seconds - result: True
      9/28/2022 10:28:48 AM : Connected to 192.168.46.1 with Device-Credential: c6795055-4e06-4dde-9516-81297ea7d84c
      9/28/2022 10:28:48 AM : Mac is null.
      9/28/2022 10:28:48 AM : Getting basic scan info
      9/28/2022 10:28:48 AM : Mac is null after trying to get it from network service.
      9/28/2022 10:28:48 AM : Using pattern: SNMP_Deviceinfo_Default.pat (v3.3.0)
      9/28/2022 10:28:48 AM : Processing 5 SNMP results.
      9/28/2022 10:28:48 AM : Command: 
          1.3.6.1.2.1.1.3.0;1.3.6.1.2.1.1.4.0;1.3.6.1.2.1.1.5.0;1.3.6.1.2.1.1.6.0;1.3.6.1.4.1.2021.4.5.0
          
      9/28/2022 10:28:48 AM : Result: 1.3.6.1.2.1.1.3.0: 136d 0h 17m9/28/2022 10:28:48 AM : pattern executed in 0.4165416 seconds
      9/28/2022 10:28:48 AM : Using pattern: SNMP_Deviceinfo_ExtExampleRAM.pat (v3.0.1)
      9/28/2022 10:28:48 AM : Processing 3 SNMP results.
      9/28/2022 10:28:48 AM : Command: 
          1.3.6.1.4.1.2021.4.5.0;1.3.6.1.4.1.2021.4.6.0;1.3.6.1.4.1.2021.4.11.0
          
      9/28/2022 10:28:48 AM : Result: 
      9/28/2022 10:28:48 AM : pattern executed in 0.1614262 seconds
      9/28/2022 10:28:48 AM : Error: Mandatory Hostname missing for: 192.168.46.1
      9/28/2022 10:28:48 AM : Total used scantime 0.690228 seconds.
      9/28/2022 10:28:48 AM : Getting 0 DeviceInfo (RAW)
      9/28/2022 10:28:48 AM : Start getting SNMP HostList.
      9/28/2022 10:28:48 AM : We have 1 credential(s) configured for all Scan-Settings.
      9/28/2022 10:28:48 AM : We have 1 possible unknown credentials for the ip 192.168.46.1
      9/28/2022 10:28:48 AM : Processing 1 SNMP results.
      9/28/2022 10:28:48 AM : Trying SNMP-Connection (SNMP_V1_V2) (c6795055-4e06-4dde-9516-81297ea7d84c) to 192.168.46.1 - used 0.0019755 seconds - result: True
      9/28/2022 10:28:48 AM : Connected to 192.168.46.1 with Device-Credential: c6795055-4e06-4dde-9516-81297ea7d84c
      9/28/2022 10:28:48 AM : Processing 1 SNMP results.
      9/28/2022 10:28:48 AM : Trying SNMP-Connection (SNMP_V1_V2) (c6795055-4e06-4dde-9516-81297ea7d84c) to 192.168.46.1 - used 0.0028817 seconds - result: True
      9/28/2022 10:28:48 AM : Connected to 192.168.46.1 with Device-Credential: c6795055-4e06-4dde-9516-81297ea7d84c
      9/28/2022 10:28:48 AM : Getting 0 SNMP Hosts (RAW)
      9/28/2022 10:28:48 AM : Finished Scan Thread: Single scan IP: 192.168.46.1 TaskID: 0000000001 

            [JSDSERVER-12004] Discovery - SNMP Scan fallback when no Hostname is available

            Marek Parfianowicz made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 781647 ]
            Marek Parfianowicz made changes -
            Fix Version/s Original: 3.1.8 [ 61995 ]
            Fix Version/s New: Discovery 3.1.8 [ 105616 ]
            Marek Parfianowicz made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 752232 ]
            Sylwester Adamski (Inactive) made changes -
            Fix Version/s New: 3.1.8 [ 61995 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Divyanshi made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 741670 ]
            Yinon Negev made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 716276 ]
            Yinon Negev made changes -
            Link New: This issue resolves JSDSERVER-10808 [ JSDSERVER-10808 ]
            Zakhar Listiev made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            Zakhar Listiev made changes -
            Status Original: Gathering Interest [ 11772 ] New: In Progress [ 3 ]
            Yinon Negev made changes -
            Attachment New: SNMP_Deviceinfo_Default_Customized.pat [ 431729 ]

              a90b3fd75a5b Sylwester Adamski (Inactive)
              8cdc82c96fd5 Yinon Negev
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: