mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
webui: Expose pollers link to show total poll time for all devices per poller (#7699)
* webui: Expose pollers link to show total poll time for all devices per poller * Update pollers.inc.php
This commit is contained in:
committed by
Tony Murray
parent
1c3f0d8345
commit
4e59dd47c9
@@ -671,11 +671,11 @@ if ($_SESSION['userlevel'] >= '10') {
|
||||
<li class="dropdown-submenu">
|
||||
<a href="#"><i class="fa fa-th-large fa-fw fa-lg" aria-hidden="true"></i> Pollers</a>
|
||||
<ul class="dropdown-menu scrollable-menu">
|
||||
<li><a href="poll-log/"><i class="fa fa-file-text fa-fw fa-lg" aria-hidden="true"></i> Poller History</a></li>');
|
||||
<li><a href="poll-log/"><i class="fa fa-file-text fa-fw fa-lg" aria-hidden="true"></i> Poller History</a></li>
|
||||
<li><a href="pollers/tab=pollers/"><i class="fa fa-th-large fa-fw fa-lg" aria-hidden="true"></i> Pollers</a></li>');
|
||||
|
||||
if ($config['distributed_poller'] === true) {
|
||||
echo ('
|
||||
<li><a href="pollers/tab=pollers/"><i class="fa fa-th-large fa-fw fa-lg" aria-hidden="true"></i> Pollers</a></li>
|
||||
<li><a href="pollers/tab=groups/"><i class="fa fa-th fa-fw fa-lg" aria-hidden="true"></i> Poller Groups</a></li>');
|
||||
}
|
||||
echo ('
|
||||
|
@@ -21,11 +21,14 @@ $poll_tabs = array(
|
||||
'name' => 'Pollers',
|
||||
'icon' => 'fa-th-large',
|
||||
),
|
||||
array(
|
||||
);
|
||||
|
||||
if ($config['distributed_poller'] === true) {
|
||||
$poll_tabs[] = array(
|
||||
'name' => 'Groups',
|
||||
'icon' => 'fa-th',
|
||||
),
|
||||
);
|
||||
);
|
||||
}
|
||||
|
||||
foreach ($poll_tabs as $tab) {
|
||||
echo '
|
||||
|
Reference in New Issue
Block a user