Send netdisco-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:
1. Re: App::Netdisco 2.032005 Not showing device DNS names (only
showing IP's) (Vlad Kratsberg)
2. Re: Exporting data from Netdisco 2 for Icinga (Mark Cooper)
3. Re: Exporting data from Netdisco 2 for Icinga (Zachary McGibbon)
4. Re: Exporting data from Netdisco 2 for Icinga (Mark Cooper)
5. Re: Exporting data from Netdisco 2 for Icinga (Jeroen van Ingen)
6. Re: DB Schema Upgrade Error on NetDisco (Oliver Gorwits)
7. Re: mac/ip addresses device found, but port/vlan info empty
(Oliver Gorwits)
8. Re: Changing Web Options (Port Controls, Reasons, etc...)
(Oliver Gorwits)
--- Begin Message ---
Hi,
I m running version 2.032005 and adding reverse_sysname: true doesn't change
anything for me. Still seeing ip addresses instead of names. I would
appreciate any suggestions.
Thanks
Sent from my iPhone
> On Jun 17, 2015, at 10:26 AM, Oliver Gorwits <[email protected]> wrote:
>
>> On 2015-06-17 15:08, Bill Richardson wrote:
>> I needed to add this to me config:
>>
>> reverse_sysname: true
>>
>> Now the dns field in device table is being updated and I see hostname
>> instead of IP's
>>
>> Surprised no one else has asked this before? I must be a little slow J
>
> Perhaps not you - there were some changes to this area of Netdisco a couple
> of releases ago - we could have introduced a bug.
>
> I'll look into it and report back, but I'm glad you have a workaround.
>
> regards,
> oliver.
>
>>
>>
>> FROM: Bill Richardson
>> SENT: Wednesday, June 17, 2015 8:46 AM
>> TO: '[email protected]'
>> SUBJECT: RE: App::Netdisco 2.032005 Not showing device DNS names
>> (only showing IP's)
>>
>> One more update:
>>
>> If I add manually add a dns name to the device table dns field it
>> works. So how do I get the DNS fields to update automatically in the
>> device table?
>>
>> FROM: Bill Richardson
>> SENT: Wednesday, June 17, 2015 8:19 AM
>> TO: '[email protected]'
>> SUBJECT: RE: App::Netdisco 2.032005 Not showing device DNS names
>> (only showing IP's)
>>
>> So just to be clear
>>
>> table "device" the dns field has no data
>>
>> table "device_ip" does have data in the dns field
>>
>> Looking at the debug output of a discovery it looks like it only
>> updates the device_ip table:
>>
>> INSERT INTO device_ip( alias, dns, ip, port, subnet )
>>
>> VALUES( ?, ?, ?, ?, ? ) : '__BULK_INSERT__'
>>
>> Ok so is this dns data only in the device_ip table? If so what do I
>> need to do to show that in the neighbor maps?
>>
>> FROM: Bill Richardson
>> SENT: Wednesday, June 17, 2015 7:52 AM
>> TO: '[email protected]'
>> SUBJECT: App::Netdisco 2.032005 Not showing device DNS names (only
>> showing IP's)
>>
>> I have looked thru the doc's and have searched this list but can't
>> seem to determine why I'm not seeing my device hostnames showup? Nodes
>> all seem to resolve but none of the devices have anything data in the
>> DNS table. Looking at the neighbor maps all devices show IP's no
>> names.
>>
>> My config has this entry:
>>
>> dns:
>>
>> max_outstanding: 50
>>
>> Doing a discovery and looking at the debug output as so:
>>
>> "netdisco-do discover -d switch-name -D" I see that its resolving:
>>
>> "debug resolving 7 aliases with max 50 outstanding requests"
>>
>> Doing a tcpdump and looking at port 53 (while running a discovery) I
>> see the proper DNS requests and responses
>>
>> Any thoughts on why this is not working?
>>
>> Thank you.. Bill
>
>
>
--- End Message ---
--- Begin Message ---
Going to any device and looking at the details, then the neighbors, does that
not already draw a map for you?
Thanks,
Coop
--- End Message ---
--- Begin Message ---
Yes, it draws the map however this is not as useful right now as it only
shows the IP address and I know there is a feature request to have the
names and not just the IP displayed. On our network we have around 1000
Cisco switches/routers combined so being able to export this parent/child
relationship to Icinga is what we are looking for as it is the tool we use
for monitoring out network. We want to know when a switch or router goes
down what is impacted by the outage and which equipment is at fault.
Another option, is if there was a table view or csv export of the neighbors
or something like that, I could probably parse it. I've looked through the
PostgreSQL database and haven't found a good way to extract the
parent/child relationships.
- Zachary
On Wed, Jul 8, 2015 at 12:47 PM, Mark Cooper <[email protected]> wrote:
> Going to any device and looking at the details, then the neighbors, does
> that not already draw a map for you?
>
> Thanks,
> Coop
>
>
--- End Message ---
--- Begin Message ---
Yeah, the parent/child relationship is typically better known through other
means. I.e. You always use uplinks where the lower IP number points back
toward the core of the network, higher number is more remote. This is a
typical design of large networks. So only knowing this rule and applying it to
the information retrieved could you then script up your own piece for that.
Without knowing in which direction the IP addresses used has any meaning (and
is used consistently throughout) would this be able to help in an automated
fashion.
So the problem is you really need a rules engine of sorts to be able to take
adjacency information and turn it into parent/child relationships.
Thanks,Coop
--- End Message ---
--- Begin Message ---
On 07/09/2015 05:27 PM, Mark Cooper wrote:
Yeah, the parent/child relationship is typically better known through
other means. I.e. You always use uplinks where the lower IP number
points back toward the core of the network, higher number is more
remote. This is a typical design of large networks. So only knowing this
rule and applying it to the information retrieved could you then script
up your own piece for that. Without knowing in which direction the IP
addresses used has any meaning (and is used consistently throughout)
would this be able to help in an automated fashion.
So the problem is you really need a rules engine of sorts to be able to
take adjacency information and turn it into parent/child relationships.
It's also possible to determine when you build a graph of the whole
network and define a single device as "root" or "top of the hierarchy".
I've been experimenting with that, currently without any regard for
Spanning Tree state etc. My goal is to publish it as an extension module
to Netdisco some day.
However my current design won't deal with redundancy, it just reduces
the network to a single "shortest path tree" representation.
Would that be useful or are you looking for a solution that can provide
more than one parent for a given child?
Regards,
Jeroen van Ingen
ICT Service Centre
University of Twente, P.O.Box 217, 7500 AE Enschede, The Netherlands
--- End Message ---
--- Begin Message ---
Hi Steven,
On 2015-05-27 20:52, Steven Xu wrote:
I would like to find the sql statements used to upgrade the netdisco
schema.
Sure, they're located at:
/home/netdisco/perl5/lib/perl5/App/Netdisco/DB/schema_versions/...
Each step is numbered and they're processed in order.
I'm trying to upgrade a very old netdisco server to the latest
version
(< version 1). When I run netdisco-deploy, the database upgrade
performed in netdisco-db-deploy gives the errors below.
What PostgreSQL version are you running? I wonder whether it's too old
for the syntax. I suggest upgrading to at least 8.4 and 9.1+ if you can.
regards,
oliver.
--- End Message ---
--- Begin Message ---
Hi Naxto.
On 2015-05-28 10:12, Natxo Asenjo wrote:
using 2.032003. When I lookup mac adresses sometimes it does not find
in what switch the device is found. It does find the mac address/ip
address of the device.
How can I troubleshoot this?
Please first read the top two sections of this page, which should get
the terminology right:
https://metacpan.org/pod/distribution/App-Netdisco/lib/App/Netdisco/Manual/Troubleshooting.pod
regards,
oliver.
--- End Message ---
--- Begin Message ---
Hi Jonathan,
On 2015-06-01 15:59, Jonathan Woodard wrote:
1. Where/How do I set Port controls to always be selected. We have no
users that do not have this option and it is always an extra step to
enable this for port bouncing.
This isn't exposed to configuration, but is stored within one of the
Perl files in the app in a data structure. It *is* possible to override
this, but it's not trivial. Let me know if you want to be led through it
(might be worth the effort if you have many staff or a large
installation).
However once the user has visited the page and set the checkbox, it
*should* be remembered in a cookie. Let me know if that isn't working (I
can't guarantee a fix, as this stuff is tricky).
2. How do I select a default reason? 90% of the changes is port
bouncing to reboot our Cisco Phones. I have added it in
deployment.yml, however, I would like to make this the default
reason.
Sadly there's nothing in the code to support this. You could register a
feature request here (Create Ticket):
https://sourceforge.net/p/netdisco/nd2-features/
3. We have a "Phone status" application that sends a URL in the
following format
"http://X.X.X.X/search?tab=node&q=XXXXXXXXXXXX&stamps=on&daterange=&mac_format=IEEE"
. How can I change this so that the URL has port control enabled?
This
would save us another step.
Add "c_admin=on" to the query string.
Thank you all again for a great application and supportive community!
Thanks :)
I hope this helps, a bit,
regards,
oliver.
--- End Message ---
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users