Use > JMX Reference > Data Flow Management Methods > How to View Discovery Status of an Inventory CI in JMX

How to View Discovery Status of an Inventory CI in JMX

As an inventory discovery administrator, you can invoke the getDiscoveryStateForInventoryCI method to check the discovery status of an inventory CI, so that you can verify the health and live state of that device.

To do so,

  1. Log in to the UCMDB JMX console. (Launch the Web browser and enter the following address: https://<server_name>:8443/jmx-console. You may have to log in with a user name and password.)

  2. Locate UCMDB:service=Discovery Manager and click the link to open the Operations page.

  3. Locate the getDiscoveryStateForInventoryCI operation.
  4. Enter your Customer ID. (Default: 1)
  5. For the ciId field, enter the global ID for the inventory CI for which you want to check the discovery status.

    1. In UCMDB UI, go to Modeling > IT Universe Manager.
    2. In the CI Selector pane, go to the Search CIs tab, click the Start the Search icon for the CI Name field.

    3. From the returned results, select a discovered node.

    4. Go to the Properties tab in the right pane, scroll down to locate the Global Id property.
    5. Right-click the value for the Global Id property, select Copy Property Name and Value.
    6. Paste the value into the ciId field in the JMX console and remove the property name.
  6. Click Invoke.

    The result displays, which looks similar to the following:

    The result page contains discovery information in three sections:

    • Discovery State

      Field Description  
      First Discovery Time when the CI was discovered for the first time.  
      Last Seen

      Time when this CI was last discovered successfully by a job.

      When there are no active jobs to discover this CI, or all jobs failed in discovering this CI, the value is N/A.

      Last Discovery Result

      Last discovery result. Available statuses include:

      • Pending. There are one or more active discovery jobs that are running. This CI is not yet discovered.
      • Success. The CI was successfully discovered.
      • Fail. Discovery of this CI failed with one or more errors.
      • Warning. Discovery of this CI completed with one or more warning messages.
      • N/A. No active jobs and trigger CIs are available for discovering this CI.
    • Agent State

      N/A if no agent is available.

      When agent is used, this section displays agent related information. The same information can also be found in the Properties tab of the CI.

    • Scanner State

      N/A is no scanner is available.

      When scanner is used, this section displays scanner related information. The same information can also be found in the Properties tab of the CI.


  • If the trigger CI is a Probe Gateway CI, then the job discovery status and the Last Seen value for the specific CI will not display.
  • When a discovery job is deactivated, its last discovery record is not available even if the job had successfully discovered the CI when it was active.

  • The Last Seen value or the Last Discovery Result occasionally get reflected a bit late after the job is finished in the Universal Discovery UI.