Hi,
i'm new to Zenoss, and need to monitor a specific process on a Linux-Box. So i 
copied the template from devices/server/cmd to devices/server/linux to have the 
'Device' template available for Linuxmachines.
I want to start try to use zenplugins to monitor for e.g. cpu disk mem...
I know i had to use ssh. I configured zCommandPassword and zCommandUsername in 
zProperties, but it didn't worked.
In Zenoss when i do:
${zCommandPath}/zenplugin.py cpu

I always get:
Executing command
/usr/bin/zenplugin.py cpu
against LXIZ49
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/usr/bin/zenplugin.py", line 4, in <module>
import pkg_resources
ImportError: No module named pkg_resources
DONE in 0 seconds

When I run zenplugin.py mem from the command line under root it works, but when 
i run the command as user zenoss i get:
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/zenplugin.py", line 4, in <module>
    import pkg_resources
ImportError: No module named pkg_resources

I use Debian 5.0 on a Dell PE1950.
Zenoss told me it uses:
Zenoss 2.3.3 installed via Debian Stack Installer
Zope 2.8.8
Python 2.4.4

I searched the Forum, and the Internet(Google) but found no solution, i'm 
totally stucked.

Kind regards,
Andreas




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=34332#34332

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to