O'Reilly logo

Zenoss Core 3.x Network and System Monitoring by Michael Badger

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Programming in zendmd, an interactive shell

We can use zendmd to test our python statements and to access the methods and attributes available to us from Zenoss Core. From zendmd, we can write and test Python statements that manipulate the attributes of the devices:

You can use zendmd as a way to:

  • Test event transformations
  • Mass update device properties from a command line
  • Test programming expressions when writing plugins or zenpacks

This section introduces the environment and provides some basic commands to get us started.

To start the zendmd shell, you'll need to run the following command as the zenoss user:

zendmd

The Zenoss dmd command shell opens and displays with a>>> prompt. Enter the following statements at the shell (exclude the commented text ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required