|
|
|
[
Permlink
| « Hide
]
Joseph Marques - 15/Sep/08 09:27 AM
ok, i've reproduced this. investigating root cause now.
duplicates showed up after the agent was bounced once while the server was still up. there was a bug in the method that unloaded/reloaded alert conditions for each agent.
rev1458 - was not passing the agentId to the remove method, which defaults to 0 (so as not to break backward compatibility to some old methods we're keeping around);
also, was twice passing the alertConditionId instead of the agentId to the remove method, which obviously will randomly work if they are equal but fail to remove the appropriate cache elements if they are not; QA Verified -- no longer seeing duplicate events when restarting agent.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||