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