Eventprocessing does not delete alarm

Started by knut4linux, September 12, 2018, 08:33:32 PM

Previous topic - Next topic

knut4linux

Hi @all,
i have installed the actual release and setup up a custom eventprocessing policy.
First i have create 2 Custom Events. Once is set to "warning", the other one to normal. I use this events for a datacollection with netxms agent and also checked "write to eventlog".

My Policy:
Activate Alarm
If Event is one of the following "custom_warning" then genrate Alarm ? with key "custom_warning_%i"

Delete Alarm
If Event is one of the following "custom_normal" then stop alarm with key "custom_warning_%i"


Additional
In the detail explorer i can see the "Events" on current state tab, depending on your status. The Alarm will generate if treshold reach "waring" but it will not terminate if treshold reach "normal".

Whatever, I noticed, however, that whenever I load the detail explorer, the system displays following message:



  • Could not syny alarm list: Invalid thread access. Invalid thread access


And now?
I acknowledge the message with "ok", switch to another tab e.g last values and back to alarm, and see the alarm generated from my eventprocessing policy.

I dont know, what i am doing wrong. In my opinion i have set up my event policy similar to current server documentation.
Have anyone an idea?

Thanks in Advanced for help and sorry for my bad english.
[/size]

knut4linux

Hey,
today i'am did a clean reinstall and it works now. I dont know what was happen.

Many thanks to Victor for this great software.

Nice day to @ll.

dosura

 :-\ hello have the same probelem with invalid thread acces thing but would to avoid the cleaningand reinstalling process what can i do  :-\

Victor Kirhenshtein

Quote from: dosura on July 12, 2021, 04:46:23 PM
:-\ hello have the same probelem with invalid thread acces thing but would to avoid the cleaningand reinstalling process what can i do  :-\

Doesn't seem to be same problem. What version you are using? When did you get invalid thread access error?

Best regards,
Victor

dosura

#4
used net xms 2.2.15.2 when i refreshed alarm list got an errror who said "synchronize alarm list has encountered a probleme .
Cannot synchronize alarm list :invalid thread access"

Victor Kirhenshtein

2.2.15 is an extremely old version. I highly recommend upgrading to current 3.8, there are very good chance that this issue is long fixed.

Best regards,
Victor