On 5/11/07, Nathan Sandver <[EMAIL PROTECTED]> wrote:

I've been having trouble figuring out how to actually get performance
data via SSH with zenplugin.py. I installed the plugins according to
the non-root instructions from the FAQ [1]. I can run zenplugin.py
manually as the zenoss user on the device, and it looks like it's
working and reporting data correctly.

After that, I added the device to Zenoss, following the instructions
from the Admin Guide [2] and setting the discovery method to "none".
The instructions say to set the operating system to Linux, but it's
not very clear on where to do that. I've tried setting the device
class path to /Server/Linux, and also setting the OS Manufacturer to
Linux.

Finally, I followed the procedure to configure the device for
monitoring via SSH [3], being sure to make the changes as directed. I
initially tried setting zCommandPath to "/home/zenoss/bin", which is
where zenplugin.py was installed, and then also tried
"/home/zenoss/bin/zenplugin.py". With the first setting, I received
the error "Command invoked cannot execute, permissions problem or
command is not an executable", and with the second, I don't see
errors, but it doesn't seem to work correctly either: in the OS tab,
the filesystems only show Total Bytes, and the other columns are
"unknown"; the interface graphs don't get generated at all; and the
performance graphs for CPU and memory information are blank.

Nathan,

The device class should be set to /Devices/Server/Linux/Remote. This
is where the command based (zenplugins) performance templates are
installed by default. You were correct in setting the zCommandPath to
"/home/zenoss/bin" if this is where the zenplugin.py file is located.
The zencommand daemon will need to make a few passes before the
performance data starts to fill out.

It sounds like you have the ssh authentication setup properly if
you're getting this far. Are you using username/password or public key
authentication?

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

Reply via email to