ZenPack:DirFile

From Zenoss Wiki
This is the approved revision of this page, as well as being the most recent.
Jump to: navigation, search
Author(s)
Jane Curry
Current Maintainer(s)
Jane Curry
Organization
Skills 1st
License
GNU General Public License, Version 2
ZenPack name
ZenPacks.community.DirFile
More Information
GitHub page/HomePage
Link to more docs
View Documentation
Git sources (for cloning)
Link




DirFile ZenPack

Monitors files and directories.

One of the Zenoss Developers Guide ZenPacks. This is a sample ZenPack, not designed for large production environments.

On GitHub, check the branch carefully:

Warning

The ZenPack Catalog has moved to its new home at https://www.zenoss.com/product/zenpacks as of January 17, 2017. The following information may be out of date, and this page will eventually be removed.

Support

This ZenPack is developed by the Zenoss user community and supported via our online forums. Zenoss, Inc. does not provide direct support for this ZenPack.

Releases

Version 1.0.0- Download
Summary of changes: Initial release using COMMAND datasources
Released on 2016/03/15
Compatible with Zenoss Core 4.2.x, Zenoss Core 5.0.x
Incompatible with Zenoss Core 2.5.x
Version 1.0.2- Download
Summary of changes: With PythonCollector datasources

With event class, transform, Event Console field, trigger and notification

Released on 2016/03/16
Requires PythonCollector ZenPack
Compatible with Zenoss Core 4.2.x, Zenoss Core 5.0.x
Incompatible with Zenoss Core 2.5.x

Background

On GitHub, check the branch carefully:

  master   1.0.0 for basic COMMAND datasources
  python   1.0.1 for PythonCollector datasources
  events   1.0.2 for PythonCollector datasources and event fields, triggers and notifications

Installation

Normal Installation (packaged egg)

  1. Download the appropriate egg file for the version of Zenoss you are running.
  2. Ensure you are logged in as the zenoss user:
    $ sudo su - zenoss
  3. Install the ZenPack:
    $ zenpack --install ZenPacks.community.DirFile-*.egg
  4. Restart these services:
    $ zenoss restart

Developer Mode Installation

In order to do a development mode installation you will want to clone the existing git repository, and then use the --link flag with the zenpack command:

  1. Ensure you are logged in as the zenoss user:
    $ sudo su - zenoss
  2. Start by cloning the upstream repository:
    $ git clone https://github.com/ZenossDevGuide/ZenPacks.community.DirFile
  3. Next, perform the installation:
    $ zenpack --link --install ZenPacks.community.DirFile
  4. Finally, restart these serivices:
    $ zenoss restart

Discuss

Purplemarker.png New: Don't forget to add yourself to the Zenoss User Map!

blog comments powered by Disqus