Skip to content

Instantly share code, notes, and snippets.

@eedgar
Created August 19, 2015 03:00
Show Gist options
  • Save eedgar/9f898808242625a863b1 to your computer and use it in GitHub Desktop.
Save eedgar/9f898808242625a863b1 to your computer and use it in GitHub Desktop.
zenoss 5.0.5 zentrap fix
A temporary fix for this until the 5.0.6 release is to download the attached pynetsnmp package (or grab it from http://zenpip.zendev.org/packages/pynetsnmp-0.40.0.tar.gz), extract it to somewhere (in this case it was /home/rmatte), rename the extracted directory to pynetsnmp, then do...
mkdir /tmp/zentrap_fix and copy the files into there.
[root@zenoss5lab rmatte]# serviced service shell --mount '/tmp/zentrap_fix,/pynetsnmp' -i -s mychange zentrap bash
[root@bfbd8ee175c2 pynetsnmp]# cd /opt/zenoss/lib/python2.7/site-packages/
[root@bfbd8ee175c2 site-packages]# mv pynetsnmp /tmp
[root@bfbd8ee175c2 site-packages]# mv /pynetsnmp/pynetsnmp .
[root@bfbd8ee175c2 site-packages]# chown zenoss:zenoss pynetsnmp
[root@bfbd8ee175c2 ~]# exit
[root@zenoss5lab rmatte]# serviced snapshot commit mychange
After that zentrap will start and run fine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment