public CollectorEntry() { ServiceWindows = new ServiceWindows(); ServiceWindows.CreateFromConfig("<serviceWindows/>"); Name = ""; Enabled = true; UniqueId = Guid.NewGuid().ToString(); RemoteAgentHostPort = 8181; PollCount = 0; RefreshCount = 0; GoodStateCount = 0; WarningStateCount = 0; ErrorStateCount = 0; LastGoodState = null; LastWarningState = null; LastErrorState = null; StateHistorySize = 1; ExpandOnStart = true; //Polling overrides EnabledPollingOverride = false; OnlyAllowUpdateOncePerXSec = 1; EnablePollFrequencySliding = false; PollSlideFrequencyAfterFirstRepeatSec = 2; PollSlideFrequencyAfterSecondRepeatSec = 5; PollSlideFrequencyAfterThirdRepeatSec = 30; ConfigVariables = new List <ConfigVariable>(); }
public CollectorHost() { ServiceWindows = new ServiceWindows(); ServiceWindows.CreateFromConfig("<serviceWindows/>"); Name = ""; Enabled = true; UniqueId = Guid.NewGuid().ToString(); ParentCollectorId = ""; CollectorAgents = new List <ICollector>(); RemoteAgentHostPort = GlobalConstants.DefaultRemoteHostPort; Categories = new List <string>(); BlockedCollectorAgentTypes = new List <string>(); Notes = ""; //Stats PollCount = 0; RefreshCount = 0; GoodStateCount = 0; WarningStateCount = 0; ErrorStateCount = 0; LastGoodState = null; LastWarningState = null; LastErrorState = null; //UI ExpandOnStartOption = QuickMon.ExpandOnStartOption.Auto; //Polling overrides EnabledPollingOverride = false; OnlyAllowUpdateOncePerXSec = 1; EnablePollFrequencySliding = false; PollSlideFrequencyAfterFirstRepeatSec = 2; PollSlideFrequencyAfterSecondRepeatSec = 5; PollSlideFrequencyAfterThirdRepeatSec = 30; ConfigVariables = new List <ConfigVariable>(); ActionScripts = new List <ActionScript>(); //security and impersonation RunAs = ""; RunAsEnabled = false; //Alert Texts AlertHeaderText = ""; AlertFooterText = ""; ErrorAlertText = ""; WarningAlertText = ""; GoodAlertText = ""; LastErrorCorrectiveScriptRun = new DateTime(2000, 1, 1); LastWarningCorrectiveScriptRun = new DateTime(2000, 1, 1); LastRestorationScriptRun = new DateTime(2000, 1, 1); TimesErrorCorrectiveScriptRan = 0; TimesWarningCorrectiveScriptRan = 0; TimesRestorationScriptRan = 0; }
public NotifierEntry() { ServiceWindows = new ServiceWindows(); ServiceWindows.CreateFromConfig("<serviceWindows/>"); AlertForCollectors = new List <string>(); AttendedOptionOverride = AttendedOption.AttendedAndUnAttended; Enabled = true; AlertLevel = AlertLevel.Warning; DetailLevel = DetailLevel.Detail; ConfigVariables = new List <ConfigVariable>(); }
public AgentHostEntryBase() { ServiceWindows = new ServiceWindows(); ServiceWindows.CreateFromConfig("<serviceWindows/>"); }