From 99937c4d3b43b2cd1a71ba5a8e8bacdb52665aee Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Wed, 1 Jun 2011 10:17:22 +0000 Subject: [PATCH] fix? git-svn-id: http://www.observium.org/svn/observer/trunk@2385 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/polling/cisco-mac-accounting.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/polling/cisco-mac-accounting.inc.php b/includes/polling/cisco-mac-accounting.inc.php index cf1c590c5..6df305aee 100755 --- a/includes/polling/cisco-mac-accounting.inc.php +++ b/includes/polling/cisco-mac-accounting.inc.php @@ -3,7 +3,7 @@ ## FIXME -- we're walking, so we can discover here too. $cip_oids = array('cipMacHCSwitchedBytes', 'cipMacHCSwitchedPkts'); -echo("Caching OID: "); +echo("Cisco MAC - Caching OID: "); $cip_array = array(); foreach ($cip_oids as $oid) @@ -63,7 +63,7 @@ foreach ($acc_rows as $acc) if ($debug) { echo("\n" . $acc['hostname']." ".$acc['ifDescr'] . " $mac -> $b_in:$b_out:$p_in:$p_out "); } - $rrdfile = $config['rrd_dir'] . "/" . $device['hostname'] . "/" . safename("cip-" . $acc['ifIndex'] . "-" . $acc['mac'] . ".rrd") + $rrdfile = $config['rrd_dir'] . "/" . $device['hostname'] . "/" . safename("cip-" . $acc['ifIndex'] . "-" . $acc['mac'] . ".rrd"); if (!is_file($rrdfile)) {