Command line discovery with zendisc
The zendisc daemon gives us an opportunity to discover devices from the command line. It can be a helpful troubleshooting tool, or it can be a way for you to shed the Web interface and satisfy your curiosity about how Zenoss Core works. Let's take a look at a few example commands.
To see a list of available options, run the following command as the zenoss user:
zendisc help
Let's work through an example where we remodel a device on our network. Modeling the device gives Zenoss Core the characteristics about the device that we monitor. Sometimes Zenoss Core may not be collecting the information we think it should, so we need to figure out why.
Run the following command as the zenoss user:
zendisc run --remodel -d coyote --logseverity=10
Because we used the --logseverity=10
option, the output is verbose and we can step through the remodeling process, one line at a time. A value of 10 provides the highest level of verbosity.
The -d
coyote
option ran the --remodel...