Configuring Network Discovery Observer jobs

The Network Discovery Observer job retrieves network topology data, including discovered devices and relationships, from the Network Discovery database via REST API, and uses this data to create topologies within the Agile Service Manager topology service.

The Network Discovery Services are installed as part of the core installation procedure. This includes the Network Discovery Observer, Network Discovery Collector and Network Discovery Engine, which have been installed and should be running, as well as the required scripts to manage jobs.

Before you configure a network discovery job, you must configure the discovery details. This procedure is described here: Configuring the network discovery services

When successful, the configuration details will be saved in topology management artifacts.

Known issue and workaround: The Kafka service may not yet be fully initialized when the nasm-net-disco-schema-registry is started during an Agile Service Manager start up or restart, and it may subsequently fail a consul health check.
Workaround
  1. Verify via consul that the nasm-net-disco-schema-registry has failed its healthcheck:
    https://localhost:8501/ui/nasm_net_disco/services
  2. Restart the nasm-net-disco-schema-registry:
    docker restart nasm-net-disco-schema-registry
  3. Wait until all Agile Service Manager services have registered with consul, and only then run the network discovery.

The Network Discovery Observer receives network data from the network services. Once the discovery configuration has successfully been sent to the topology management artifact and Network Discovery engine, you can run a full load job to discover Network Discovery data.

You define and start the following job. You must edit the parameters in the configuration file before running this job.
Load job
By default, these jobs are one-off, transient jobs that perform a full upload of all requested topology data as soon as they are triggered.
You can also run these jobs (again) manually from the Observer UI, or schedule them to run at set times when configuring them.
  1. On the Observer jobs page, perform one of the following actions:
    To edit an existing job
    Open the List of options overflow menu next to the job and click View & edit.
    To create a new job
    Click Add a new job + and select the NetDisco Observer tile.
  2. Enter or edit the following parameters, then click Save to save your job and begin retrieving information:
    Table 1. Network Discovery Observer job parameters
    Parameter Action Details
    Unique ID Enter a unique name for the job Required
    Config ID Specify the Network Discovery configuration ID Required
    Job schedule

    Specify when the job should run, and whether it should run at regular intervals.

    By default the job runs immediately, and only once.

    Optionally you can specify a future date and time for the job to run, and then set it to run at regular intervals after that.

    Optional. Transient (one-off) jobs only.

    If you set a job schedule, the run intervals must be at least 90 seconds apart, and if you set them at less than 15 minutes, a warning is displayed, as the frequency can impact system performance.

    Observer job description Enter additional information to describe the job. Optional
The Network Discovery Observer job discovers and then uploads the network services data to the Agile Service Manager topology service.
Tip: Stopping a job using DELETE /jobs/{id} will stop the discovery first and then the job. It will take a while for the discovery engine and observer job to stop. If you want to resubmit another job, ensure that both the discovery and job have stopped by checking GET /jobs/load/status and GET /jobs/{id}.