Install Zenoss zenpacks from CLI.

June 30th, 2012 by Andrea Matesi 4400 Views

Zenoss is a nice NMS. The main Zenoss advantage is the flexibility offered by its modular (ie."plugin") system called zenpacks.

At this Address there are plenty of zenpacks: http://community.zenoss.org/community/zenpacks.

You’ll be tempted to get as many as you wish, then install them from the WEB-GUI.

Unfortunately the WEB-GUI doesn’t always succeed on showing you what is really happening, so installing zenpacks from CLI sometimes may offer you more clues.

To install zenpacks through bash, I do:

chown zenoss:zenoss /path/to/zenpack.egg
chmod 777 /path/to/zenpack.egg
/usr/local/zenoss/zenoss/bin/zenpack --install /path/to/zenpack.egg

And make sure you read the output!


/etc/init.d/zenoss-stack stop
/etc/init.d/zenoss-stack stop
/etc/init.d/zenoss-stack start

To restart Zenoss.

Usually everything will be fine, except for the occasional HP Procurve Zencack, that requires you to manually create the /Devices/Network/Switch/HP class and the /Events/Net/traps event.


Posted in LINUX, System Administration | Comments Off on Install Zenoss zenpacks from CLI.

Comments are closed.