So far, we've seen ways to build our device inventory through the web interface. In one case, we auto-discover everything and in the other case, we add the devices one at a time.
What if you already have a list of the SNMP capable devices by hostname or IP address? Wouldn't it be nice to import those devices. Zenoss Core can import a list of devices and attributes via the
In its simplest form, zebatchload will process a text file that lists one device per line. Here's a sample list of devices that I will call
device01 router02 web03
Since zenbatchload is a Zenoss Core daemon, we need to run it as the zenoss user. Here are the commands:
su – zenoss <enter zenoss user's password> zenbatchload deviceList.txt
zenbatchload command will attempt to run SNMP on each device. If the device doesn't support SNMP, it won't be added to the inventory. The
zenbatchload command accepts device classes, options, and zProperties...