mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 14:27:26 +01:00
c57800113b
-Adding control domain memory usage alerts Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
751 lines
35 KiB
C#
751 lines
35 KiB
C#
namespace XenAdmin.SettingsPanels
|
|
{
|
|
partial class PerfmonAlertEditPage
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Component Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PerfmonAlertEditPage));
|
|
this.AlertIntervalLabel = new System.Windows.Forms.Label();
|
|
this.AlertIntervalMinutesLabel = new System.Windows.Forms.Label();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.nudAlertInterval = new XenAdmin.SettingsPanels.AlertNumericUpDown();
|
|
this.Dom0MemoryUsageGroupBox = new XenAdmin.Controls.DecentGroupBox();
|
|
this.nudDom0MemUsage = new XenAdmin.SettingsPanels.AlertNumericUpDown();
|
|
this.Dom0MemoryDurationThresholdLabel = new System.Windows.Forms.Label();
|
|
this.nudDom0MemoryDurationThreshold = new XenAdmin.SettingsPanels.AlertNumericUpDown();
|
|
this.Dom0MemoryUsagePercentLabel = new System.Windows.Forms.Label();
|
|
this.Dom0MemoryAlertCheckBox = new XenAdmin.SettingsPanels.AlertCheckBox();
|
|
this.dom0MemoryMinutesLabel = new System.Windows.Forms.Label();
|
|
this.dom0MemoryPercentLabel = new System.Windows.Forms.Label();
|
|
this.MemoryGroupBox = new XenAdmin.Controls.DecentGroupBox();
|
|
this.memoryMinutesLabel = new System.Windows.Forms.Label();
|
|
this.nudMemoryDurationThreshold = new XenAdmin.SettingsPanels.AlertNumericUpDown();
|
|
this.memoryUnitsLabel = new System.Windows.Forms.Label();
|
|
this.nudMemoryUsage = new XenAdmin.SettingsPanels.AlertNumericUpDown();
|
|
this.MemoryAlertCheckBox = new XenAdmin.SettingsPanels.AlertCheckBox();
|
|
this.memoryDurationThresholdLabel = new System.Windows.Forms.Label();
|
|
this.memoryUsageLabel = new System.Windows.Forms.Label();
|
|
this.SrGroupBox = new XenAdmin.Controls.DecentGroupBox();
|
|
this.srMinutesLabel = new System.Windows.Forms.Label();
|
|
this.nudSrMinutes = new XenAdmin.SettingsPanels.AlertNumericUpDown();
|
|
this.srUnitsLabel = new System.Windows.Forms.Label();
|
|
this.nudSrUsage = new XenAdmin.SettingsPanels.AlertNumericUpDown();
|
|
this.SrAlertCheckBox = new XenAdmin.SettingsPanels.AlertCheckBox();
|
|
this.SrDurationThresholdLabel = new System.Windows.Forms.Label();
|
|
this.SrUsageLabel = new System.Windows.Forms.Label();
|
|
this.DiskGroupBox = new XenAdmin.Controls.DecentGroupBox();
|
|
this.DiskMinutesLabel = new System.Windows.Forms.Label();
|
|
this.nudDiskDurationThreshold = new XenAdmin.SettingsPanels.AlertNumericUpDown();
|
|
this.DiskPercentLabel = new System.Windows.Forms.Label();
|
|
this.nudDiskUsagePercent = new XenAdmin.SettingsPanels.AlertNumericUpDown();
|
|
this.DiskAlertCheckBox = new XenAdmin.SettingsPanels.AlertCheckBox();
|
|
this.DiskDurationThresholdLabel = new System.Windows.Forms.Label();
|
|
this.DiskUsagePercentLabel = new System.Windows.Forms.Label();
|
|
this.NetGroupBox = new XenAdmin.Controls.DecentGroupBox();
|
|
this.NetPercentLabel = new System.Windows.Forms.Label();
|
|
this.nudNetUsagePercent = new XenAdmin.SettingsPanels.AlertNumericUpDown();
|
|
this.NetMinutesLabel = new System.Windows.Forms.Label();
|
|
this.nudNetDurationThreshold = new XenAdmin.SettingsPanels.AlertNumericUpDown();
|
|
this.NetAlertCheckBox = new XenAdmin.SettingsPanels.AlertCheckBox();
|
|
this.NetDurationThresholdLabel = new System.Windows.Forms.Label();
|
|
this.NetUsagePercentLabel = new System.Windows.Forms.Label();
|
|
this.CpuGroupBox = new XenAdmin.Controls.DecentGroupBox();
|
|
this.cpuPercentLabel = new System.Windows.Forms.Label();
|
|
this.nudCPUUsagePercent = new XenAdmin.SettingsPanels.AlertNumericUpDown();
|
|
this.cpuMinutesLabel = new System.Windows.Forms.Label();
|
|
this.nudCPUDurationThreshold = new XenAdmin.SettingsPanels.AlertNumericUpDown();
|
|
this.CPUAlertCheckBox = new XenAdmin.SettingsPanels.AlertCheckBox();
|
|
this.CPUUsagePercentLabel = new System.Windows.Forms.Label();
|
|
this.CPUDurationThresholdLabel = new System.Windows.Forms.Label();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudAlertInterval)).BeginInit();
|
|
this.Dom0MemoryUsageGroupBox.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudDom0MemUsage)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudDom0MemoryDurationThreshold)).BeginInit();
|
|
this.MemoryGroupBox.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudMemoryDurationThreshold)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudMemoryUsage)).BeginInit();
|
|
this.SrGroupBox.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudSrMinutes)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudSrUsage)).BeginInit();
|
|
this.DiskGroupBox.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudDiskDurationThreshold)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudDiskUsagePercent)).BeginInit();
|
|
this.NetGroupBox.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudNetUsagePercent)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudNetDurationThreshold)).BeginInit();
|
|
this.CpuGroupBox.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudCPUUsagePercent)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudCPUDurationThreshold)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// AlertIntervalLabel
|
|
//
|
|
resources.ApplyResources(this.AlertIntervalLabel, "AlertIntervalLabel");
|
|
this.AlertIntervalLabel.Name = "AlertIntervalLabel";
|
|
//
|
|
// AlertIntervalMinutesLabel
|
|
//
|
|
resources.ApplyResources(this.AlertIntervalMinutesLabel, "AlertIntervalMinutesLabel");
|
|
this.AlertIntervalMinutesLabel.Name = "AlertIntervalMinutesLabel";
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
resources.ApplyResources(this.tableLayoutPanel1, "tableLayoutPanel1");
|
|
this.tableLayoutPanel1.Controls.Add(this.Dom0MemoryUsageGroupBox, 0, 5);
|
|
this.tableLayoutPanel1.Controls.Add(this.MemoryGroupBox, 0, 3);
|
|
this.tableLayoutPanel1.Controls.Add(this.SrGroupBox, 0, 4);
|
|
this.tableLayoutPanel1.Controls.Add(this.DiskGroupBox, 0, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.NetGroupBox, 0, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.CpuGroupBox, 0, 0);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
//
|
|
// label1
|
|
//
|
|
resources.ApplyResources(this.label1, "label1");
|
|
this.label1.Name = "label1";
|
|
//
|
|
// nudAlertInterval
|
|
//
|
|
this.nudAlertInterval.Increment = new decimal(new int[] {
|
|
5,
|
|
0,
|
|
0,
|
|
0});
|
|
resources.ApplyResources(this.nudAlertInterval, "nudAlertInterval");
|
|
this.nudAlertInterval.Maximum = new decimal(new int[] {
|
|
86400,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudAlertInterval.Minimum = new decimal(new int[] {
|
|
5,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudAlertInterval.Name = "nudAlertInterval";
|
|
this.nudAlertInterval.Value = new decimal(new int[] {
|
|
60,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// Dom0MemoryUsageGroupBox
|
|
//
|
|
this.Dom0MemoryUsageGroupBox.Controls.Add(this.nudDom0MemUsage);
|
|
this.Dom0MemoryUsageGroupBox.Controls.Add(this.Dom0MemoryDurationThresholdLabel);
|
|
this.Dom0MemoryUsageGroupBox.Controls.Add(this.nudDom0MemoryDurationThreshold);
|
|
this.Dom0MemoryUsageGroupBox.Controls.Add(this.Dom0MemoryUsagePercentLabel);
|
|
this.Dom0MemoryUsageGroupBox.Controls.Add(this.Dom0MemoryAlertCheckBox);
|
|
this.Dom0MemoryUsageGroupBox.Controls.Add(this.dom0MemoryMinutesLabel);
|
|
this.Dom0MemoryUsageGroupBox.Controls.Add(this.dom0MemoryPercentLabel);
|
|
resources.ApplyResources(this.Dom0MemoryUsageGroupBox, "Dom0MemoryUsageGroupBox");
|
|
this.Dom0MemoryUsageGroupBox.Name = "Dom0MemoryUsageGroupBox";
|
|
this.Dom0MemoryUsageGroupBox.TabStop = false;
|
|
//
|
|
// nudDom0MemUsage
|
|
//
|
|
this.nudDom0MemUsage.Increment = new decimal(new int[] {
|
|
5,
|
|
0,
|
|
0,
|
|
0});
|
|
resources.ApplyResources(this.nudDom0MemUsage, "nudDom0MemUsage");
|
|
this.nudDom0MemUsage.Minimum = new decimal(new int[] {
|
|
5,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudDom0MemUsage.Name = "nudDom0MemUsage";
|
|
this.nudDom0MemUsage.Value = new decimal(new int[] {
|
|
95,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// Dom0MemoryDurationThresholdLabel
|
|
//
|
|
resources.ApplyResources(this.Dom0MemoryDurationThresholdLabel, "Dom0MemoryDurationThresholdLabel");
|
|
this.Dom0MemoryDurationThresholdLabel.Name = "Dom0MemoryDurationThresholdLabel";
|
|
//
|
|
// nudDom0MemoryDurationThreshold
|
|
//
|
|
resources.ApplyResources(this.nudDom0MemoryDurationThreshold, "nudDom0MemoryDurationThreshold");
|
|
this.nudDom0MemoryDurationThreshold.Maximum = new decimal(new int[] {
|
|
60,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudDom0MemoryDurationThreshold.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudDom0MemoryDurationThreshold.Name = "nudDom0MemoryDurationThreshold";
|
|
this.nudDom0MemoryDurationThreshold.Value = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// Dom0MemoryUsagePercentLabel
|
|
//
|
|
resources.ApplyResources(this.Dom0MemoryUsagePercentLabel, "Dom0MemoryUsagePercentLabel");
|
|
this.Dom0MemoryUsagePercentLabel.Name = "Dom0MemoryUsagePercentLabel";
|
|
//
|
|
// Dom0MemoryAlertCheckBox
|
|
//
|
|
resources.ApplyResources(this.Dom0MemoryAlertCheckBox, "Dom0MemoryAlertCheckBox");
|
|
this.Dom0MemoryAlertCheckBox.BackColor = System.Drawing.Color.White;
|
|
this.Dom0MemoryAlertCheckBox.Name = "Dom0MemoryAlertCheckBox";
|
|
this.Dom0MemoryAlertCheckBox.UseVisualStyleBackColor = false;
|
|
//
|
|
// dom0MemoryMinutesLabel
|
|
//
|
|
resources.ApplyResources(this.dom0MemoryMinutesLabel, "dom0MemoryMinutesLabel");
|
|
this.dom0MemoryMinutesLabel.Name = "dom0MemoryMinutesLabel";
|
|
//
|
|
// dom0MemoryPercentLabel
|
|
//
|
|
resources.ApplyResources(this.dom0MemoryPercentLabel, "dom0MemoryPercentLabel");
|
|
this.dom0MemoryPercentLabel.Name = "dom0MemoryPercentLabel";
|
|
//
|
|
// MemoryGroupBox
|
|
//
|
|
this.MemoryGroupBox.Controls.Add(this.memoryMinutesLabel);
|
|
this.MemoryGroupBox.Controls.Add(this.nudMemoryDurationThreshold);
|
|
this.MemoryGroupBox.Controls.Add(this.memoryUnitsLabel);
|
|
this.MemoryGroupBox.Controls.Add(this.nudMemoryUsage);
|
|
this.MemoryGroupBox.Controls.Add(this.MemoryAlertCheckBox);
|
|
this.MemoryGroupBox.Controls.Add(this.memoryDurationThresholdLabel);
|
|
this.MemoryGroupBox.Controls.Add(this.memoryUsageLabel);
|
|
resources.ApplyResources(this.MemoryGroupBox, "MemoryGroupBox");
|
|
this.MemoryGroupBox.Name = "MemoryGroupBox";
|
|
this.MemoryGroupBox.TabStop = false;
|
|
//
|
|
// memoryMinutesLabel
|
|
//
|
|
resources.ApplyResources(this.memoryMinutesLabel, "memoryMinutesLabel");
|
|
this.memoryMinutesLabel.Name = "memoryMinutesLabel";
|
|
//
|
|
// nudMemoryDurationThreshold
|
|
//
|
|
resources.ApplyResources(this.nudMemoryDurationThreshold, "nudMemoryDurationThreshold");
|
|
this.nudMemoryDurationThreshold.Maximum = new decimal(new int[] {
|
|
60,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudMemoryDurationThreshold.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudMemoryDurationThreshold.Name = "nudMemoryDurationThreshold";
|
|
this.nudMemoryDurationThreshold.Value = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// memoryUnitsLabel
|
|
//
|
|
resources.ApplyResources(this.memoryUnitsLabel, "memoryUnitsLabel");
|
|
this.memoryUnitsLabel.Name = "memoryUnitsLabel";
|
|
//
|
|
// nudMemoryUsage
|
|
//
|
|
this.nudMemoryUsage.Increment = new decimal(new int[] {
|
|
5,
|
|
0,
|
|
0,
|
|
0});
|
|
resources.ApplyResources(this.nudMemoryUsage, "nudMemoryUsage");
|
|
this.nudMemoryUsage.Maximum = new decimal(new int[] {
|
|
-1,
|
|
2147483647,
|
|
0,
|
|
0});
|
|
this.nudMemoryUsage.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudMemoryUsage.Name = "nudMemoryUsage";
|
|
this.nudMemoryUsage.Value = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// MemoryAlertCheckBox
|
|
//
|
|
resources.ApplyResources(this.MemoryAlertCheckBox, "MemoryAlertCheckBox");
|
|
this.MemoryAlertCheckBox.BackColor = System.Drawing.Color.White;
|
|
this.MemoryAlertCheckBox.Name = "MemoryAlertCheckBox";
|
|
this.MemoryAlertCheckBox.UseVisualStyleBackColor = false;
|
|
//
|
|
// memoryDurationThresholdLabel
|
|
//
|
|
resources.ApplyResources(this.memoryDurationThresholdLabel, "memoryDurationThresholdLabel");
|
|
this.memoryDurationThresholdLabel.Name = "memoryDurationThresholdLabel";
|
|
//
|
|
// memoryUsageLabel
|
|
//
|
|
resources.ApplyResources(this.memoryUsageLabel, "memoryUsageLabel");
|
|
this.memoryUsageLabel.Name = "memoryUsageLabel";
|
|
//
|
|
// SrGroupBox
|
|
//
|
|
this.SrGroupBox.Controls.Add(this.srMinutesLabel);
|
|
this.SrGroupBox.Controls.Add(this.nudSrMinutes);
|
|
this.SrGroupBox.Controls.Add(this.srUnitsLabel);
|
|
this.SrGroupBox.Controls.Add(this.nudSrUsage);
|
|
this.SrGroupBox.Controls.Add(this.SrAlertCheckBox);
|
|
this.SrGroupBox.Controls.Add(this.SrDurationThresholdLabel);
|
|
this.SrGroupBox.Controls.Add(this.SrUsageLabel);
|
|
resources.ApplyResources(this.SrGroupBox, "SrGroupBox");
|
|
this.SrGroupBox.Name = "SrGroupBox";
|
|
this.SrGroupBox.TabStop = false;
|
|
//
|
|
// srMinutesLabel
|
|
//
|
|
resources.ApplyResources(this.srMinutesLabel, "srMinutesLabel");
|
|
this.srMinutesLabel.Name = "srMinutesLabel";
|
|
//
|
|
// nudSrMinutes
|
|
//
|
|
resources.ApplyResources(this.nudSrMinutes, "nudSrMinutes");
|
|
this.nudSrMinutes.Maximum = new decimal(new int[] {
|
|
60,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudSrMinutes.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudSrMinutes.Name = "nudSrMinutes";
|
|
this.nudSrMinutes.Value = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// srUnitsLabel
|
|
//
|
|
resources.ApplyResources(this.srUnitsLabel, "srUnitsLabel");
|
|
this.srUnitsLabel.Name = "srUnitsLabel";
|
|
//
|
|
// nudSrUsage
|
|
//
|
|
this.nudSrUsage.Increment = new decimal(new int[] {
|
|
5,
|
|
0,
|
|
0,
|
|
0});
|
|
resources.ApplyResources(this.nudSrUsage, "nudSrUsage");
|
|
this.nudSrUsage.Maximum = new decimal(new int[] {
|
|
-1,
|
|
2147483647,
|
|
0,
|
|
0});
|
|
this.nudSrUsage.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudSrUsage.Name = "nudSrUsage";
|
|
this.nudSrUsage.Value = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// SrAlertCheckBox
|
|
//
|
|
resources.ApplyResources(this.SrAlertCheckBox, "SrAlertCheckBox");
|
|
this.SrAlertCheckBox.BackColor = System.Drawing.Color.White;
|
|
this.SrAlertCheckBox.Name = "SrAlertCheckBox";
|
|
this.SrAlertCheckBox.UseVisualStyleBackColor = false;
|
|
//
|
|
// SrDurationThresholdLabel
|
|
//
|
|
resources.ApplyResources(this.SrDurationThresholdLabel, "SrDurationThresholdLabel");
|
|
this.SrDurationThresholdLabel.Name = "SrDurationThresholdLabel";
|
|
//
|
|
// SrUsageLabel
|
|
//
|
|
resources.ApplyResources(this.SrUsageLabel, "SrUsageLabel");
|
|
this.SrUsageLabel.Name = "SrUsageLabel";
|
|
//
|
|
// DiskGroupBox
|
|
//
|
|
this.DiskGroupBox.Controls.Add(this.DiskMinutesLabel);
|
|
this.DiskGroupBox.Controls.Add(this.nudDiskDurationThreshold);
|
|
this.DiskGroupBox.Controls.Add(this.DiskPercentLabel);
|
|
this.DiskGroupBox.Controls.Add(this.nudDiskUsagePercent);
|
|
this.DiskGroupBox.Controls.Add(this.DiskAlertCheckBox);
|
|
this.DiskGroupBox.Controls.Add(this.DiskDurationThresholdLabel);
|
|
this.DiskGroupBox.Controls.Add(this.DiskUsagePercentLabel);
|
|
resources.ApplyResources(this.DiskGroupBox, "DiskGroupBox");
|
|
this.DiskGroupBox.Name = "DiskGroupBox";
|
|
this.DiskGroupBox.TabStop = false;
|
|
//
|
|
// DiskMinutesLabel
|
|
//
|
|
resources.ApplyResources(this.DiskMinutesLabel, "DiskMinutesLabel");
|
|
this.DiskMinutesLabel.Name = "DiskMinutesLabel";
|
|
//
|
|
// nudDiskDurationThreshold
|
|
//
|
|
resources.ApplyResources(this.nudDiskDurationThreshold, "nudDiskDurationThreshold");
|
|
this.nudDiskDurationThreshold.Maximum = new decimal(new int[] {
|
|
60,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudDiskDurationThreshold.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudDiskDurationThreshold.Name = "nudDiskDurationThreshold";
|
|
this.nudDiskDurationThreshold.Value = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// DiskPercentLabel
|
|
//
|
|
resources.ApplyResources(this.DiskPercentLabel, "DiskPercentLabel");
|
|
this.DiskPercentLabel.Name = "DiskPercentLabel";
|
|
//
|
|
// nudDiskUsagePercent
|
|
//
|
|
this.nudDiskUsagePercent.Increment = new decimal(new int[] {
|
|
5,
|
|
0,
|
|
0,
|
|
0});
|
|
resources.ApplyResources(this.nudDiskUsagePercent, "nudDiskUsagePercent");
|
|
this.nudDiskUsagePercent.Maximum = new decimal(new int[] {
|
|
-1,
|
|
2147483647,
|
|
0,
|
|
0});
|
|
this.nudDiskUsagePercent.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudDiskUsagePercent.Name = "nudDiskUsagePercent";
|
|
this.nudDiskUsagePercent.Value = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// DiskAlertCheckBox
|
|
//
|
|
resources.ApplyResources(this.DiskAlertCheckBox, "DiskAlertCheckBox");
|
|
this.DiskAlertCheckBox.BackColor = System.Drawing.Color.White;
|
|
this.DiskAlertCheckBox.Name = "DiskAlertCheckBox";
|
|
this.DiskAlertCheckBox.UseVisualStyleBackColor = false;
|
|
//
|
|
// DiskDurationThresholdLabel
|
|
//
|
|
resources.ApplyResources(this.DiskDurationThresholdLabel, "DiskDurationThresholdLabel");
|
|
this.DiskDurationThresholdLabel.Name = "DiskDurationThresholdLabel";
|
|
//
|
|
// DiskUsagePercentLabel
|
|
//
|
|
resources.ApplyResources(this.DiskUsagePercentLabel, "DiskUsagePercentLabel");
|
|
this.DiskUsagePercentLabel.Name = "DiskUsagePercentLabel";
|
|
//
|
|
// NetGroupBox
|
|
//
|
|
this.NetGroupBox.Controls.Add(this.NetPercentLabel);
|
|
this.NetGroupBox.Controls.Add(this.nudNetUsagePercent);
|
|
this.NetGroupBox.Controls.Add(this.NetMinutesLabel);
|
|
this.NetGroupBox.Controls.Add(this.nudNetDurationThreshold);
|
|
this.NetGroupBox.Controls.Add(this.NetAlertCheckBox);
|
|
this.NetGroupBox.Controls.Add(this.NetDurationThresholdLabel);
|
|
this.NetGroupBox.Controls.Add(this.NetUsagePercentLabel);
|
|
resources.ApplyResources(this.NetGroupBox, "NetGroupBox");
|
|
this.NetGroupBox.Name = "NetGroupBox";
|
|
this.NetGroupBox.TabStop = false;
|
|
//
|
|
// NetPercentLabel
|
|
//
|
|
resources.ApplyResources(this.NetPercentLabel, "NetPercentLabel");
|
|
this.NetPercentLabel.Name = "NetPercentLabel";
|
|
//
|
|
// nudNetUsagePercent
|
|
//
|
|
resources.ApplyResources(this.nudNetUsagePercent, "nudNetUsagePercent");
|
|
this.nudNetUsagePercent.Maximum = new decimal(new int[] {
|
|
-1,
|
|
2147483647,
|
|
0,
|
|
0});
|
|
this.nudNetUsagePercent.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudNetUsagePercent.Name = "nudNetUsagePercent";
|
|
this.nudNetUsagePercent.Value = new decimal(new int[] {
|
|
100,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// NetMinutesLabel
|
|
//
|
|
resources.ApplyResources(this.NetMinutesLabel, "NetMinutesLabel");
|
|
this.NetMinutesLabel.Name = "NetMinutesLabel";
|
|
//
|
|
// nudNetDurationThreshold
|
|
//
|
|
resources.ApplyResources(this.nudNetDurationThreshold, "nudNetDurationThreshold");
|
|
this.nudNetDurationThreshold.Maximum = new decimal(new int[] {
|
|
60,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudNetDurationThreshold.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudNetDurationThreshold.Name = "nudNetDurationThreshold";
|
|
this.nudNetDurationThreshold.Value = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// NetAlertCheckBox
|
|
//
|
|
resources.ApplyResources(this.NetAlertCheckBox, "NetAlertCheckBox");
|
|
this.NetAlertCheckBox.BackColor = System.Drawing.Color.White;
|
|
this.NetAlertCheckBox.Name = "NetAlertCheckBox";
|
|
this.NetAlertCheckBox.UseVisualStyleBackColor = false;
|
|
//
|
|
// NetDurationThresholdLabel
|
|
//
|
|
resources.ApplyResources(this.NetDurationThresholdLabel, "NetDurationThresholdLabel");
|
|
this.NetDurationThresholdLabel.Name = "NetDurationThresholdLabel";
|
|
//
|
|
// NetUsagePercentLabel
|
|
//
|
|
resources.ApplyResources(this.NetUsagePercentLabel, "NetUsagePercentLabel");
|
|
this.NetUsagePercentLabel.Name = "NetUsagePercentLabel";
|
|
//
|
|
// CpuGroupBox
|
|
//
|
|
this.CpuGroupBox.Controls.Add(this.cpuPercentLabel);
|
|
this.CpuGroupBox.Controls.Add(this.nudCPUUsagePercent);
|
|
this.CpuGroupBox.Controls.Add(this.cpuMinutesLabel);
|
|
this.CpuGroupBox.Controls.Add(this.nudCPUDurationThreshold);
|
|
this.CpuGroupBox.Controls.Add(this.CPUAlertCheckBox);
|
|
this.CpuGroupBox.Controls.Add(this.CPUUsagePercentLabel);
|
|
this.CpuGroupBox.Controls.Add(this.CPUDurationThresholdLabel);
|
|
resources.ApplyResources(this.CpuGroupBox, "CpuGroupBox");
|
|
this.CpuGroupBox.Name = "CpuGroupBox";
|
|
this.CpuGroupBox.TabStop = false;
|
|
//
|
|
// cpuPercentLabel
|
|
//
|
|
resources.ApplyResources(this.cpuPercentLabel, "cpuPercentLabel");
|
|
this.cpuPercentLabel.Name = "cpuPercentLabel";
|
|
//
|
|
// nudCPUUsagePercent
|
|
//
|
|
this.nudCPUUsagePercent.Increment = new decimal(new int[] {
|
|
5,
|
|
0,
|
|
0,
|
|
0});
|
|
resources.ApplyResources(this.nudCPUUsagePercent, "nudCPUUsagePercent");
|
|
this.nudCPUUsagePercent.Minimum = new decimal(new int[] {
|
|
5,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudCPUUsagePercent.Name = "nudCPUUsagePercent";
|
|
this.nudCPUUsagePercent.Value = new decimal(new int[] {
|
|
50,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// cpuMinutesLabel
|
|
//
|
|
resources.ApplyResources(this.cpuMinutesLabel, "cpuMinutesLabel");
|
|
this.cpuMinutesLabel.Name = "cpuMinutesLabel";
|
|
//
|
|
// nudCPUDurationThreshold
|
|
//
|
|
resources.ApplyResources(this.nudCPUDurationThreshold, "nudCPUDurationThreshold");
|
|
this.nudCPUDurationThreshold.Maximum = new decimal(new int[] {
|
|
60,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudCPUDurationThreshold.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.nudCPUDurationThreshold.Name = "nudCPUDurationThreshold";
|
|
this.nudCPUDurationThreshold.Value = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// CPUAlertCheckBox
|
|
//
|
|
resources.ApplyResources(this.CPUAlertCheckBox, "CPUAlertCheckBox");
|
|
this.CPUAlertCheckBox.BackColor = System.Drawing.Color.White;
|
|
this.CPUAlertCheckBox.Name = "CPUAlertCheckBox";
|
|
this.CPUAlertCheckBox.UseVisualStyleBackColor = false;
|
|
//
|
|
// CPUUsagePercentLabel
|
|
//
|
|
resources.ApplyResources(this.CPUUsagePercentLabel, "CPUUsagePercentLabel");
|
|
this.CPUUsagePercentLabel.Name = "CPUUsagePercentLabel";
|
|
//
|
|
// CPUDurationThresholdLabel
|
|
//
|
|
resources.ApplyResources(this.CPUDurationThresholdLabel, "CPUDurationThresholdLabel");
|
|
this.CPUDurationThresholdLabel.Name = "CPUDurationThresholdLabel";
|
|
//
|
|
// PerfmonAlertEditPage
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.AlertIntervalLabel);
|
|
this.Controls.Add(this.nudAlertInterval);
|
|
this.Controls.Add(this.AlertIntervalMinutesLabel);
|
|
this.Controls.Add(this.tableLayoutPanel1);
|
|
this.Name = "PerfmonAlertEditPage";
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.nudAlertInterval)).EndInit();
|
|
this.Dom0MemoryUsageGroupBox.ResumeLayout(false);
|
|
this.Dom0MemoryUsageGroupBox.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudDom0MemUsage)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudDom0MemoryDurationThreshold)).EndInit();
|
|
this.MemoryGroupBox.ResumeLayout(false);
|
|
this.MemoryGroupBox.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudMemoryDurationThreshold)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudMemoryUsage)).EndInit();
|
|
this.SrGroupBox.ResumeLayout(false);
|
|
this.SrGroupBox.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudSrMinutes)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudSrUsage)).EndInit();
|
|
this.DiskGroupBox.ResumeLayout(false);
|
|
this.DiskGroupBox.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudDiskDurationThreshold)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudDiskUsagePercent)).EndInit();
|
|
this.NetGroupBox.ResumeLayout(false);
|
|
this.NetGroupBox.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudNetUsagePercent)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudNetDurationThreshold)).EndInit();
|
|
this.CpuGroupBox.ResumeLayout(false);
|
|
this.CpuGroupBox.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudCPUUsagePercent)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.nudCPUDurationThreshold)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label AlertIntervalLabel;
|
|
private System.Windows.Forms.Label AlertIntervalMinutesLabel;
|
|
private XenAdmin.SettingsPanels.AlertNumericUpDown nudAlertInterval;
|
|
private XenAdmin.SettingsPanels.AlertNumericUpDown nudDiskDurationThreshold;
|
|
private System.Windows.Forms.Label DiskMinutesLabel;
|
|
private XenAdmin.SettingsPanels.AlertNumericUpDown nudDiskUsagePercent;
|
|
private System.Windows.Forms.Label DiskPercentLabel;
|
|
private XenAdmin.SettingsPanels.AlertCheckBox DiskAlertCheckBox;
|
|
private System.Windows.Forms.Label DiskUsagePercentLabel;
|
|
private System.Windows.Forms.Label DiskDurationThresholdLabel;
|
|
private XenAdmin.SettingsPanels.AlertNumericUpDown nudNetDurationThreshold;
|
|
private System.Windows.Forms.Label NetMinutesLabel;
|
|
private XenAdmin.SettingsPanels.AlertNumericUpDown nudNetUsagePercent;
|
|
private System.Windows.Forms.Label NetPercentLabel;
|
|
private XenAdmin.SettingsPanels.AlertCheckBox NetAlertCheckBox;
|
|
private System.Windows.Forms.Label NetUsagePercentLabel;
|
|
private System.Windows.Forms.Label NetDurationThresholdLabel;
|
|
private XenAdmin.SettingsPanels.AlertNumericUpDown nudCPUDurationThreshold;
|
|
private System.Windows.Forms.Label cpuMinutesLabel;
|
|
private System.Windows.Forms.Label CPUUsagePercentLabel;
|
|
private System.Windows.Forms.Label CPUDurationThresholdLabel;
|
|
private XenAdmin.SettingsPanels.AlertNumericUpDown nudCPUUsagePercent;
|
|
private System.Windows.Forms.Label cpuPercentLabel;
|
|
private XenAdmin.Controls.DecentGroupBox CpuGroupBox;
|
|
private XenAdmin.SettingsPanels.AlertCheckBox CPUAlertCheckBox;
|
|
private XenAdmin.Controls.DecentGroupBox NetGroupBox;
|
|
private XenAdmin.Controls.DecentGroupBox DiskGroupBox;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private XenAdmin.Controls.DecentGroupBox MemoryGroupBox;
|
|
private System.Windows.Forms.Label memoryMinutesLabel;
|
|
private AlertNumericUpDown nudMemoryDurationThreshold;
|
|
private System.Windows.Forms.Label memoryUnitsLabel;
|
|
private AlertNumericUpDown nudMemoryUsage;
|
|
private AlertCheckBox MemoryAlertCheckBox;
|
|
private System.Windows.Forms.Label memoryDurationThresholdLabel;
|
|
private System.Windows.Forms.Label memoryUsageLabel;
|
|
private XenAdmin.Controls.DecentGroupBox SrGroupBox;
|
|
private System.Windows.Forms.Label srMinutesLabel;
|
|
private AlertNumericUpDown nudSrMinutes;
|
|
private System.Windows.Forms.Label srUnitsLabel;
|
|
private AlertNumericUpDown nudSrUsage;
|
|
private AlertCheckBox SrAlertCheckBox;
|
|
private System.Windows.Forms.Label SrDurationThresholdLabel;
|
|
private System.Windows.Forms.Label SrUsageLabel;
|
|
private System.Windows.Forms.Label label1;
|
|
private Controls.DecentGroupBox Dom0MemoryUsageGroupBox;
|
|
private AlertNumericUpDown nudDom0MemUsage;
|
|
private System.Windows.Forms.Label Dom0MemoryDurationThresholdLabel;
|
|
private AlertNumericUpDown nudDom0MemoryDurationThreshold;
|
|
private System.Windows.Forms.Label Dom0MemoryUsagePercentLabel;
|
|
private AlertCheckBox Dom0MemoryAlertCheckBox;
|
|
private System.Windows.Forms.Label dom0MemoryMinutesLabel;
|
|
private System.Windows.Forms.Label dom0MemoryPercentLabel;
|
|
}
|
|
}
|