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

Incorporating event reporting into third-party scripts via zensendevent

Do you have a bunch of homegrown system administration scripts running on your network? Wouldn't it be nice to monitor the activities of those scripts? Zenoss Core ships with a stand alone script called zensendevent that we can integrate into our existing scripts in order to use Zenoss Core's event systems.

Note

We can install zensendevent on any server (or desktop) as long as the system has Python installed.

A sample use would be to use zensendevent to create events to document the progress of a backup script by generating an informational event at the start and a clear event after the script completes.

We'll work up a simple example, but first let's use zensendevent to generate ...

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