I'm not sure what all repercussions this may have, but this diff to 
$ZENHOME/Products/ZenEvents/zenactions.py solves my problem:

Code:
[EMAIL PROTECTED] ZenEvents]$ diff zenactions.py zenactions.py.orig
69c69
<       if code == 0:
---
>         if self.data and code == 0:




After making that change to zenactions.py, I had to recreate the zenactions.pyo 
file like so:

Code:
[EMAIL PROTECTED] ZenEvents]$ python -O /usr/lib64/python2.4/py_compile.py 
zenactions.py


(Please note I'm in a 64-bit environment, hence the path including /usr/lib64 
and not /usr/lib.)

and restarted the zenactions service.  The problem seems to be that when a 
command finishes it returns "twisted.internet.error.ProcessDone" (A process has 
ended without apparent errors: process finished with exit code 0.).  This error 
or exception contains nothing in self.data, even though the exit code is still 
0.  But since there's nothing in self.data, the correct code branch doesn't 
happen.

Anyway, I never claimed to be well-versed in python, but this does solve my 
problems.  If this isn't the way to fix this, please let me know.

seth wright ([EMAIL PROTECTED])
windows engineer
540.568.2912 (office)
james madison university




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

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

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



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

Reply via email to