public Monitor(Agent _agent)
        {
            agent = _agent;
            maxMetricWidth = 0;

            metrics = new List<Metric>();
            monitorsDefinitions = new List<MonitorDefinition>();
        }
 public GlobalMonitor(Agent _agent)
     : base(_agent)
 {
     monitorsDefinitions.AddRange(GetMonitorDefinitions());
 }
 public ExternalMonitor(Agent _agent)
     : base(_agent)
 {
     // Add the supported monitors
     monitorsDefinitions.AddRange(GetMonitorDefinitions());
 }
 public ProcessMonitor(Agent _agent)
     : base(_agent)
 {
     // Get the supported monitors
     monitorsDefinitions.AddRange(GetMonitorDefinitions());
 }
 public FullpageMonitor(Agent _agent)
     : base(_agent)
 {
     monitorsDefinitions.AddRange(GetMonitorDefinitions());
 }
        /// <summary>
        /// List the external agent monitors
        /// </summary>
        private static void ListExternalAgents(AgentList agentList)
        {
            // Add a dummy agent
            Agent dummy = new Agent();
            dummy.Id = "9999";
            dummy.Name = "EXTERNAL";
            agentList.Add(dummy);

            dummy.GetExternalMonitors(apiKey, client, argMonitors);
        }
        /// <summary>
        /// List the fullpage monitors
        /// </summary>
        private static void ListFullpageAgents(AgentList agentList)
        {
            // Add a dummy agent
            Agent dummy = new Agent();
            dummy.Id = "9999";
            dummy.Name = "FULLPAGE";
            agentList.Add(dummy);

            dummy.GetFullpageMonitors(apiKey, client, argMonitors);
        }