mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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' ) {
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user