Mapping system notifications to alarms, or polling attributes to decide when something is an alarm, is something that may be different for each deployment.

      Create a notification listener that processes notifications and does whatever with them, e.g. emit a mapped Alarm notifications, with the help of a script. We can use apache BSF to allow executing a script in any of the supported languages (e.g. beanshell, groovy, etc.).

      In addition, by setting up an additional JMX timer, we can be notified at regular intervals in order to effectively poll mbean attributes.

      Since executing a scripting language will have some overhead, we can enqueue the incoming notifications in memory and perform the processing in a background thread.

      The service seems to be quite generic, not strictly related to populating an active alarm table with alarms, rather reacting to system events to apply arbitrary scripting logic.

              dandread1@redhat.com Dimitrios Andreadis
              dandread1@redhat.com Dimitrios Andreadis
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: