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

Appendix B. Device Attributes

Device attributes describe each device, and like the event attributes in Appendix A, Event Attributes not all attributes will apply to every device. We use device attributes to extract bits of information in the following places:

  • User commands
  • Event commands
  • Monitoring template commands
  • Event transformations
  • ZenPack programming
  • Custom device reports

Your programming context determines how you access the device attributes. For example, we can substitute the device attributes in our Python statements via TALES expressions.

An example of a TALES expression to access a device attribute looks like this:

	${dev/attribute}

So if we wanted to write a TALES expression to access the name of the device, the expression would look like ...

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