Terminate Alarm по значению trap_varlist
-
-
V etom sluchae pridetsja delat' dva pravila s filter-scriptami. Obschaja posledovatel'nost' shagov:
- V nastrojkah trapov vitaskivaem varbind .1.2.3.4.5 v parameter eventa (pust' budet parametr nomer 2)
- V event policy delaem pravilo dlja generacii alarma: event, naznachennij trapu, i filtering script
$2 == 1kljuch mozno sdelat' na osnove kakogo-nibud' teksta i _%i - chtobi razlichat' alarmi s raznih hostov.
- V event processing policy delaem vtoroe pravilo - dlja terminate alarma. Event i kljuch alarma ukazivaem te-ze, a filtering script delaem kak
$2 == 0teper' pervoe pravilo budet srabativat', esli nash varbind raven 1, a vtoroe - esli on raven 0.
-
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login