Dumping and Loading Devices
The system allows you to export a list of your devices to a text file to import into another system instance. You can do this by using the zenbatchdump command on the CLI.
- Log in to the Control Center host as a user with serviced CLI privileges.
- Attach to the zenhub
serviced service attach zenhub
- Change to the zenoss
su - zenoss
- Export the device list to a text
zenbatchdump > mydevicelist.txt
This command writes the names of your devices (including their device classes, groups, and systems) to a file named mydevicelist.txt.
To load these devices into another instance (or reload them into the same instance), while attached to the zenhub service of the system instance where you want the devices to be discovered, run the command:
The system attempts to discover each of the devices in the text file.
For additional ways to add and discover devices, see Adding, Discovering and Modeling Devices.