NetXMS Support Forum

English Support => General Support => Topic started by: lukexjin on April 03, 2024, 06:29:58 AM

Title: how to Filter the alerts reported by the agent
Post by: lukexjin on April 03, 2024, 06:29:58 AM
I'm only interested in major alerts such as node down and ifdown. I don't want the agent to report alerts such as package installation. What should I do
Title: Re: how to Filter the alerts reported by the agent
Post by: Filipp Sudanov on April 03, 2024, 10:50:46 AM
Check configuration -> Event processing policy. 

The way NetXMS is built is that when something happenins (interface went down, threshold reached, etc...) it creates events (log of these can be seen in Event Log). Reaction to events is defined in Event processing policy (make sure you click "save" button when working with it).
Title: Re: how to Filter the alerts reported by the agent
Post by: lukexjin on April 03, 2024, 11:22:56 AM
Quote from: Filipp Sudanov on April 03, 2024, 10:50:46 AMCheck configuration -> Event processing policy.
The way NetXMS is built is that when something happenins (interface went down, threshold reached, etc...) it creates events (log of these can be seen in Event Log). Reaction to events is defined in Event processing policy (make sure you click "save" button when working with it).
Thank you brother, yes, here is the configuration;
One more question, how do I remove old history alerts if I disable these policies midway through? (history alert package install update etc)
Title: Re: how to Filter the alerts reported by the agent
Post by: lukexjin on April 03, 2024, 11:27:50 AM
Netxms client show me a tip:only 4096 most recent alarms shown
how to config this alarsm threshold?
or how to clear  the alarms I  don't care about
bro
Title: Re: how to Filter the alerts reported by the agent
Post by: Alex Kirhenshtein on April 03, 2024, 11:30:25 AM
Quote from: lukexjin on April 03, 2024, 11:27:50 AMNetxms client show me a tip:only 4096 most recent alarms shown
how to config this alarsm threshold?
or how to clear  the alarms I  don't care about
bro


right click -> terminate
Title: Re: how to Filter the alerts reported by the agent
Post by: Filipp Sudanov on April 03, 2024, 11:32:09 AM
You can select many alarms at once and select "Terminate" from right-click menu. And disabling event processing policy rules that you don't need would prevent these alarms from happening in the future.
Title: Re: how to Filter the alerts reported by the agent
Post by: lukexjin on April 03, 2024, 11:34:25 AM
Quote from: Alex Kirhenshtein on April 03, 2024, 11:30:25 AM
Quote from: lukexjin on April 03, 2024, 11:27:50 AMNetxms client show me a tip:only 4096 most recent alarms shown
how to config this alarsm threshold?
or how to clear  the alarms I  don't care about
bro


right click -> terminate
thanks, right click -> terminate is stand for delete these alarms in database?
Title: Re: how to Filter the alerts reported by the agent
Post by: lukexjin on April 03, 2024, 11:58:19 AM
already terminated alarms,just show 2 menu(copy to clipboard,Export selection to CSV..),
how to delete them ,bro
Title: Re: how to Filter the alerts reported by the agent
Post by: Filipp Sudanov on April 03, 2024, 11:58:21 AM
The are not instantly deleted and can be still viewed in Alarm Log. Deletion will happen by housekeeper after 180 days (can be configured in Configuration -> Server Configuration, parameter name "Alarm.HistoryRetentionTime")