mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix mac accounting
git-svn-id: http://www.observium.org/svn/observer/trunk@3249 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -5,6 +5,7 @@ if (empty($os))
|
||||
if (strstr($sysDescr, "Cisco Internetwork Operating System Software")) { $os = "ios"; }
|
||||
else if (strstr($sysDescr, "IOS (tm)")) { $os = "ios"; }
|
||||
else if (strstr($sysDescr, "Cisco IOS Software")) { $os = "ios"; }
|
||||
else if (strstr($sysDescr, "Global Site Selector")) { $os = "ios"; }
|
||||
|
||||
if (strstr($sysDescr, "IOS-XE")) { $os = "iosxe"; }
|
||||
if (strstr($sysDescr, "IOS XR")) { $os = "iosxr"; }
|
||||
|
@@ -77,7 +77,7 @@ if ($device['os_group'] == "cisco")
|
||||
|
||||
// FIXME - use memcached to make sure these values don't go backwards?
|
||||
$rrdupdate = array($b_in, $b_out, $p_in, $p_out);
|
||||
$ret = rrdtool_update("$rrdfile", $rrdupdate);
|
||||
rrdtool_update($rrdfile, $rrdupdate);
|
||||
|
||||
if ($acc['update'])
|
||||
{ // Do Updates
|
||||
|
Reference in New Issue
Block a user