|
|
|
loadActionRules(self)
Load the ActionRules into the system. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
processRules(self,
zem)
Run through all rules matching them against events. |
source code
|
|
|
|
|
|
|
maintenance(self,
zem)
Run stored procedures that maintain the events database. |
source code
|
|
|
heartbeatEvents(self)
Create events for failed heartbeats. |
source code
|
|
|
runEventCommand(self,
cmd,
data,
clear=None) |
source code
|
|
|
|
|
|
|
|
|
|
|
sendEvent(self,
evt)
Send event to the system. |
source code
|
|
|
sendHeartbeat(self)
Send a heartbeat event for this monitor. |
source code
|
|
|
|
|
|
|
stripTags(self,
data)
A quick html => plaintext converter that retains and displays
anchor hrefs |
source code
|
|
|
|
|
|
|
|
|
|
Inherited from Products.ZenUtils.ZCmdBase.ZCmdBase :
closeAll ,
closedb ,
findDevice ,
getConnection ,
getContext ,
getDataRoot ,
getDmdObj ,
login ,
logout ,
opendb ,
syncdb ,
zeoConnect
Inherited from Products.ZenUtils.ZenDaemon.ZenDaemon :
becomeDaemon ,
changeUser ,
setupLogging
Inherited from Products.ZenUtils.CmdBase.CmdBase :
buildParser ,
generate_configs ,
generate_xml_table ,
parseOptions ,
pretty_print_config_comment
|
|
lastCommand = None
|
|
addstate = ' INSERT INTO alert_state VALUES (\'%s\', \'%s\', \' ...
|
|
clearstate = ' DELETE FROM alert_state WHERE evid=\'%s\' AN ...
|
|
newsel = ' SELECT %s, evid FROM status WHERE %s AND evid NOT IN ...
|
|
clearsel = ' SELECT %s, h.evid FROM history h, alert_state a W ...
|
|
clearEventSelect = ' SELECT %s FROM history clear, history ev ...
|
Inherited from Products.ZenUtils.ZenDaemon.ZenDaemon :
pidfile
Inherited from Products.ZenUtils.CmdBase.CmdBase :
doesLogging
|