Skip to content

Commit

Permalink
Added tooltips with the original check names.
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantina Chremmou <[email protected]>
  • Loading branch information
kc284 committed Oct 30, 2023
1 parent fb9383d commit 225b7bd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion XenAdmin/SettingsPanels/NRPEEditPage.CheckGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class CheckGroup
public CheckGroup(string name, string labelName)
{
Name = name;
NameCell = new DataGridViewTextBoxCell { Value = labelName };
NameCell = new DataGridViewTextBoxCell { Value = labelName, ToolTipText = string.Format(Messages.NRPE_METRIC_TOOLTIP, name) };
WarningThresholdCell = new DataGridViewTextBoxCell { Value = "" };
CriticalThresholdCell = new DataGridViewTextBoxCell { Value = "" };
CheckThresholdRow = new DataGridViewRow();
Expand Down
9 changes: 9 additions & 0 deletions XenModel/Messages.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions XenModel/Messages.resx
Original file line number Diff line number Diff line change
Expand Up @@ -10161,6 +10161,9 @@ When you configure an NFS storage repository, you simply provide the host name o
<data name="NRPE_INACTIVE" xml:space="preserve">
<value>NRPE service is inactive</value>
</data>
<data name="NRPE_METRIC_TOOLTIP" xml:space="preserve">
<value>NRPE check name: {0}</value>
</data>
<data name="NRPE_RETRIEVE_FAILED" xml:space="preserve">
<value>Failed to retrieve NRPE configuration, please check XenCenter logs.</value>
</data>
Expand Down

0 comments on commit 225b7bd

Please sign in to comment.