James M
2013-02-28 12:51:03 UTC
James M [http://community.zenoss.org/people/James] created the discussion
"Running shell script over ssh"
To view the discussion, visit: http://community.zenoss.org/message/72213#72213
--------------------------------------------------------------
Hey
I'm running Zenoss core 4.23 (OS: CentOS 5.4)
And I'm trying to understand how to add data source on device monitored by SSH (/devices/ssh/linux)
That will call a shell script.
I've configured a script on the remote device (path: /zenoss/zenoss.sh)
And when I'm trying to add a new command with ssh to:
/zenoss/zenoss.sh
I'm getting the next error:
Preparing Command...
Executing command /zenoss/zenoss.sh against 10.2.4.43
/bin/sh: /zenoss/zenoss.sh: No such file or directory
DONE in 0 seconds
I verified that the zenoss user have the proper permissions and I just can't understand how to set this...
Will appreciate any help.
Thanks
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72213#72213]
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]
"Running shell script over ssh"
To view the discussion, visit: http://community.zenoss.org/message/72213#72213
--------------------------------------------------------------
Hey
I'm running Zenoss core 4.23 (OS: CentOS 5.4)
And I'm trying to understand how to add data source on device monitored by SSH (/devices/ssh/linux)
That will call a shell script.
I've configured a script on the remote device (path: /zenoss/zenoss.sh)
And when I'm trying to add a new command with ssh to:
/zenoss/zenoss.sh
I'm getting the next error:
Preparing Command...
Executing command /zenoss/zenoss.sh against 10.2.4.43
/bin/sh: /zenoss/zenoss.sh: No such file or directory
DONE in 0 seconds
I verified that the zenoss user have the proper permissions and I just can't understand how to set this...
Will appreciate any help.
Thanks
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/72213#72213]
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]