Monitoring services using the CLI

To start monitoring using the CLI:

  1. Ensure that you were assigned the DniMonitor role in each OU for which you issue a register command.
  2. Open the CLI in multi-command mode by entering:
    dnicli -i instance_name -ou SYSOU -s DNI_MONITOR
    The CLI displays a prompt of the form:
    instance_name.SYSOU.DNI_MONITOR>_
  3. Register the types of events you want to receive (see Registering to receive event messages).
  4. Enter:
    .monitor

To monitor additional events:

  1. Stop monitoring by issuing the period command (.).
  2. Register to receive the additional events.
  3. Restart monitoring by issuing the monitor (.monitor) command.

To reduce the number of events monitored:

  1. Stop monitoring by issuing the period command (.).
  2. Deregister all events.
  3. Register only those events that you want to receive.
  4. Restart monitoring with the monitor (.monitor) command.

To stop monitoring, enter a period (.).

When you terminate the CLI, it automatically deregisters any subscriptions associated with it. You do not need to manually deregister anything.