Thanks SO much for the reply. SO I checked it out and it looks EXACTLY like what I need. So I tested it out in the alert message and the ZenActions log I am seeing this:
> 2009-08-18 09:17:21 ERROR zen.ZenActions: unexpected exception > Traceback (most recent call last): > File "/home/zenoss/Products/ZenEvents/zenactions.py", line 501, in runCycle > self.mainbody() > File "/home/zenoss/Products/ZenEvents/zenactions.py", line 490, in mainbody > self.processRules(zem) > File "/home/zenoss/Products/ZenEvents/zenactions.py", line 237, in > processRules > self.processEvent(zem, ar, actfunc) > File "/home/zenoss/Products/ZenEvents/zenactions.py", line 263, in > processEvent > for result in self.query(q): > File "/home/zenoss/Products/ZenEvents/zenactions.py", line 199, in query > curs.execute(stmt) > File "/usr/lib/python2.4/site-packages/MySQLdb/cursors.py", line 137, in > execute > self.errorhandler(self, exc, value) > File "/usr/lib/python2.4/site-packages/MySQLdb/connections.py", line 33, in > defaulterrorhandler > raise errorclass, errorvalue > OperationalError: (1054, "Unknown column 'getHWSerialNumber' in 'field list'") > This is what my alert message text looks like (pretty basic): > %(getHWSerialNumber)s > > %(rackSlot)s Thanks again for all your help. -------------------- m2f -------------------- Read this topic online here: http://forums.zenoss.com/viewtopic.php?p=38096#38096 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
