Known problem: http://dev.zenoss.org/trac/ticket/1085
-Eric yoogie wrote:
Hi there, I have a problem with zenoss 1.1.1 alerts. What I am trying to achieve. We have several users set up with their own "default" alert rule. SMTP is working as supposed and I have already enabled the rule. The filtering options are set to: - Severity >= Error - Event State = New - Event Class is /Status/IpService So it should be very straight forward (btw no schedule is set). For testing, I shut down a http service on one of the monitored servers and receive the event with the following -------- eventClass: "/Status/IpService" severity: 5 eventState: 0 -------- When I run zenactions run -v10 I get the following: ================================================================================ DEBUG:zen.ZenActions:SELECT device,component,message,firstTime,summary,severity, evid FROM status WHERE (eventClass like '%|/Status/IpService%') and (severity >= 4) and (eventState = 0) AND evid NOT IN (SELECT evid FROM alert_state WHERE userid='frafs' AND rule='default') DEBUG:zen.ZenActions:SELECT h.device,h.component,h.message,h.firstTime,h.summary,h.severity, h.evid FROM history h, alert_state a WHERE h.evid=a.evid AND a.userid='frafs' AND a.rule='default' DEBUG:zen.ZenActions:call age_events(4, 4); DEBUG:zen.ZenActions:SELECT device, component FROM status WHERE eventClass = '/Status/Heartbeat' DEBUG:zen.ZenActions:SELECT device, component FROM heartbeat WHERE DATE_ADD(lastTime, INTERVAL timeout SECOND) <= NOW(); ================================================================================ And of course I don't get an email... I think the problem is the leading "|" in the query, because there is no pipe symbol in the event... When I negate the report rule to Event Class is not /Status/IpService, I receive the email. I hope you can help me. Many thanks in advance. Manuel -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=4793#4793 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
