Пример #1
0
 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);
 }
Пример #4
0
 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);
 }