summaryrefslogtreecommitdiffstats
path: root/templates/check_swap_usage.php
diff options
context:
space:
mode:
authorndarshan <dnarayan@redhat.com>2014-03-14 15:07:03 +0530
committerBala.FA <barumuga@redhat.com>2014-04-29 10:21:36 +0530
commit522783ba9afebcd82869c57090feb8258e52915b (patch)
tree5d4ca6ff98895df341de4838c5b48c902160a8d4 /templates/check_swap_usage.php
parent795fc58ef57127f257ea06c8c77ff8fba0662a4e (diff)
Template: Fixed the issues in physical graph templates
Fixed issue with memory template, other templates to have graphs of same size for rendering in ui. Change-Id: Iacfe7e16b16e6a6cccb104dea9fed412b3f533c3 Signed-off-by: ndarshan <dnarayan@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/11 Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'templates/check_swap_usage.php')
-rw-r--r--templates/check_swap_usage.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/check_swap_usage.php b/templates/check_swap_usage.php
index 4d1c0ff..ef62064 100644
--- a/templates/check_swap_usage.php
+++ b/templates/check_swap_usage.php
@@ -35,6 +35,8 @@ if ($WARN[1] != ""){
if ($CRIT[1] != "") {
$CRT = $CRIT[1] / 1048576 ;
$def[1] .= "LINE2:$CRT#FF0000:\"Critical \\n\" ";
+ $def[1] .= "COMMENT:\" \\n\" ";
+ $def[1] .= "COMMENT:\" \\n\" ";
}