Hi Kenny,

BTW, should be xdp, the cdp variable you set is not used. xDP as in x for C, F and LL, so there's only one variable for all discovery protocols.

And indeed, it is used upon discovery (which is where the maps are built).

Glad you got it work!

Tom

On 06/01/2014 19:25, Kenny Sallee wrote:
OK I was too impatient.  Ran a discovery -h all and maps updated perfectly!  Thanks for working on this (and sorry for the spam)
Kenny


On Mon, Jan 6, 2014 at 10:03 AM, Kenny Sallee <kenny@netravine.com> wrote:
OK I just did svn update and did this


root@egv-istnettools:/opt/observium# svn update
U    includes/discovery/discovery-protocols.inc.php
U    includes/discovery/functions.inc.php
U    includes/defaults.inc.php
A    update/116.sql
Updated to revision 4861.

root@egv-istnettools:/opt/observium# ./discovery.php -h none
Observium v0.14.1.4861
Discovery

-- Updating database/file schema
115 -> 116 ... (db) done.
-- Done
Current Revision : 4861
MySQL: Cell[2/0s] Row[16/0s] Rows[2/0s] Column[0/0s] Update[1/0s] Insert[0/0s] Delete[0/0s] 

Added this to config.php:

$config['bad_cdp'] = array("SEP");
$config['bad_xdp'] = array("SEP");

Restarted apache2 (not sure if I needed to do that one)...

Map is still showing Cisco IP Phones.  Is that line incorrect?  Anything else I have to do?  Pointers on troubleshooting?  
Thanks,
Kenny


On Mon, Jan 6, 2014 at 8:53 AM, Tom Laermans <tom.laermans@powersource.cx> wrote:
Committed in r4861.

$config['bad_xdp'] matches parts of device names, $config['bad_xfp_regexp'] does the same but allows you to specify regular expressions. Both arrays (like bad_if/bad_if_regexp).

Devices matching these will not be added as a link, nor will they be tried to autodiscover.

Tom


On 01/06/2014 11:22 AM, Tom Laermans wrote:
Hi Kenny,

I've put this on my todo as it's an easily fixed feature request I believe and if things went perfectly well it'd have been in Observium since last friday. But alas... I'll keep you posted :)

Tom

On 01/03/2014 11:35 PM, Kenny Sallee wrote:
Hi Tom - thanks for responding.  OK - I figured there'd be a nerd knob/button in the gui if it was.  Has anyone got a hack working?  I was looking at map.php and looked like if I tweak the mysql statements might be able to make it work?
Thanks,
Kenny


On Fri, Jan 3, 2014 at 2:27 PM, Tom Laermans <tom.laermans@powersource.cx> wrote:
Hi Kenny,

This is (currently) not possible.

Tom


On 03/01/2014 19:37, Kenny Sallee wrote:
Hi all - question - I love the mapping feature for Cisco / CDP devices. Below is what the Map / Diagram looks like for one of the Cisco switches I have discovered...I only care about routers/switches/APs showing up there.  Question is: is it possible to exclude certain CDP neighbors from showing up on the Map by default?


Inline image 2



--
Netravine Founder | Kenny Sallee | Kenny@netravine.com | 503.330.2430


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium




--
Netravine Founder | Kenny Sallee | Kenny@netravine.com | 503.330.2430


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium



_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium




--
Netravine Founder | Kenny Sallee | Kenny@netravine.com | 503.330.2430



--
Netravine Founder | Kenny Sallee | Kenny@netravine.com | 503.330.2430


_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium