Funny thing about network devices, they only do what they are configured to do. Due to security recommendations, by default, LLDP is disabled. Once it is enabled, it works fantastically.
On Thu, May 2, 2019 at 9:46 AM adama--- via observium < observium@observium.org> wrote:
What did you have to change?
Adam.
-------- Original Message -------- Subject: Re: [Observium] Auto Discovery From: "Adam R. Koczarski via observium" To: Observium ,Adam Armstrong CC: "Adam R. Koczarski"
I take it all back. Ubuntu 18.x and system-networkd was not the issue here. DNS was not the issue either. My issues were with LLDP related settings and not having everything configured properly. We have a mix of Extreme and Netgear switches and once the LLDP settings were properly configured everything began to hum on both the Ubuntu 16.x and 18.x based Observium servers.
Thanks for the help….
*Adam Koczarski P.E., S.E.*
*IT Director*
*Magnusson Klemencic Associates*
1301 Fifth Avenue, Suite 3200
Seattle, WA 98101-2699
United States
Direct: +1 206 215 8365
Main: +1 206 292 1200
*LinkedIn* http://www.linkedin.com/company/magnusson-klemencic-associates* | * *Facebook* https://www.facebook.com/pages/Magnusson-Klemencic-Associates/294590907275500* | **www.MKA.com* http://www.mka.com/
*From:* observium observium-bounces@observium.org *On Behalf Of *Adam R. Koczarski via observium *Sent:* Wednesday, May 1, 2019 11:51 AM *To:* Adam Armstrong adama@memetic.org; Adam R. Koczarski via observium observium@observium.org *Cc:* Adam R. Koczarski akoczarski@mka.com *Subject:* Re: [Observium] Auto Discovery
I built a new Observium server using Ubuntu ver 16.x rather than 18.x and auto-discovery is starting to populate the devices list! I manually added a core switch and it’s MLAG partner and my distribution switches have appeared. The switches beyond the distribution switches have yet to appear in the devices list. Maybe that just takes time? They are just showing macs like in my last message. Progress….
Perhaps the addition of Netplan and systemd-networkd in Ubuntu 18.x DNS/resolv is the culprit on my first try at this??
*Adam Koczarski P.E., S.E.*
*IT Director*
*Magnusson Klemencic Associates*
1301 Fifth Avenue, Suite 3200
Seattle, WA 98101-2699
United States
Direct: +1 206 215 8365
Main: +1 206 292 1200
*LinkedIn* https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fmagnusson-klemencic-associates&data=02%7C01%7CAKoczarski%40mka.com%7C3f5d8a20dc1c4acddaa608d6ce65f4e9%7Cd9cae93b10204a06b77fb9b55a3235d5%7C0%7C0%7C636923334662334791&sdata=PSphGQBB%2F25Ypj1nG0OtTrfqg0yxM4bjhUezY3Z7kxo%3D&reserved=0* | **Facebook* https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2Fpages%2FMagnusson-Klemencic-Associates%2F294590907275500&data=02%7C01%7CAKoczarski%40mka.com%7C3f5d8a20dc1c4acddaa608d6ce65f4e9%7Cd9cae93b10204a06b77fb9b55a3235d5%7C0%7C0%7C636923334662344800&sdata=Vl69MzzfBmXwj2KjdtFvimiPIMudA6ypyxz24c6wXd8%3D&reserved=0* | **www.MKA.com* https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.mka.com%2F&data=02%7C01%7CAKoczarski%40mka.com%7C3f5d8a20dc1c4acddaa608d6ce65f4e9%7Cd9cae93b10204a06b77fb9b55a3235d5%7C0%7C0%7C636923334662344800&sdata=rkc8BDW3qLWUQKtD35Gn8odPv%2FWfj9uytAamqT3FE3U%3D&reserved=0
*From:* Adam Armstrong adama@memetic.org *Sent:* Wednesday, May 1, 2019 11:38 AM *To:* Adam R. Koczarski via observium observium@observium.org *Cc:* Adam R. Koczarski akoczarski@mka.com *Subject:* Re: [Observium] Auto Discovery
Hmm.
This device seems to be returning a Mac address, which isn't overly useful for discovery.
Adam.
On 1 May 2019, at 19:07, "Adam R. Koczarski via observium" < observium@observium.org> wrote:
I’m assuming the <host> in the command line you provided would be the neighboring switch to the one I’m trying to auto-discover? I ran that but didn’t get anything to useful.
The switch I’m trying to “auto-discovery” and auto-add to the Observium device list is plugged into port 1 of the switch shown below. Observium knowns the switch is there as the mac listed is correct. I’m hoping Observium would get this switches naming info via DNS and/or SNMP and populate the device list accordingly. If I manually add this new switch to the Observium devices the name will eventually show up here.
I’m close, but no quite there. We’ll be adding 60 new switches shortly and am hoping to get this working first…..
Thx!
*Adam Koczarski P.E., S.E.*
*IT Director*
*Magnusson Klemencic Associates*
1301 Fifth Avenue, Suite 3200
Seattle, WA 98101-2699
United States
Direct: +1 206 215 8365
Main: +1 206 292 1200
*LinkedIn* https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fmagnusson-klemencic-associates&data=02%7C01%7Cakoczarski%40mka.com%7C6f2df53ee4404722498b08d6ce642733%7Cd9cae93b10204a06b77fb9b55a3235d5%7C0%7C0%7C636923326910326772&sdata=Kw8%2Bjfzz4PG6eY9rvT%2FZG0O88vyoXoCqjUnDYbAlRUQ%3D&reserved=0* | **Facebook* https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2Fpages%2FMagnusson-Klemencic-Associates%2F294590907275500&data=02%7C01%7Cakoczarski%40mka.com%7C6f2df53ee4404722498b08d6ce642733%7Cd9cae93b10204a06b77fb9b55a3235d5%7C0%7C0%7C636923326910326772&sdata=rJlKK%2FvefaFEfkOauM0fN0zLLKgZlFdiMgcoayXzDiw%3D&reserved=0* | **www.MKA.com* https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.mka.com%2F&data=02%7C01%7Cakoczarski%40mka.com%7C6f2df53ee4404722498b08d6ce642733%7Cd9cae93b10204a06b77fb9b55a3235d5%7C0%7C0%7C636923326910336777&sdata=V5wnmIs1yLcMDjvRJF3Ry1Lcl2tttxFSGTtdvalfqJE%3D&reserved=0
*From:* Adam Armstrong adama@memetic.org *Sent:* Wednesday, May 1, 2019 10:09 AM *To:* Adam R. Koczarski via observium observium@observium.org *Cc:* Adam R. Koczarski akoczarski@mka.com *Subject:* Re: [Observium] Auto Discovery
Hi Adam,
I was going to look at adding more logging for this, but I'm not at home at the moment.
You should get some useful output by running the relevant modules in debug mode.
./discovery.php -h <host> -m neighbours -dd
Adam.
On 1 May 2019, at 17:38, "Adam R. Koczarski via observium" < observium@observium.org> wrote:
Does anyone know if there any way I can get the logging tweaked up to include any device auto-discovery info to help debug this? I’ve scanned through the logs in /opt/Observium/logs and didn’t find anything useful.
Thx
*Adam Koczarski P.E., S.E.*
*IT Director*
*Magnusson Klemencic Associates*
1301 Fifth Avenue, Suite 3200
Seattle, WA 98101-2699
United States
Direct: +1 206 215 8365
Main: +1 206 292 1200
*LinkedIn* https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fmagnusson-klemencic-associates&data=02%7C01%7Cakoczarski%40mka.com%7C7d8c7d64e34545905ac408d6ce57bce6%7Cd9cae93b10204a06b77fb9b55a3235d5%7C0%7C0%7C636923273577495422&sdata=%2BHU5Irnx2alnE4BRX26w%2B%2Bq7WrDESOsUZU3XPHU3%2Blg%3D&reserved=0* | **Facebook* https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2Fpages%2FMagnusson-Klemencic-Associates%2F294590907275500&data=02%7C01%7Cakoczarski%40mka.com%7C7d8c7d64e34545905ac408d6ce57bce6%7Cd9cae93b10204a06b77fb9b55a3235d5%7C0%7C0%7C636923273577505427&sdata=L8fA59lfGe%2F0hTQY4GEd6gTn20MRnVCYwc0LG0jiz%2Bw%3D&reserved=0* | **www.MKA.com* https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.mka.com%2F&data=02%7C01%7Cakoczarski%40mka.com%7C7d8c7d64e34545905ac408d6ce57bce6%7Cd9cae93b10204a06b77fb9b55a3235d5%7C0%7C0%7C636923273577505427&sdata=PGwzTRU%2Bm4nMnjx%2FK%2BJvPE1f65wwB6C1XtsFxe6UQfI%3D&reserved=0
*From:* Adam Armstrong adama@memetic.org *Sent:* Tuesday, April 23, 2019 4:19 PM *To:* 'Observium' observium@observium.org *Cc:* Adam R. Koczarski akoczarski@mka.com *Subject:* Re: [Observium] Auto Discovery
It has a few prerequisites, and isn't really well documented at the moment (and there are likely changes that I don't know about, too!)
In general things will be autodiscovered if they're seen by CDP/lldp/etc or ospf and if DNS is correctly configured.
Adam.
On 23 Apr 2019, at 23:48, "Adam R. Koczarski via observium" < observium@observium.org> wrote:
OK, so it is possible. Great! I haven’t been able to have devices automatically get added to the devices list yet, but I’d like it to operate that way.
I have a some switch named mkas0001 and mkas0002 in SNMP. I can ping mkas0001 and mkas0001.mka.com, yet the switches never automatically populate into the device list. Dig for mkas0001 does require +search be appended to the command. I wonder if the SNMP names need to be fully qualified?? I didn’t try that.
Under Network-SNMP I have v2c specified as the version to use and have specified the community name. I don’t have OSPF neighbors enabled under Device Autodiscovery. Maybe another thing to try.
Thanks for the confirmation and ideas! Greatly appreciated!!
*Adam Koczarski P.E., S.E.*
*IT Director*
*Magnusson Klemencic Associates*
1301 Fifth Avenue, Suite 3200
Seattle, WA 98101-2699
United States
Direct: +1 206 215 8365
Main: +1 206 292 1200
*LinkedIn* https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fmagnusson-klemencic-associates&data=02%7C01%7Cakoczarski%40mka.com%7Cb9957e3dd2694fa6612d08d6c8421143%7Cd9cae93b10204a06b77fb9b55a3235d5%7C0%7C1%7C636916583438698483&sdata=Rs4uXGqfEyCggCXynFd1ltZXxvh1Op3iQCt7FTfTx4w%3D&reserved=0* | **Facebook* https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2Fpages%2FMagnusson-Klemencic-Associates%2F294590907275500&data=02%7C01%7Cakoczarski%40mka.com%7Cb9957e3dd2694fa6612d08d6c8421143%7Cd9cae93b10204a06b77fb9b55a3235d5%7C0%7C1%7C636916583438698483&sdata=JTbrah2oxaB3LFNZ1CZ1YTHLpZ3IKUXNNE%2BYGeQQ03A%3D&reserved=0* | **www.MKA.com* https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.mka.com%2F&data=02%7C01%7Cakoczarski%40mka.com%7Cb9957e3dd2694fa6612d08d6c8421143%7Cd9cae93b10204a06b77fb9b55a3235d5%7C0%7C1%7C636916583438708497&sdata=TOTu3yJWm7RQnlLgNgsk69bVx4ZZr98oDOVPXwo4Uxk%3D&reserved=0
*From:* observium observium-bounces@observium.org *On Behalf Of *Adam Armstrong via observium *Sent:* Tuesday, April 23, 2019 3:24 PM *To:* 'Observium' observium@observium.org *Cc:* Adam Armstrong adama@memetic.org *Subject:* Re: [Observium] Auto Discovery
Hi,
There are a few autodiscovery mechanisms, most use a discovery protocol like CDP/LLDP or rely on OSPF.
It’s a bit picky about what it’ll discover, it likes the device’s sysName returned from SNMP to be resolvable in DNS, to cut down on duplication and false positives.
You should be able to enable it in the configuration settings for autodiscovery.
Adam.
*From:* observium observium-bounces@observium.org *On Behalf Of *Adam R. Koczarski via observium *Sent:* 23 April 2019 22:36 *To:* Observium observium@observium.org *Cc:* Adam R. Koczarski akoczarski@mka.com *Subject:* [Observium] Auto Discovery
Hello,
I’m new to this group and to Observium. A friend turned me on to it a few weeks ago.
I have Observium 19.3.9774 running on Ubuntu 18.04.2LTS. Everything is working great! I’ve added my switches and LLDP and SNMP data is flowing in and all of the cross-references have been established.
My question pertains to adding new devices. I can successfully add new devices via the GUI or the CLI as described in the documentation. My friend was telling me he <thinks> devices can be detected and added to the device list automatically via some sort of discovery?? Is this a thing or is he pulling my leg?
Thanks!
*Adam Koczarski P.E., S.E.*
*IT Director*
*Magnusson Klemencic Associates*
1301 Fifth Avenue, Suite 3200
Seattle, WA 98101-2699
United States
Direct: +1 206 215 8365
Main: +1 206 292 1200
*LinkedIn* https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fmagnusson-klemencic-associates&data=02%7C01%7CAKoczarski%40mka.com%7Cb7141680a6024761ad7e08d6c83a70a5%7Cd9cae93b10204a06b77fb9b55a3235d5%7C0%7C0%7C636916550665852655&sdata=WI1JKZLf7cXOjmO2cmfM7rImDu%2BSiLjnUvyeXtBHd3E%3D&reserved=0* | **Facebook* https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2Fpages%2FMagnusson-Klemencic-Associates%2F294590907275500&data=02%7C01%7CAKoczarski%40mka.com%7Cb7141680a6024761ad7e08d6c83a70a5%7Cd9cae93b10204a06b77fb9b55a3235d5%7C0%7C0%7C636916550665852655&sdata=%2FeyHq3r7yOreb9lfD%2FdM0PDNlvYQJ4gYQKC73xYsZ0A%3D&reserved=0* | **www.MKA.com* https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.mka.com%2F&data=02%7C01%7CAKoczarski%40mka.com%7Cb7141680a6024761ad7e08d6c83a70a5%7Cd9cae93b10204a06b77fb9b55a3235d5%7C0%7C0%7C636916550665862660&sdata=2hdbVL0sOlBEjkMy0zCnqWJWpaOCfRDUXf2WKsyxYWk%3D&reserved=0
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.memetic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=02%7C01%7Cakoczarski%40mka.com%7Cb9957e3dd2694fa6612d08d6c8421143%7Cd9cae93b10204a06b77fb9b55a3235d5%7C0%7C1%7C636916583438718497&sdata=DgFQZuVDhJESxOCZygEymv6nf%2BZXSzUtPcPUvmI7qMs%3D&reserved=0
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.memetic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=02%7C01%7Cakoczarski%40mka.com%7C7d8c7d64e34545905ac408d6ce57bce6%7Cd9cae93b10204a06b77fb9b55a3235d5%7C0%7C0%7C636923273577525441&sdata=YDNkvf4QYQN%2BOzXaXXLf3Q7QWOXi9mijbPMNj6gbhc0%3D&reserved=0
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpostman.memetic.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fobservium&data=02%7C01%7Cakoczarski%40mka.com%7C6f2df53ee4404722498b08d6ce642733%7Cd9cae93b10204a06b77fb9b55a3235d5%7C0%7C0%7C636923326910346786&sdata=QD1q9FXIdNK9fzgwN9huPkZRqO%2BUgOxfY7p1Ra9%2FxBg%3D&reserved=0
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium