I've enabled debug with level 10 for zenping,  zenhub, and zenaction daemons. 
That is what i see in the logs:

DEVICE IS DOWN:

zenping.log (severity log level 10):

2009-02-20 17:06:26 DEBUG zen.ZenPing: Sending event {'severity': 5, 
'component': '', 'agent': 'zenping', 'summary': 'mydevice is down', 'manager': 
'localhost', 'eventGroup': 'Ping', 'eventState': 0, 'device': 'mydevice', 
'eventClass': '/Status/Ping', 'ipAddress': 'xxx.xx.xxx.xxx'}

zenhub.log (severity log level 10):

2009-02-20 17:06:26 DEBUG zen.Events: Found device=mydevice
2009-02-20 17:06:26 DEBUG zen.Events: EventClassInst=Ping
2009-02-20 17:06:26 DEBUG zen.DbConnectionPool: Retrieved a connection; Pool 
size: 0
2009-02-20 17:06:26 DEBUG zen.Events: insert into status set 
lastTime=1235167586.912,prodState=1000,firstTime=1235167586.912,severity=5,component='',DeviceGroups='|',agent='zenping',summary='ip
 xxx.xx.xxx.xxx is down',dedupid='mydevice||/Status/Ping||5|ip xxx.xx.xxx.xxx 
is 
down',eventKey='',manager='localhost',eventGroup='Ping',Location='',device='mydevice',DevicePriority=3,eventClass='/Status/Ping',eventState=0,ipAddress='xxx.xx.xxx.xxx',message='ip
 xxx.xx.xxx.xxx is 
down',Systems='|',DeviceClass='/Ping',evid='17b20f8962499f1be8ffffe6d' on 
duplicate key update prodState=1000,summary='ip xxx.xx.xxx.xxx is 
down',count=count+1,lastTime=1235167586.912: --> 2
2009-02-20 17:06:26 DEBUG zen.Events: select evid from status where 
dedupid="mydevice||/Status/Ping||5|ip xxx.xx.xxx.xxx is down": --> 1


zenactions.log (severity log level 20):

2009-02-20 17:06:31 INFO zen.ZenActions: rule 'Ping' sent email:Host DOWN alert 
for mydevice to:['[email protected]']

DEVICE IS UP:

zenping.log (severity log level 10):

2009-02-20 17:23:24 DEBUG zen.Ping: echo reply pkt xxx.xx.xxx.xxx <ICMP packet 
0 0>
2009-02-20 17:23:24 DEBUG zen.Ping: pj succeed for xxx.xx.xxx.xxx
2009-02-20 17:23:24 DEBUG zen.ZenPing: Sending event {'severity': 0, 
'component': '', 'agent': 'zenping', 'summary': 'ip xxx.xx.xxx.xxx is up', 
'manager': 'localhost', 'eventGroup': 'Ping', 'eventState': 0, 'device': 
'mydevice', 'eventClass': '/Status/Ping', 'ipAddress': 'xxx.xx.xxx.xxx'}

zenhub.log (severity log level 10):

009-02-20 17:23:25 DEBUG zen.hub: Servicing sendEvent in EventService
2009-02-20 17:23:25 DEBUG zen.Events: Found device=mydevice
2009-02-20 17:23:25 DEBUG zen.Events: EventClassInst=Ping
2009-02-20 17:23:25 DEBUG zen.DbConnectionPool: Retrieved a connection; Pool 
size: 0
2009-02-20 17:23:25 DEBUG zen.Events: update status set clearid = 
'17b20f8962499f1be8ffffdde' where device='mydevice' and component='' and 
eventKey='' and (eventClass='/Status/Wmi/Conn' or eventClass='/Status/Ping'): 
--> 1
2009-02-20 17:23:25 DEBUG zen.Events: insert into log (evid, userName, text) 
select evid, "admin", "auto cleared" from status where clearid = 
"17b20f8962499f1be8ffffdde": --> 1
2009-02-20 17:23:25 DEBUG zen.Events: DELETE FROM status WHERE clearid IS NOT 
NULL: --> 1
2009-02-20 17:23:25 DEBUG zen.Events: insert into history set 
lastTime=1235168605.386,prodState=1000,firstTime=1235168605.386,severity=0,component='',DeviceGroups='|',agent='zenping',summary='ip
 xxx.xx.xxx.xxx is up',dedupid='mydevice||/Status/Ping||0|ip xxx.xx.xxx.xxx is 
up',eventKey='',manager='localhost',eventGroup='Ping',Location='',device='mydevice',DevicePriority=3,eventClass='/Status/Ping',eventState=0,ipAddress='xxx.xx.xxx.xxx',message='ip
 xxx.xx.xxx.xxx is 
up',Systems='|',DeviceClass='/Ping',deletedTime=null,evid='17b20f8962499f1be8ffffdde':
 --> 1

zenactions.log (severity log level 10):

since 2009-02-20 17:23:24 there is nothing about 'mydevice'... 

Can anybody explain me what can be the cause that zenoss do not send clear 
alert emails.




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

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

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



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

Reply via email to