Hello,

I am currently setting up to monitor remote devices using SSH plus Zenos 
Plugins 2.04 on Zenoss 2.2 and when it come to test, I got this zencommand 
error:

Command: zencommand run -v 1 -d <devicename>

returns:

Code: 255 - Msg: Exit status out of range, exit takes only integer arguments in 
the range 0-255 

as in:

DEBUG:zen.zencommand:Sending event {'severity': 3, 'message': 'Cmd: ssh -l 
<user> <device URL> -i /home/zenoss/.ssh/id_dsa /usr/bin/zenplugin.py cpu - 
Code: 255 - Msg: Exit status out of range, exit takes only integer arguments in 
the range 0-255', 'component': '', 'agent': 'zencommand', 'summary': 'Cmd: ssh 
-l <user> <device URL> -i /home/zenoss/.ssh/id_dsa /usr/bin/zenplugin.py cpu - 
Code: 255 - Msg: Exit status out of range, exit takes only integer arguments in 
the range 0-255', 'manager': 'localhost', 'eventKey': 'cpu', 'device': 
'<deviceURL>', 'eventClass': '/Perf/CPU', 'performanceData': ''}

But when I run manually, the command return right output such as this:

Command:
ssh -l <user> <deviceURL> -i /home/zenoss/.ssh/id_dsa /usr/bin/zenplugin.py cpu

Output:
CPU OK;|ssCpuRawInterrupt=2588 laLoadInt1=0.10 ssRawContexts=145674510 
laLoadInt5=0.07 ssCpuRawNice=13766 ssCpuRawKernel=597551 ssCpuRawSystem=597551 
ssCpuRawWait=388933 laLoadInt15=0.04 ssRawInterrupts=82416396 
ssCpuRawIdle=143297795 ssCpuRawUser=8435612

Feel really weird now.

Googling didn't return any satifactory answer. Help needed please.

Thank you ZenOSS community!




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

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

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



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

Reply via email to