mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
cleanups etc
git-svn-id: http://www.observium.org/svn/observer/trunk@2213 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -6,14 +6,6 @@
|
||||
# YES, THAT MEANS YOU #
|
||||
#########################################################
|
||||
|
||||
## AFI / SAFI pairs for BGP (and other stuff, perhaps)
|
||||
$config['afi']['ipv4']['unicast'] = "IPv4";
|
||||
$config['afi']['ipv4']['multiicast'] = "IPv4 Multicast";
|
||||
$config['afi']['ipv4']['vpn'] = "VPNv4";
|
||||
$config['afi']['ipv6']['unicast'] = "IPv6";
|
||||
$config['afi']['ipv6']['multicast'] = "IPv6 Multicast";
|
||||
$config['afi']['ipv4']['vpn'] = "VPNv6";
|
||||
|
||||
$config['os']['default']['over'][0]['graph'] = "device_processor";
|
||||
$config['os']['default']['over'][0]['text'] = "Processor Usage";
|
||||
$config['os']['default']['over'][1]['graph'] = "device_mempool";
|
||||
@@ -23,7 +15,6 @@ $os_group = "unix";
|
||||
$config['os_group'][$os_group]['type'] = "server";
|
||||
$config['os_group'][$os_group]['processor_stacked'] = 1;
|
||||
|
||||
|
||||
$os = "generic";
|
||||
$config['os'][$os]['text'] = "Generic Device";
|
||||
|
||||
@@ -714,7 +705,8 @@ $config['os'][$os]['icon'] = "tripplite";
|
||||
|
||||
foreach($config['os'] as $this_os => $blah)
|
||||
{
|
||||
if (isset($config['os'][$this_os]['group'])){
|
||||
if (isset($config['os'][$this_os]['group']))
|
||||
{
|
||||
$this_os_group = $config['os'][$this_os]['group'];
|
||||
if (isset($config['os_group'][$this_os_group]))
|
||||
{
|
||||
@@ -729,8 +721,6 @@ foreach($config['os'] as $this_os => $blah)
|
||||
}
|
||||
}
|
||||
|
||||
$device_types = array('server', 'network', 'firewall', 'workstation', 'printer', 'power', 'environment');
|
||||
|
||||
### Graph Types
|
||||
|
||||
$config['graph_sections'] = array('system', 'firewall', 'netstats', 'wireless', 'storage');
|
||||
@@ -887,7 +877,6 @@ if (isset($config['enable_printers']) && $config['enable_printers'])
|
||||
}
|
||||
|
||||
|
||||
|
||||
##############################
|
||||
# No changes below this line #
|
||||
##############################
|
||||
|
||||
Reference in New Issue
Block a user