A couple more things to check:

1. Make sure you don't have any schedules set up for the alerting rules, or if you do that they are appropriate. 2. Check your spam box. Many spam filters will catch these emails as spam.

-jason

On Feb 9, 2007, at 4:48 AM, Jewel Muffin wrote:

Hi Jason/Dusan,

I face the same issue as Dusan and I ran the test below and this is the response I get.

[EMAIL PROTECTED]:/usr/local/zenoss/Products$ zenactions run -v10
DEBUG:zen.ZenActions:loading action rules for:mike
DEBUG:zen.ZenActions:action:Mike_test for:mike loaded
DEBUG:zen.Events:EventClassInst=Start
DEBUG:zen.Events:insert into status set firstTime=1171013731.806,severity=2,component='zenactions',summar y='zenactions started',dedupid=' netmon.localhost| zenactions|/App/Start||2|zenactions started',manager='ne tmon.localhost',eventKey='',device=' netmon.localhost',eventClass='/ App/ Start',lastTime=1171013731.806,mes sage='zenactions started',evid='0a1f47b534f186e3fffffff' on duplicate key update summary='zenactions star ted',count=count+1,lastTime= 1171013731.806: --> 2 DEBUG:zen.Events:select evid from status where dedupid="netmon.localhost|zenactions|/App/Start||2| zenacti ons started": --> 1
DEBUG:zen.Events:DELETE FROM status WHERE clearid IS NOT NULL: --> 0
DEBUG:zen.ZenActions:loading action rules for:mike
DEBUG:zen.ZenActions:action:Mike_test for:mike loaded
INFO:zen.ZenActions:Processed 0 commands in 0.002648
DEBUG:zen.ZenActions:SELECT device,component,message,firstTime,summary,severity, evid FROM status WHERE ( prodState = 1000) and (eventClass like '%|/ %') and (severity >= 4) and (eventState = 0) AND evid NOT IN (SELECT evid FROM alert_state WHERE userid='mike' AND rule='Mike_test') 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='mike' AND a.rule='Mike_test'
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 SE COND) <= NOW();


And no email was received.

Any feedback regarding this email notification is very much appreciated.

Thanks,

Rdgs,

Az


***************************************************

Let's try a simple test:
1. stop zenactions:

> zenactions stop

2. Create a new user.

3. Create a new alerting rule for that user.

4. Edit the new rule and set these values:

delay=0

enabled=True

action=Email

Addess=<your email address>

5. Add a where clause for "Event Class is /"

6. Delete the other parts of the where clause

7. Click Save

8. Click Add Event and enter these values:

message=Just testing

event class = /

9. Click Add Event button

10. Click on Events - you should see the new event there

11. Run zenactions:

> zenactions run -v10

Do you get the email? What is the output from zenactions?

-jason

On Feb 7, 2007, at 5:16 PM, Dusan Martic wrote:

>

> More info from the log

>

> [EMAIL PROTECTED] log]# tail -f zenactions.log

> 2007-02-07 19:35:15 INFO zen.ZenActions: Processed 0 commands in

> 0.000246

> 2007-02-07 19:35:15 INFO zen.ZenActions: processed 0 rules in 0.01

> secs

> 2007-02-07 19:36:15 INFO zen.ZenActions: Processed 0 commands in

> 0.000173

> 2007-02-07 19:36:15 INFO zen.ZenActions: processed 0 rules in 0.01

> secs

> 2007-02-07 19:37:15 INFO zen.ZenActions: Processed 0 commands in

> 0.000271

> 2007-02-07 19:37:15 INFO zen.ZenActions: processed 0 rules in 0.01

> secs

> 2007-02-07 19:38:15 INFO zen.ZenActions: Processed 0 commands in

> 0.000322

> 2007-02-07 19:38:15 INFO zen.ZenActions: processed 0 rules in 0.01

> secs

> 2007-02-07 19:39:15 INFO zen.ZenActions: Processed 0 commands in

> 0.000234

> 2007-02-07 19:39:15 INFO zen.ZenActions: processed 0 rules in 0.01

> secs

>

> I am getting notifications when some service goes down and I am

> able to send

> e-mails - so something that 'connect' these processes is

> misbehaving - but

> can't find which one.

>

> Dusan

>

>

> _______________________________________________

> 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

_______________________________________________
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

Reply via email to