/// <summary> /// Return the list of supported Monitors /// </summary> /// <returns></returns> public static List<MonitorDefinition> GetMonitorDefinitions() { List<MonitorDefinition> tmp = new List<MonitorDefinition>(); MonitorDefinition sm; sm = new MonitorDefinition("http"); sm.AddNamePair("memUsage", "MB"); sm.AddNamePair("cpuUsage", "%"); tmp.Add(sm); return tmp; }
/// <summary> /// Return the list of supported Monitors /// </summary> /// <returns></returns> public static List<MonitorDefinition> GetMonitorDefinitions() { List<MonitorDefinition> tmp = new List<MonitorDefinition>(); MonitorDefinition sm; sm = new MonitorDefinition("all"); sm.AddNamePair("result", ""); sm.AddNamePair("status", ""); tmp.Add(sm); return tmp; }
/// <summary> /// Return the list of supported Monitors /// </summary> /// <returns></returns> public static List <MonitorDefinition> GetMonitorDefinitions() { List <MonitorDefinition> tmp = new List <MonitorDefinition>(); MonitorDefinition sm; sm = new MonitorDefinition("all"); sm.AddNamePair("result", ""); sm.AddNamePair("status", ""); tmp.Add(sm); return(tmp); }
/// <summary> /// Return the list of supported Monitors /// </summary> /// <returns></returns> public static List <MonitorDefinition> GetMonitorDefinitions() { List <MonitorDefinition> tmp = new List <MonitorDefinition>(); MonitorDefinition sm; sm = new MonitorDefinition("process"); sm.AddNamePair("memory_usage", "MB"); sm.AddNamePair("cpu_usage", "%"); tmp.Add(sm); return(tmp); }
/// <summary> /// Return the list of supported Monitors /// </summary> /// <returns></returns> public static List<MonitorDefinition> GetMonitorDefinitions() { List<MonitorDefinition> tmp = new List<MonitorDefinition>(); MonitorDefinition sm; sm = new MonitorDefinition("cpu"); sm.AddNamePair("user_value", "%"); sm.AddNamePair("kernel_value", "%"); tmp.Add(sm); sm = new MonitorDefinition("drive"); sm.AddNamePair("result", "MB"); tmp.Add(sm); sm = new MonitorDefinition("memory"); sm.AddNamePair("free_memory", "MB"); sm.AddNamePair("total_memory", "MB"); tmp.Add(sm); return tmp; }
/// <summary> /// Return the list of supported Monitors /// </summary> /// <returns></returns> public static List <MonitorDefinition> GetMonitorDefinitions() { List <MonitorDefinition> tmp = new List <MonitorDefinition>(); MonitorDefinition sm; sm = new MonitorDefinition("cpu"); sm.AddNamePair("user_value", "%"); sm.AddNamePair("kernel_value", "%"); tmp.Add(sm); sm = new MonitorDefinition("drive"); sm.AddNamePair("result", "MB"); tmp.Add(sm); sm = new MonitorDefinition("memory"); sm.AddNamePair("free_memory", "MB"); sm.AddNamePair("total_memory", "MB"); tmp.Add(sm); return(tmp); }