From 0e330483398636c2df41a20cae38eb25d6d79778 Mon Sep 17 00:00:00 2001 From: laf Date: Wed, 23 Dec 2015 11:28:40 +0000 Subject: [PATCH] Updated influx port data --- includes/polling/ports.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/polling/ports.inc.php b/includes/polling/ports.inc.php index 22628cf73..685780fbe 100644 --- a/includes/polling/ports.inc.php +++ b/includes/polling/ports.inc.php @@ -486,7 +486,7 @@ foreach ($ports as $port) { $fields['ifInOctets_rate'] = $port['ifInOctets_rate']; $fields['ifOutOctets_rate'] = $port['ifOutOctets_rate']; - $tags = array('ifName' => $this_port['ifName'], 'ifSpeed' => $this_port['ifSpeed'], 'port_descr_type' => $this_port['port_descr_type']); + $tags = array('ifName' => '"'.$this_port['ifName'].'"', 'ifSpeed' => '"'.$this_port['ifSpeed'].'"', 'port_descr_type' => '"'.$this_port['port_descr_type'].'"'); influx_update($device,'ports',$tags,$fields); // End Update IF-MIB