display total traffic for mikrotik until cpu/memory graphing

git-svn-id: http://www.observium.org/svn/observer/trunk@1446 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-07-20 18:28:15 +00:00
parent a38104cf52
commit 73f8e3c7a8
2 changed files with 4 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ if($argv[1]) {
$port = 161;
if (!$snmpver) $snmpver = "v2c";
if (!$community) $community = $config['community'];
if (!$community) $community = $config['snmp']['community'][0];
list($hostshort) = explode(".", $host);
if ( mysql_result(mysql_query("SELECT COUNT(*) FROM `devices` WHERE `hostname` = '".mres($host)."'"), 0) == '0' ) {

View File

@@ -95,6 +95,9 @@ $config['os']['screenos']['type'] = "firewall";
$config['os']['routeros']['text'] = "Mikrotik RouterOS";
$config['os']['routeros']['type'] = "network";
$config['os']['routeros']['nobulk'] = 1;
$config['os']['routeros']['overgraph'][] = "device_bits";
$config['os']['routeros']['overtext'] = "Traffic";
$config['os']['junose']['text'] = "Juniper JunOSe";
$config['os']['junose']['type'] = "network";