[zenoss@it bin]$ ./zenpack run --install Printer.zip ERROR: $ZENHOME is not set. This is usually caused by executing this command as root rather than as the zenoss user. Either define $ZENHOME or run this command as a different user.
i have added following lines at the end of /etc/profile #Zenoss ZENHOME=/usr/local/zenoss Export ZENHOME PYTHONPATH=$ZENHOME/lib/python Export PYTHONPATH Export PATH=$ZENHOME/bin:$PATH
Then try to reinstall, that will at least get the zenpack installed. I would also suggest putting the 'export ZENHOME=/usr/local/zenoss' into the /home/zenoss/.bashrc , which should permanently fix it. Assuming your zenoss user's default shell is bash.