From 64f476d4852a51234ccd7a455bc9452b8f8b6d7d Mon Sep 17 00:00:00 2001 From: Yacine BENAMSILI Date: Fri, 29 May 2020 03:34:08 +0200 Subject: [PATCH] feature: F5 LTM bandwidth controller --- includes/polling/loadbalancers/f5-ltm.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/polling/loadbalancers/f5-ltm.inc.php b/includes/polling/loadbalancers/f5-ltm.inc.php index d01a978c94..022e1b5b30 100644 --- a/includes/polling/loadbalancers/f5-ltm.inc.php +++ b/includes/polling/loadbalancers/f5-ltm.inc.php @@ -102,7 +102,7 @@ if (count($components > 0)) { d_echo("\n\nComponent: ".$key."\n"); d_echo(" Type: ".$type."\n"); d_echo(" Label: ".$label."\n"); - } elseif ($type == 'f5-ltm-vs') { + } elseif ($type == 'f5-ltm-vs') { $rrd_def = RrdDefinition::make() ->addDataset('pktsin', 'COUNTER', 0) ->addDataset('pktsout', 'COUNTER', 0) @@ -133,8 +133,8 @@ if (count($components > 0)) { // All is good. $array['status'] = 0; $array['error'] = ''; - } - } elseif ($type == 'f5-ltm-pool') { + } + } elseif ($type == 'f5-ltm-pool') { $rrd_def = RrdDefinition::make() ->addDataset('minup', 'GAUGE', 0) ->addDataset('currup', 'GAUGE', 0);