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.
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 some events from a command line. To see what options are available, run the following command from a command line as the zenoss user:
As you look over the usage summary, you should recognize most of the available options from...