I'm running ZenOSS Core and I am trying to first figure out how to set up 
commands to be executed on each device of my choosing.  After I figure that 
out, I need to set up some sort of auto self healing, or auto-run based on 
events. Example, I have a Linux OS process being watched.  If zenoss detects it 
is down on one of the devices, I want a SSH command sent to the device to 
restart it.  Anyway, currently I'm stuck at this:

As I understand, zenoss will run linux commands only on the server it is 
installed.  So I created a script on the server called command1.sh which 
includes the line ssh [EMAIL PROTECTED] '/etc/init.d/app restart' - but when I 
use the "Run Command" option in Zenoss, I see the following output: 
Command: /bin/command1.sh
Description: restart app server
Output:
==== srv-01 ====
/bin/command1.sh
Host key verification failed.

I can't tell what user Zenoss is trying to connect to the srv-01 as?  I set up 
a user/pass in the ZProperties (adamk/pass) and set up passwordless keys from 
the zenoss server to the srv-01 but it obviously isn't using that.. Any help is 
appreciated!




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

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

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



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

Reply via email to