Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Apr 24, 2017 2:08 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: MacTrack ignoring voice ports
PostPosted: Fri Aug 14, 2015 10:11 am 
Offline

Joined: Tue Jul 24, 2007 8:49 am
Posts: 12
Location: Florida, USA
When we enable the voice vlan feature to support phones on the ports, on HP switches, MacTrack thinks they are trunk ports and ignores them all. How can we get MacTrack to not ignore trunk ports? I can then just use the ignore interface option to ignore the true trunks.


Top
 Profile  
 
 Post subject: Re: MacTrack ignoring voice ports
PostPosted: Mon Sep 07, 2015 8:00 am 
Offline

Joined: Wed Aug 26, 2015 3:46 am
Posts: 9
A bit of a late reply but I have just been going through the same process of adding voice vlans to our HP switches, and no solution was posted here.

Here is what I did, which is a bit of a fudge:-
Duplicate the mactrack_hp_ngi.php to a new file I have attached mine (rename scanning functions and add the file reference to mactrack_vendors.php, select refresh scanning functions in cacti console)
In the test for trunk ports change the detection from 1 to 2 vlans on the port. mactrack no longer ignores any port with just 2 vlans on it. On ports you realy want to be treated as trunk add a new dummy vlan so the count for those ports is now 3 or greater.

Now create a new device type to use your new scanning function and make sure it is applied to the required switches.

Any thoughts on a more elegant fix?


Attachments:
mactrack_hp_ngijb.zip [2.61 KiB]
Downloaded 88 times
Top
 Profile  
 
 Post subject: Re: MacTrack ignoring voice ports
PostPosted: Wed Sep 23, 2015 9:02 am 
Offline

Joined: Tue Jul 24, 2007 8:49 am
Posts: 12
Location: Florida, USA
This worked perfectly. Thank you for your response! Since all of our switches using this function are the same I just edited the file itself.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group