- Zenoss, Inc.
- ZenPack name
Enterprise Collector ZenPack
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.
This ZenPack is included with commercial versions of Zenoss and enterprise support for this ZenPack is provided to Zenoss customers with an active subscription.
The ZenPacks.zenoss.EnterpriseCollector ZenPack allows several collector daemons to start and to monitor devices, even if a connection to zenhub is not available when a collector daemon starts.
With this ZenPack, the following collector daemons gain configuration caching:
Data and events are cached locally and are sent to zenhub as needed after a connection is re-established. Cached configuration data is stored in $ZENHOME/perf/Daemons/MonitorName/DaemonName-Suffix, where Suffix is one of:
[zenoss@zenosst zenpacks]$ ls $ZENHOME/perf/Daemons/localhost/zeneventlog* /opt/zenoss/perf/Daemons/localhost/zeneventlog-configs.db /opt/zenoss/perf/Daemons/localhost/zeneventlog-properties.pickle /opt/zenoss/perf/Daemons/localhost/zeneventlog-threshold-classes.pickle /opt/zenoss/perf/Daemons/localhost/zeneventlog-thresholds.pickle
Each time a collector daemon successfully retrieves configuration information from zenhub, it updates the cached files. This happens at startup, and then every 20 minutes to 6 hours (depending on the daemon and its configuration). A collector daemon must successfully connect once before it can use the cached files if zenhub is not available.
The cached files are considered transient, and can be deleted without harm.
|Product||Zenoss platform 4.x, Zenoss 2.5 or higher|
These options apply to all collector daemons and control how those daemons request configurations from zenhub daemons:
- configsipsize -- If set to a non-zero value, the collector daemon requests n device configurations from its zenhub daemon (where n is the value for configsipsize). The default value is 25. By requesting device configurations in batches, the option allows the collector daemon to start monitoring devices as the device configuration is loaded. Also, the smaller batches prevent zenhub daemons from locking up a process for long periods of time. If set to a value of 0, then all configurations are downloaded at once; monitoring does not commence until all configurations have been loaded by the collector. On systems with a large number of devices, the collector may be waiting a long time to download all the configurations.
- configsipdelay -- Controls how many seconds (at most) to wait between making device configuration requests. This option is ignored if the value of configsipsize is 0. The default value is 1.
--configsipsize=CONFIGSIPSIZE Max number of device configurations to load at once, default 25 (0 == all devices) --configsipdelay=CONFIGSIPDELAY Delay in seconds between device configurations loading, default 1
Normal Installation (packaged egg)
- Download the appropriate egg file for the version of Zenoss you are running.
- Ensure you are logged in as the zenoss user:
$ sudo su - zenoss
- Install the ZenPack:
$ zenpack --install ZenPacks.zenoss.EnterpriseCollector-*.egg
- Restart these services:
$ zenoss restart
New: Don't forget to add yourself to the Zenoss User Map!blog comments powered by Disqus