diff --git a/includes/discovery/os/ios.inc.php b/includes/discovery/os/ios.inc.php index f807adfa8..58674c695 100755 --- a/includes/discovery/os/ios.inc.php +++ b/includes/discovery/os/ios.inc.php @@ -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"; } diff --git a/includes/polling/cisco-mac-accounting.inc.php b/includes/polling/cisco-mac-accounting.inc.php index 87a1e3454..d93794fa9 100755 --- a/includes/polling/cisco-mac-accounting.inc.php +++ b/includes/polling/cisco-mac-accounting.inc.php @@ -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