Merge branch 'master' of https://github.com/adaniels21487/librenms into issue-1540

This commit is contained in:
Aaron Daniels
2015-08-01 14:51:38 +10:00
4 changed files with 14 additions and 4 deletions

View File

@@ -14,6 +14,7 @@ On each of the hosts you would like to use the agent on then you need to do the
```shell
cd /opt/
git clone https://github.com/librenms/librenms-agent.git
cd librenms-agent
cp check_mk_agent /usr/bin/check_mk_agent
chmod +x /usr/bin/check_mk_agent
```

View File

@@ -1,6 +1,6 @@
# Network Map
## LibreNMS has the ability to show you a network mab based on:
## LibreNMS has the ability to show you a network map based on:
- xDP Discovery
- MAC addresses

View File

@@ -140,11 +140,17 @@ if ($_SESSION['userlevel'] >= '10') {
</li>
');
}
echo('
echo '
<li role="presentation" class="divider"></li>
<li><a href="'.generate_url(array('page'=>'device-groups')).'"><i class="fa fa-th fa-fw fa-lg"></i> Manage Groups</a></li>
';
if ($config['navbar']['manage_groups']['hide'] === 0) {
echo '<li><a href="'.generate_url(array('page'=>'device-groups')).'"><i class="fa fa-th fa-fw fa-lg"></i> Manage Groups</a></li>';
}
echo '
<li><a href="addhost/"><i class="fa fa-plus fa-col-success fa-fw fa-lg"></i> Add Device</a></li>
<li><a href="delhost/"><i class="fa fa-trash fa-col-info fa-fw fa-lg"></i> Delete Device</a></li>');
<li><a href="delhost/"><i class="fa fa-trash fa-col-info fa-fw fa-lg"></i> Delete Device</a></li>';
}
?>

View File

@@ -781,3 +781,6 @@ $config['mapael']['default_map'] = 'maps/world_countries.
$config['leaflet']['default_lat'] = '50.898482';
$config['leaflet']['default_lng'] = '-3.401402';
$config['leaflet']['default_zoom'] = 2;
// Navbar variables
$config['navbar']['manage_groups']['hide'] = 0;