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: how to modify report: add column to ip inventory
(Adrian Sevcenco)
--- Begin Message ---
On 5/11/20 11:22 AM, Christian Ramseyer wrote:
Hi
Hi!
On 08.05.20 10:57, Adrian Sevcenco wrote:
lib/App/Netdisco/Web/Plugin/Report/IpInventory.pm
share/views/ajax/report/ipinventory.tt
share/views/ajax/report/ipinventory_csv.tt
so, i tried these files and, while i doubt is related to, now i have an
empty netdisco installation.
Yes sounds unlikely to be the cause, excluding some freak accident :)
the postgres tables seem to be fine, in the netdisco logs i have no
errors and i spent days trying to debug this ...
is there a increase debug info option for both backend and web services?
I think it's easiest to use the netdisco-do command to see what's really
going on. It has various debug switches [-DISQ]. To see you can still
discover a device:
netdisco-do discover -D -d <ip>
Same for macsuck and arpnip actions.
Then if this terminates without error, you can check what ended up in
the database:
netdisco-do psql, then in the sql prompt:
select * from device where ip = '<ip>';
To get debug output from the gui, you can start it in the foreground on
an alternate port like this:
./localenv starman ./netdisco-web-fg \
--workers=1 --disable-keepalive -p 7000
Then point your browser at localhost:7000
Hard to tell what really happened, but if you play around with these a
little bit and see anything suspicious, that might help further.
You might also want to check your config for the schedule, device_auth
and database sections, to see if you're talking to the DB and devices
thanks a lot for help and info!!
it turns out that i had an paste typo with a device_auth that was empty..
so, it would seem that now some data is collected through snmp but
1. i have no ip inventory
2. there are 2 dell switches where the lldp info does not see them as
linked even if i have this:
CORE-HPC01# show lldp neighbors interface ethernet 1/1/55
Loc PortID Rem Host Name Rem Port Id
Rem Chassis Id
--------------------------------------------------------------------------------------
ethernet1/1/55 CORE-HPC02 ethernet1/1/55
8c:04:ba:ea:97:40
CORE-HPC02# show lldp neighbors interface ethernet 1/1/55
Loc PortID Rem Host Name Rem Port Id
Rem Chassis Id
--------------------------------------------------------------------------------------
ethernet1/1/55 CORE-HPC01 ethernet1/1/55
8c:04:ba:ea:8f:40
my configuration can be view here:
https://stikked.web.cern.ch/stikked/view/f734ebaa
could someone knowledgeable take a look? are there any obvious problems?
i tried netdisco-do arpnip -D -d 127.0.0.1
but all i get is:
"Don't know device: 127.0.0.1"
Any idea where could be the problem?
Thanks a lot!
Adrian
you expect. Maybe also check if netdisco-backend is still running and
started on boot (the processes show as e.g. "nd2: #4 poll: idle" in ps
output).
Just some stabs in the dark..
Cheers
Christian
--
----------------------------------------------
Adrian Sevcenco, Ph.D. |
Institute of Space Science - ISS, Romania |
adrian.sevcenco at {cern.ch,spacescience.ro} |
----------------------------------------------
smime.p7s
Description: S/MIME Cryptographic Signature
--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users