Skip to content

Commit 1bb4376

Browse files
committed
[perfmon] Fix typo in variable name
Signed-off-by: Guillaume <guillaume.thouvenin@vates.tech>
1 parent e6b5310 commit 1bb4376

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python3/bin/perfmon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ class SRMonitor(ObjectMonitor):
944944
& 'sum' for everything else)
945945
* rrd_regex matches the names of variables
946946
from (xe sr-data-sources-list uuid=$sruuid) used to compute value
947-
(has default for "physical_utilistaion")
947+
(has default for "physical_utilisation")
948948
"""
949949

950950
def __init__(self, *args):
@@ -975,7 +975,7 @@ class SRMonitor(ObjectMonitor):
975975
elif config_tag == "alarm_auto_inhibit_period":
976976
return "3600" # 1 hour
977977
elif config_tag == "alarm_trigger_level":
978-
if variable_name == "physical_utilistaion":
978+
if variable_name == "physical_utilisation":
979979
return "0.8" # trigger when 80% full
980980
else:
981981
raise XmlConfigException(

0 commit comments

Comments
 (0)