This class provides a way to encapsulate notifiers inside a MonitorPack. It provide ways to do the following:
  • A way to enable/disable a notifier
  • Set what alert levels it will respond to
  • Set what level of detail it will record
  • Specify the custom config for the notifier agent
  • Specify what collectors to respond to (default is all)
  • If supported provides a way to show the viewer UI

public class NotifierEntry
    #region Properties
    public string Name { get; set; }
    public bool Enabled { get; set; }
    public string NotifierRegistrationName { get; set; }
    public INotifier Notifier { get; set; }
    public AlertLevel AlertLevel { get; set; }
    public DetailLevel DetailLevel { get; set; }
    public string Configuration { get; set; }
    public List<string> AlertForCollectors { get; private set; } 

    #region Get/Set configuration
    public static NotifierEntry FromConfig(XmlElement xmlNotifierEntry)
    public string ToConfig()

    public static INotifier CreateNotifierEntry(string assemblyPath, string className)
    public void OpenViewer()
    public override string ToString()

Last edited Sep 12, 2011 at 8:40 AM by RudolfHenning, version 4


No comments yet.