Guest User

Untitled

a guest
Aug 2nd, 2011
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. 2011-08-02 10:06:04,374 ERROR zen.ZenActions: Error running command Gnokii-SMS
  2. Traceback (most recent call last):
  3. File "/opt/zenoss/Products/ZenEvents/zenactions.py", line 588, in runEventCommand
  4. res = compiled(getEngine().getContext(environ))
  5. File "/opt/zenoss/lib/python/zope/tales/expressions.py", line 261, in __call__
  6. v = var(econtext)
  7. File "/opt/zenoss/lib/python/zope/tales/expressions.py", line 217, in __call__
  8. return self._eval(econtext)
  9. File "/opt/zenoss/lib/python/Products/PageTemplates/Expressions.py", line 127, in _eval
  10. ob = self._subexprs[-1](econtext)
  11. File "/opt/zenoss/lib/python/zope/tales/expressions.py", line 118, in _eval
  12. ob = vars[base]
  13. KeyError: 'device'
  14. 2011-08-02 10:06:04,443 INFO zen.ZenActions: Processed 1 commands in 0.076061
  15. 2011-08-02 10:06:04,452 INFO zen.ZenActions: processed 2 rules in 0.09 secs
  16.  
  17.  
  18.  
  19.  
  20. when i want to run
  21. echo "ZENOSS: Device ${device/getId} reported: ${evt/summary}" | /usr/bin/gnokii --sendsms +31XXXXXXXX
Advertisement
Add Comment
Please, Sign In to add comment