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. Netdisco on Ubuntu 16 or later (Caines, Max)
2. Re: Netdisco on Ubuntu 16 or later (Oliver Gorwits)
3. Re: Netdisco and Arpwatch like feature (Christian Ramseyer)
--- Begin Message ---
Hi
I have an installation of Netdisco which started off as a VM appliance from
"wokka.org", but has since been updated. The VM was built using Ubuntu 14.04
LTS, so I felt it was about time I upgraded to 16 or even 18. I backed it up
first, and then ran "do-release-upgrade" to get to 16.04 LTS. This appeared to
work, but when I started Netdisco vis the INIT script, it failed with a
segmentation fault. Unfortunately the ESX host was short of resources, so
couldn't afford to keep it, and replaced it with the backup, but I do have the
lines from "dmesg" that record the fault. They are:
[ 7.767120] perl[663]: segfault at 5 ip 00007f598376e747 sp 00007ffd2ff613a0
error 4 in Util.so[7f5983765000+c000]
[ 7.767135] perl[689]: segfault at 5 ip 00007ff1765ce747 sp 00007ffe09d6f120
error 4 in Util.so[7ff1765c5000+c000]
[ 609.241536] perl[3954]: segfault at 5 ip 00007fd444970747 sp
00007ffdf2e73140 error 4 in Util.so[7fd444967000+c000]
[ 628.722769] perl[3973]: segfault at 5 ip 00007fb6a6ec1747 sp
00007ffc332597e0 error 4 in Util.so[7fb6a6eb8000+c000]
[ 634.535546] perl[3981]: segfault at 5 ip 00007ff5e6977747 sp
00007ffefb3a71c0 error 4 in Util.so[7ff5e696e000+c000]
[ 722.718782] perl[4012]: segfault at 5 ip 00007f1227fde747 sp
00007ffcf4802820 error 4 in Util.so[7f1227fd5000+c000]
[ 736.403549] perl[4015]: segfault at 5 ip 00007fdb05776747 sp
00007ffea22124d0 error 4 in Util.so[7fdb0576d000+c000]
Not much to go on, I know, but has anyone got this combination working, or
alternatively have any more experience of this problem?
Thanks
Max
Max Caines | Network Design Consultant | IT Services | University of
Wolverhampton | 01902 322245 | 07976 841874
For contact details and general information on IT Services please visit
http://www.wlv.ac.uk/its This email, together with any attachment, is for the
exclusive and confidential use of the addressee(s) and may contain legally
privileged information. If you receive this email in error, please visit
http://www.wlv.ac.uk/ITS-disclaimer . Please consider the environment before
printing this e-mail.
--- End Message ---
--- Begin Message ---
Hi max
This is the issue I think:
https://github.com/netdisco/netdisco/wiki/Troubleshooting#after-os-update-or-upgrade-netdisco-fails
Oliver.
Sent from the moon.
> On 23 Oct 2018, at 16:19, Caines, Max <[email protected]> wrote:
>
> Hi
>
> I have an installation of Netdisco which started off as a VM appliance from
> “wokka.org”, but has since been updated. The VM was built using Ubuntu 14.04
> LTS, so I felt it was about time I upgraded to 16 or even 18. I backed it up
> first, and then ran “do-release-upgrade” to get to 16.04 LTS. This appeared
> to work, but when I started Netdisco vis the INIT script, it failed with a
> segmentation fault. Unfortunately the ESX host was short of resources, so
> couldn’t afford to keep it, and replaced it with the backup, but I do have
> the lines from “dmesg” that record the fault. They are:
>
> [ 7.767120] perl[663]: segfault at 5 ip 00007f598376e747 sp
> 00007ffd2ff613a0 error 4 in Util.so[7f5983765000+c000]
> [ 7.767135] perl[689]: segfault at 5 ip 00007ff1765ce747 sp
> 00007ffe09d6f120 error 4 in Util.so[7ff1765c5000+c000]
> [ 609.241536] perl[3954]: segfault at 5 ip 00007fd444970747 sp
> 00007ffdf2e73140 error 4 in Util.so[7fd444967000+c000]
> [ 628.722769] perl[3973]: segfault at 5 ip 00007fb6a6ec1747 sp
> 00007ffc332597e0 error 4 in Util.so[7fb6a6eb8000+c000]
> [ 634.535546] perl[3981]: segfault at 5 ip 00007ff5e6977747 sp
> 00007ffefb3a71c0 error 4 in Util.so[7ff5e696e000+c000]
> [ 722.718782] perl[4012]: segfault at 5 ip 00007f1227fde747 sp
> 00007ffcf4802820 error 4 in Util.so[7f1227fd5000+c000]
> [ 736.403549] perl[4015]: segfault at 5 ip 00007fdb05776747 sp
> 00007ffea22124d0 error 4 in Util.so[7fdb0576d000+c000]
>
> Not much to go on, I know, but has anyone got this combination working, or
> alternatively have any more experience of this problem?
>
> Thanks
>
> Max
>
> Max Caines | Network Design Consultant | IT Services | University of
> Wolverhampton | 01902 322245 | 07976 841874
>
> For contact details and general information on IT Services please visit
> http://www.wlv.ac.uk/its This email, together with any attachment, is for the
> exclusive and confidential use of the addressee(s) and may contain legally
> privileged information. If you receive this email in error, please visit
> http://www.wlv.ac.uk/ITS-disclaimer . Please consider the environment before
> printing this e-mail.
>
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
--- End Message ---
--- Begin Message ---
Hi Enrico
>> I need to check arp address vs IP, in particular I'd like to store both
>> of them.
>> Also can I use netdisco to send me a notify when there are some changes ?
I don't know what Arpwatch exactly does, but it sounds like you want to
know when a mac and ip pair (dis)appeared on your network?
I don't think Netdisco currently has the option to notify you, but the
information is there. In the database, you can find a table called
node_ip that looks like this:
Table "public.node_ip"
Column | Type | Modifiers
------------+-----------------------------+---------------
mac | macaddr | not null
ip | inet | not null
active | boolean |
time_first | timestamp without time zone | default now()
time_last | timestamp without time zone | default now()
dns | text |
It's essentially a log of the ARP tables on your devices.
However, depending on your network size, this table will be very big, so
notifying every chance might be overkill. If you want to see what
changed in the last day, you could use a query similar to:
-- new arp entries
select 'new arp entry' entrytype, mac, ip, dns,
to_char(time_first, 'YYYY-MM-DD HH24:MI') time_first,
to_char(time_last, 'YYYY-MM-DD HH24:MI') time_last
from node_ip where time_first > current_timestamp - '24
hours'::interval
union
-- arp entries that disappeared in the last 24 hours
select 'vanished arp entry', mac, ip, dns,
to_char(time_first, 'YYYY-MM-DD HH24:MI') time_first,
to_char(time_last, 'YYYY-MM-DD HH24:MI') time_last
from node_ip where time_last between current_timestamp - '48
hours'::interval and current_timestamp - '24 hours'::interval
order by 1,2,3
Which will get you a list of all recently appeared or no longer visible
mac:ip pairs in the following format (I shortened most columns to
prevent line-wrap):
type | mac | ip | dns | time_first | time_last
------+-------+---------+--------+----------------+---------------
new | d4:.. | 10...80 | x1.dns | 18-10-23 04:50 | 18-10-23 21:19
new | 00:.. | 10...38 | x9.dns | 18-10-23 05:04 | 18-10-23 21:04
vanish| aa:.. | 12...22 | x2.dns | 17-12-01 04:32 | 18-10-22 21:19
vanish| a2:.. | 10...19 | x8.dns | 16-01-19 20:33 | 18-10-22 14:50
I hope that's kinda what you had in mind. If so, to connect to the
database, use "netdisco-do psql". Then with some elementary shell
scripting, you can mail the changes daily somewhere by putting a command
like this crontab:
netdisco-do psql -e query.sql | mail -s "Netdisco Report" me@domain
Cheers
Christian
On 22.10.18 12:02, Enrico Becchetti wrote:
> Dear all,
> I'm using Netdisco from some years and it works fine but now to manage
> my lan
> Thanks a lot
> Best Regards
> Enrico
>
>
> _______________________________________________
> Netdisco mailing list
> [email protected]
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users