hi all 
when a device goes down I dont get a mail. 
This is the event:
Delay (secs) :1
action : email
Event Class : is status/ping
enabled :true

schedule:
enabled: true
start 05/15/2007  18:20
duration 0 00 10
repeat daily every 1

but i dont get any email !!
I can receive the test email

and when i run this command  i get this reply
:

[EMAIL PROTECTED] bin]$ ./zenactions run -v 10
DEBUG:zen.ZenActions:loading action rules for:keyvan
DEBUG:zen.ZenActions:action:Downtime for:keyvan loaded
DEBUG:zen.ZenActions:loading action rules for:guest
DEBUG:zen.Events:EventClassInst=Start
DEBUG:zen.Events:update status set clearid = '0a1f05ca3550c6cafffffff' where 
device='monitoring.afranet.com' and component='zenactions' and eventKey='' and 
(eventClass='/App/Stop' or eventClass='/App/Start'): --> 0
DEBUG:zen.Events:insert into log (evid, userName, text) select evid, "admin", 
"auto cleared" from status where clearid = "0a1f05ca3550c6cafffffff": --> 0
DEBUG:zen.Events:insert into history set 
firstTime=1179238090.484,severity=0,component='zenactions',summary='zenactions 
started',dedupid='monitoring.afranet.com|zenactions|/App/Start||0|zenactions 
started',manager='monitoring.afranet.com',eventKey='',device='monitoring.afranet.com',eventClass='/App/Start',lastTime=1179238090.484,message='zenactions
 started',deletedTime=null,evid='0a1f05ca3550c6cafffffff': --> 1
DEBUG:zen.Events:DELETE FROM status WHERE clearid IS NOT NULL: --> 0
DEBUG:zen.Schedule:Waiting 105.462397 seconds
DEBUG:zen.ZenActions:loading action rules for:keyvan
DEBUG:zen.ZenActions:action:Downtime for:keyvan loaded
DEBUG:zen.ZenActions:loading action rules for:guest
DEBUG:zen.ZenActions:SELECT 
dedupid,evid,device,component,eventClass,eventKey,summary,message,severity,eventState,eventClassKey,eventGroup,stateChange,firstTime,lastTime,count,prodState,suppid,manager,agent,DeviceClass,Location,Systems,DeviceGroups,ipAddress,facility,priority,ntevid,ownerid,clearid,DevicePriority,
 evid FROM status WHERE 1 = 1 AND evid NOT IN  (SELECT evid FROM alert_state   
WHERE userid='' AND rule='ping ')
DEBUG:zen.ZenActions:SELECT 
h.dedupid,h.evid,h.device,h.component,h.eventClass,h.eventKey,h.summary,h.message,h.severity,h.eventState,h.eventClassKey,h.eventGroup,h.stateChange,h.firstTime,h.lastTime,h.count,h.prodState,h.suppid,h.manager,h.agent,h.DeviceClass,h.Location,h.Systems,h.DeviceGroups,h.ipAddress,h.facility,h.priority,h.ntevid,h.ownerid,h.clearid,h.DevicePriority,
 h.evid FROM history h, alert_state a  WHERE h.evid=a.evid AND a.userid='' AND 
a.rule='ping '
INFO:zen.ZenActions:Processed 1 commands in 0.009179
DEBUG:zen.ZenActions:SELECT 
device,component,message,firstTime,summary,severity, evid FROM status WHERE 
(deviceClass like '%|/%') and (eventClass like '%|/Status/Ping%') AND evid NOT 
IN  (SELECT evid FROM alert_state   WHERE userid='keyvan' AND rule='Downtime')
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='keyvan' AND 
a.rule='Downtime'
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();


thanks

------------------------
 keyvan




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=6547#6547

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to