For CDP/LLDP Discovery you need to make sure that all devices have correct domain-name configured. If the dns record for the device is myrouter.mgmt.company.com you need to configure hostname: myrouter and domain-name: mgmt.company.com on the device for all its neighbors to be able to find it correctly with autodiscovery.

/Markus

Från: David Lagace
Skickat: ‎2014-‎11-‎14 18:52
Till: Observium Network Observation System
Ämne: Re: [Observium] Auto-discovery Woes

Also make sure your hosts can be resolved in DNS or /etc/hosts file. 

Reagrds
--Dave


* Garland McAlexander (garland.mcalexander@controlgroup.com) wrote:
> I'll try the debugging. Thanks
>
> And yeah @ string:
>
> $config['snmp']['community'] = array("public", "panorama9");
>
> On Fri, Nov 14, 2014 at 12:17 PM, Adam Armstrong <adama@memetic.org> wrote:
>
> >  The xDP stuff should be the most reliable. It relies on the sysName
> > reported by the remote device to polled device via xDP being resolvable by
> > the system's resolver library (so hosts should work).
> >
> > You can see what's happening of you turn on debugging and run the
> > discovery-protocols module on a device.
> >
> > The OSPF discovery, I think, will try to get a sysName from each router in
> > OSPF using the configured community strings.
> >
> > You did miss out the community strings in the config part you showed, do
> > you have those correctly in your config?
> >
> > adam.
> >
> > ------ Original Message ------
> > From: "Garland McAlexander" <garland.mcalexander@controlgroup.com>
> > To: "Observium Network Observation System" <observium@observium.org>
> > Sent: 11/14/2014 11:13:55 AM
> > Subject: Re: [Observium] Auto-discovery Woes
> >
> >
> > Ahh..
> >
> > Well I sort of expected all the protocols to work, and add devices. I will
> > focus my attention on xDP and OSPF and see if I can get something working.
> >
> > On Fri, Nov 14, 2014 at 12:10 PM, Adam Armstrong <adama@memetic.org>
> > wrote:
> >
> >>  That would be because it doesn't actually work properly. It ended up
> >> being such an unused feature that we don't put much time into it.
> >>
> >> xDP and OSPF discovery might work, but the others won't.
> >>
> >> It doesn't help that you haven't actually specified what you expect to
> >> work...
> >>
> >> adam.
> >>
> >> ------ Original Message ------
> >> From: "Garland McAlexander" <garland.mcalexander@controlgroup.com>
> >> To: observium@observium.org
> >> Sent: 11/14/2014 11:07:35 AM
> >> Subject: [Observium] Auto-discovery Woes
> >>
> >>
> >> I'm having some major issues with Auto-discovery (read, I can't seem to
> >> get it working at all).
> >>
> >> Here is what I have in my config:
> >>
> >>  $config['autodiscovery']['xdp']            = TRUE; // Autodiscover
> >> hosts via discovery protocols (CDP, LLDP, FDP, AMAP and other)
> >>
> >> $config['autodiscovery']['ospf']           = TRUE; // Autodiscover hosts
> >> via OSPF
> >>
> >> $config['autodiscovery']['bgp']            = TRUE; // Autodiscover hosts
> >> via iBGP
> >>
> >> $config['autodiscovery']['libvirt']        = TRUE; // Autodiscover hosts
> >> found via libvirt
> >>
> >> $config['autodiscovery']['ip_nets']        = array("10.0.0.0/8");  //
> >> Networks to permit autodiscovery
> >>
> >> $config['discover_services']               = TRUE; // Autodiscover
> >> services via SNMP on devices of type "server"
> >>
> >>
> >> I'm using resolution via hosts file, and I have about 150 machines there.
> >> However, autodiscovery seems to do nothing.
> >>
> >>
> >> _______________________________________________
> >> observium mailing list
> >> observium@observium.org
> >> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
> >>
> >>
> >
> >
> > --
> >  *Garland McAlexander | Engineer |  CONTROL GROUP  |  233 Broadway  |
> > 21st Floor  |  New York, NY 10279  |  212-343-2525 x 737
> > <212-343-2525%20x%20737>|
> >  http://www.google.com/url?q=http%3A%2F%2Fwww.controlgroup.com%2F&sa=D&sntz=1&usg=AFrqEzeRW2r3HhgGPI9_XiA9xF5yct9ONQ
> > <http://www.google.com/url?q=http%3A%2F%2Fwww.controlgroup.com%2F&sa=D&sntz=1&usg=AFrqEzeRW2r3HhgGPI9_XiA9xF5yct9ONQ>*
> >
> >
> > _______________________________________________
> > observium mailing list
> > observium@observium.org
> > http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
> >
> >
>
>
> --
> *Garland McAlexander | Engineer |  CONTROL GROUP  |  233 Broadway  |  21st
> Floor  |  New York, NY 10279  |  212-343-2525 x 737|  www.controlgroup.com
> <http://www.google.com/url?q=http%3A%2F%2Fwww.controlgroup.com%2F&sa=D&sntz=1&usg=AFrqEzeRW2r3HhgGPI9_XiA9xF5yct9ONQ>*

> _______________________________________________
> 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