I have tried setting the smtphost in the config file, and passing it
as an argument, but I don't think that's where the problem is.  I created an 
alert cit.network.alert, which should email a distribution list, however
instead this error appears in the event.log when it is triggered:


2006-09-02T08:39:11 ERROR Zope.SiteErrorLog 
http://170.132.208.101:8080/zport/dmd/ZenUsers/admin/cit.network.alert
Traceback (most recent call last):
  File "/usr/local/zenoss/lib/python/ZPublisher/Publish.py", line 114, in 
publish
    request, bind=1)
  File "/usr/local/zenoss/lib/python/ZPublisher/mapply.py", line 88, in mapply
    if debug is not None: return debug(object,args,context)
  File "/usr/local/zenoss/lib/python/ZPublisher/Publish.py", line 40, in 
call_object
    result=apply(object,args) # Type s<cr> to step into published object.
  File "/usr/local/zenoss/Products/ZenModel/ZenModelBase.py", line 49, in 
__call__
    return self.restrictedTraverse(view)()
  File "/usr/local/zenoss/lib/python/Shared/DC/Scripts/Bindings.py", line 311, 
in __call__
    return self._bindAndExec(args, kw, None)
  File "/usr/local/zenoss/lib/python/Shared/DC/Scripts/Bindings.py", line 348, 
in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/usr/local/zenoss/Products/CMFCore/FSPageTemplate.py", line 195, in 
_exec
    result = self.pt_render(extra_context=bound_names)
  File "/usr/local/zenoss/Products/CMFCore/FSPageTemplate.py", line 134, in 
pt_render
    result = FSPageTemplate.inheritedAttribute('pt_render')(
  File "/usr/local/zenoss/lib/python/Products/PageTemplates/PageTemplate.py", 
line 104, in pt_render
    tal=not source, strictinsert=0)()
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 206, in 
__call__
    self.interpret(self.program)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in 
interpret
    handlers[opcode](self, args)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 711, in 
do_useMacro
    self.interpret(macro)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in 
interpret
    handlers[opcode](self, args)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 426, in 
do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 411, in 
do_optTag
    return self.no_tag(start, program)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in 
interpret
    handlers[opcode](self, args)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 711, in 
do_useMacro
    self.interpret(macro)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in 
interpret
    handlers[opcode](self, args)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 426, in 
do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 411, in 
do_optTag
    return self.no_tag(start, program)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in 
interpret
    handlers[opcode](self, args)
 File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in 
interpret
    handlers[opcode](self, args)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 426, in 
do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 411, in 
do_optTag
    return self.no_tag(start, program)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in 
interpret
    handlers[opcode](self, args)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 711, in 
do_useMacro
    self.interpret(macro)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in 
interpret
    handlers[opcode](self, args)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 426, in 
do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 411, in 
do_optTag
    return self.no_tag(start, program)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in 
interpret
    handlers[opcode](self, args)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 734, in 
do_defineSlot
    self.interpret(slot)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in 
interpret
    handlers[opcode](self, args)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 426, in 
do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 411, in 
do_optTag
    return self.no_tag(start, program)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in 
interpret
    handlers[opcode](self, args)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 734, in 
do_defineSlot
    self.interpret(slot)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in 
interpret
    handlers[opcode](self, args)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 426, in 
do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 411, in 
do_optTag
    return self.no_tag(start, program)
File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in 
interpret
    handlers[opcode](self, args)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 734, in 
do_defineSlot
    self.interpret(slot)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in 
interpret
    handlers[opcode](self, args)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 426, in 
do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 411, in 
do_optTag
    return self.no_tag(start, program)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 406, in no_tag
    self.interpret(program)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 250, in 
interpret
    handlers[opcode](self, args)
  File "/usr/local/zenoss/lib/python/TAL/TALInterpreter.py", line 609, in 
do_insertStructure_tal
    structure = self.engine.evaluateStructure(expr)
  File "/usr/local/zenoss/lib/python/Products/PageTemplates/TALES.py", line 
221, in evaluate
    return expression(self)
  File "/usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py", 
line 185, in __call__
    return self._eval(econtext)
  File "/usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py", 
line 180, in _eval
    return render(ob, econtext.vars)
  File "/usr/local/zenoss/lib/python/Products/PageTemplates/Expressions.py", 
line 85, in render
    ob = ob()
  File "/usr/local/zenoss/Products/ZenEvents/ActionRule.py", line 230, in 
getQueryElements
    s = self.genMeta().items()
  File "/usr/local/zenoss/Products/ZenEvents/ActionRule.py", line 186, in 
genMeta
    ownerId=Select("Owner Id", owners),
  File "/usr/local/zenoss/Products/ZenEvents/WhereClause.py", line 59, in 
__init__
    if type(options[0]) != type(()):
IndexError: list index out of range


Thanks for any help/ideas on how to get alerts working! 

Best Regards,

-Chris


Chris Leonardos
Network Engineer
Corporate Information Technology
Sungard Data Systems
680 E. Swedesford Road
Wayne, PA 19087
O:603-225-8413
C:484-678-0520
[EMAIL PROTECTED]

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

Reply via email to