Alexander Fortin
2011-11-18 10:04:21 UTC
Alexander Fortin [http://community.zenoss.org/people/shaftoe] created the discussion
"Zencommand ignores $ZENHOME for one device"
To view the discussion, visit: http://community.zenoss.org/message/62706#62706
--------------------------------------------------------------
Hi folks, with Zenoss 3.2.0 I'm getting troubles with zencommand, this is the error:
WARNING zen.SshClient: 127.0.0.1 channel 7 The command $ZENHOME/libexec/check_stolen_cpu.sh returned stderr data (1) from the device: bash: /libexec/check_stolen_cpu.sh: No such file or directory
check_stolen_cpu.sh is working fine on any other box, just this one that is the zenoss collector is breaking. Device is already under Device/SSH/Linux and data sources/graphs are ok, I just don't get why zencommand can't get the right value for ZENHOME, it works fine from CLI:
***@status:~$ ssh 127.0.0.1
Last login: Fri Nov 18 09:50:01 2011 from localhost
***@status:~$ echo $ZENHOME
/usr/local/zenoss/zenoss
***@status:~$ $ZENHOME/libexec/check_stolen_cpu.sh
STOLEN CPU|status=1 stolen=2583844
Any idea? Thanks
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62706#62706]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Zencommand ignores $ZENHOME for one device"
To view the discussion, visit: http://community.zenoss.org/message/62706#62706
--------------------------------------------------------------
Hi folks, with Zenoss 3.2.0 I'm getting troubles with zencommand, this is the error:
WARNING zen.SshClient: 127.0.0.1 channel 7 The command $ZENHOME/libexec/check_stolen_cpu.sh returned stderr data (1) from the device: bash: /libexec/check_stolen_cpu.sh: No such file or directory
check_stolen_cpu.sh is working fine on any other box, just this one that is the zenoss collector is breaking. Device is already under Device/SSH/Linux and data sources/graphs are ok, I just don't get why zencommand can't get the right value for ZENHOME, it works fine from CLI:
***@status:~$ ssh 127.0.0.1
Last login: Fri Nov 18 09:50:01 2011 from localhost
***@status:~$ echo $ZENHOME
/usr/local/zenoss/zenoss
***@status:~$ $ZENHOME/libexec/check_stolen_cpu.sh
STOLEN CPU|status=1 stolen=2583844
Any idea? Thanks
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62706#62706]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]