Thanks for the fast fix
J
Laszlo
From: observium <observium-bounces@observium.org> on behalf of Joseph Zancocchio <joseph@nyi.net>
Reply-To: Observium Network Observation System <observium@observium.org>
Date: Thursday 2 June 2016 at 16:39
To: "observium@observium.org" <observium@observium.org>
Subject: Re: [Observium] Group bug
Here is the fix, btw:
# svn diff html/includes/navbar.inc.php
Index: html/includes/navbar.inc.php
===================================================================
--- html/includes/navbar.inc.php (revision 7901)
+++ html/includes/navbar.inc.php (working copy)
@@ -253,7 +253,7 @@
if(count($entity_group_menu['port']))
{
- $navbar['ports']['entries'][] = array('title' => 'Groups', 'url' => generate_url(array('page' => 'groups', 'entity_type' => 'device')), 'icon' => 'oicon-category', 'count' => count($entity_group_menu['port']), 'entries' => $entity_group_menu['port']);
+ $navbar['ports']['entries'][] = array('title' => 'Groups', 'url' => generate_url(array('page' => 'groups', 'entity_type' => 'port')), 'icon' => 'oicon-category', 'count' => count($entity_group_menu['port']), 'entries' => $entity_group_menu['port']);
$navbar['ports']['entries'][] = array('divider' => TRUE);
}
On 06/02/2016 10:30 AM, Joseph Zancocchio wrote:
That does seem to be a minor bug, caused by the main Ports->Groups submenu's link being to /groups/entity_type=device/ rather than /groups/entity_type=port/
I suppose that will be remedied soon enough. You can fix it until then by editing the code directly to change the word, until then (if you are comfortable with that sort of thing, of course)On 06/02/2016 10:22 AM, Laszlo Nemeth wrote:
Yes, you are right J
So ok, the Ports menu shows the groups that contain ports group and we have two groups menu now (Globe, Ports). :) Sorry.
But in this case I think the Ports -> Groups has to be the default value is the “Port”. Like in the Globe->Groups there is the “All” is the default value. But nothing in the Ports->Groups. It shows nothing until I press the “Port” on this page.
Laszlo
From: observium <observium-bounces@observium.org> on behalf of Adam Armstrong <adama@memetic.org>
Reply-To: Observium Network Observation System <observium@observium.org>
Date: Thursday 2 June 2016 at 16:10
To: Observium Network Observation System <observium@observium.org>
Subject: Re: [Observium] Group bug
Are you honestly asking why non-ports groups dont show in the ports menu?
Oo
Adam.
Sent from BlueMail
On 2 Jun 2016, at 10:54, Laszlo Nemeth <laszlo.nemeth@emarsys.com> wrote:
Hello
We used the 7793.
Added 3 group with interface sum in the Ports menu. Later add 2 sensors group there. The Ports menu shows 3 member, but there was 5. (3 interface, 2 sensors). If we click to the Sensors we see our sensors groups.
Now we upgraded to 7900. We see the Group in the Ports menu AND the first menu too! The first menu shows 5, the Ports shows 3 groups.
Click on the first menu’s groups: shows all 5 groups. Great J
Click on the Ports menu’s group: shows nothing. But there if I click to the “ALL”, it shows 5 groups (3 interfaces, 2 sensors).
Laszlo
observium mailing listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium_______________________________________________observium mailing listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium_______________________________________________observium mailing listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium