Discovering devices from the command-line interface

  1. Log in to the Control Center master host as root, or as a user with superuser privileges.
  2. Attach to the zenhub service.
    serviced service attach zenhub
  3. Change to the zenoss user.
    su - zenoss
  4. Run the zendisc command to discover devices.
    zendisc run --now --monitor localhost 
        --range networkOrIPRange

    The variable networkOrIPRange represents the network or IP range in which you want the system to discover devices. For example, enter a network address in CIDR notation 192.0.2.0/24 or a range of IP addresses 192.0.2.1-50.