TECHZEN Zenoss User Community ARCHIVE  

PySamba zenpack not installed... but it is

Subject: PySamba zenpack not installed... but it is
Author: [Not Specified]
Posted: 2014-05-21 12:33

When I run zenmodler I get this a lot:

2014-05-21 10:42:31,796 INFO zen.ZenModeler: skipping WMI-based collection, PySamba zenpack not installed

However, the PySamba pack is installed and does not appear to be broken, I even remove it and re-installed it.

Yes, I have rebooted.

Does anyone have any ideas



Subject: Try running the script from
Author: [Not Specified]
Posted: 2014-05-21 12:39

Try running the script from this article: http://wiki.zenoss.org/Removing_Broken_ZenPacks

Hydruid



Subject: I got this as output from the
Author: [Not Specified]
Posted: 2014-05-21 12:49

I got this as output from the script:
[zenoss@snmp ~]$ zendmd --script=zenpack-remove.py
ZenPacks.BlakeDrager.fping is fine.
ZenPacks.ZenSystems.ApcUps is fine.
ZenPacks.community.SQLDataSource is fine.
ZenPacks.community.WMIDataSource is fine.
ZenPacks.community.WMIPerf_Windows is fine.
ZenPacks.community.powerware is fine.
ZenPacks.vaibhav.brocadeswitches is fine.
ZenPacks.zenoss.ApacheMonitor is fine.
ZenPacks.zenoss.DellMonitor is fine.
ZenPacks.zenoss.DeviceSearch is fine.
ZenPacks.zenoss.DigMonitor is fine.
ZenPacks.zenoss.DnsMonitor is fine.
ZenPacks.zenoss.EsxTop is fine.
ZenPacks.zenoss.FtpMonitor is fine.
ZenPacks.zenoss.HPMonitor is fine.
ZenPacks.zenoss.HttpMonitor is fine.
ZenPacks.zenoss.IRCDMonitor is fine.
ZenPacks.zenoss.JabberMonitor is fine.
ZenPacks.zenoss.LDAPMonitor is fine.
ZenPacks.zenoss.LinuxMonitor is fine.
ZenPacks.zenoss.Microsoft.Windows is fine.
ZenPacks.zenoss.MySqlMonitor is fine.
ZenPacks.zenoss.NNTPMonitor is fine.
ZenPacks.zenoss.NtpMonitor is fine.
ZenPacks.zenoss.PySamba is fine.
ZenPacks.zenoss.PythonCollector is fine.
ZenPacks.zenoss.XenMonitor is fine.
ZenPacks.zenoss.XenServer is fine.
ZenPacks.zenoss.ZenJMX is fine.
ZenPacks.zenoss.ZenossVirtualHostMonitor is fine.



Subject: Try this:
Author: [Not Specified]
Posted: 2014-05-21 12:59

Try this:

zenpack --remove ZenPacks.zenoss.PySamba
rm -fr $ZENHOME/ZenPacks/ZenPacks.zenoss.PySamba
zenoss restart
cd ~
mkdir linked-zenpacks
cd linked-zenpacks
git clone https://github.com/zenoss/ZenPacks.zenoss.PySamba.git
zenpack --link --install ZenPacks.zenoss.PySamba
zenoss restart

Hydruid



Subject: No effect.
Author: [Not Specified]
Posted: 2014-05-21 13:30

No effect.



Subject: Did you get any errors when
Author: [Not Specified]
Posted: 2014-05-21 13:44

Did you get any errors when you installed it What version of Zenoss

Hydruid



Subject: Other then not having the
Author: [Not Specified]
Posted: 2014-05-21 13:48

Other then not having the development RPMs installed before I started no.
[zenoss@snmp linked-zenpacks]$ zenpack --link --install ZenPacks.zenoss.PySamba
2014-05-21 14:28:12,604 INFO zen.HookReportLoader: Loading reports from /home/zenoss/linked-zenpacks/ZenPacks.zenoss.PySamba/ZenPacks/zenoss/PySamba/reports
[zenoss@snmp linked-zenpacks]$ zenoss restart

Software Component Versions
Zenoss Zenoss 4.2.5
OS Linux (x86_64) 2.6.32 (Linux snmp.xxx.xxx.xxx 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 23:32:49 UTC 2014 x86_64)
Zope Zope 2.13.13
Python Python 2.7.2
Database MySQL 5.5.37 (5.5.37)
RRD RRDtool 1.4.7
Twisted Twisted 11.0.0
RabbitMQ RabbitMQ 2.8.7
Erlang Erlang 5.8.5
NetSnmp NetSnmp 5.5.0
PyNetSnmp PyNetSnmp 0.30.7
WMI Wmi 1.3.16

No real errors that I can see other then it telling me that PySamba is not installed.



Subject: What templates do you have
Author: [Not Specified]
Posted: 2014-05-21 14:05

What templates do you have bound to the server By default 4.2.5 uses WinRM instead of WMI.

Hydruid



< Previous
Can multiple ZenPacks provide the same Device Class?
  Next
Microsoft Zenpack issue
>