Todd Davis wrote:
When I've installed the Zenoss-Plugins RPM, I've had to:
touch /usr/lib/python2.3/site-packages/zenoss/plugins/__init__.py
After that it was able to find the plugins.
Well, that partially solved the problem. Having added the ___init__.py,
zenplugin.py can now find plugins for the system:
===
# zenplugin.py --list-plugins
platform 'linux2' supports the following plugins:
intf
process
mem
io
disk
cpu
smart
===
However, I'm getting the exact same errors when I attempt to add a device
via the web GUI (using Add Device, device name of localhost, /Server/Linux,
snmp):
===
2007-01-02 12:56:17 INFO zen.ZenModeler loading collector plugins
from:/opt/zenoss/Products/DataCollector/plugins
2007-01-02 12:56:17 ERROR zen.ZenModeler problem loading
plugin:zenoss.snmp.NewDeviceMap
Traceback (most recent call last): File
"/opt/zenoss/Products/DataCollector/zenmodeler.py", line 82, in loadPlugins
const = importClass(modpath) File "/opt/zenoss/Products/ZenUtils/Utils.py",
line 158, in importClass mod = __import__(modulePath, globals(), locals(),
classname) ImportError: No module named snmp.NewDeviceMap
2007-01-02 12:56:17 ERROR zen.ZenModeler problem loading
plugin:zenoss.snmp.HRSWInstalledMap
===
(And so on for each plugin)
Just for kicks, I tried tossing them into
/usr/lib64/python2.3/site-packages/zenoss/plugins/ - but that unfortunately
made no difference either.
--Ken.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users