public PerfMonWorker(string machineName, Action <string, List <string>, string> notifier, Action <AdsRuleSetting> resetNotification) { //_notify = notifier; //_resetNotification = resetNotification; _groupedNotifyer = new GroupedNotifyerWorker("PerformanceMonitor.", notifier, null); _machineName = machineName; }
public SenseNodeStatusMonitor(Func <string, IEnumerable <INotifyerDaemon> > notifyerDaemons) : base(notifyerDaemons, "SenseNodeStatusMonitor") { //_ruleMonitors = new Dictionary<string,AdsRuleMonitor>(); _groupedNotifyer = new GroupedNotifyerWorker(MonitorName, Notify, null); }
public SenseTaskMonitor(Func <string, IEnumerable <INotifyerDaemon> > notifyerDaemons) : base(notifyerDaemons, "SenseTaskMonitor") { //_ruleMonitors = new Dictionary<string, AdsRuleMonitor>(); _groupedNotifyer = new GroupedNotifyerWorker(MonitorName, Notify, ModAlertString); }
public QmsMonitor(Func <string, IEnumerable <INotifyerDaemon> > notifyerDaemons) : base(notifyerDaemons, "QmsMonitor") { //_ruleMonitor = new AdsRuleMonitor(new AdsRuleSetting(MonitorName, "MemoryUsed"), RuleTriggered, ResetNotification); _groupedNotifyer = new GroupedNotifyerWorker(MonitorName, Notify, null); }