Hi, as a temporary workaround solution I've decided to automate the restart of 
the zenmodeler daemon when it hangs by means of en event command.

This is my event command:
set kpid; kpid=`cat /usr/local/zenoss/zenoss/var/zenmodeler-localhost.pid`; 
kill -9 $kpid; zenmodeler start

The event command is triggered correctly but then the command itself fails. I 
always get this Cmd/Fail event : 
Error running: zenmodeler restart: /bin/sh: line 1: : command not found 

Error running: zenmodeler restart: /bin/sh: 
/usr/local/zenoss/zenoss/bin/zenmodeler start
: No such file or directory
/bin/sh: line 1: 
: command not found


It does work when I run it on a command line terminal as the zenoss user but 
fails when triggered as an event command

Any ideas ?




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

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

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



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

Reply via email to