root@netdb:~# netdbctl -ud -v -debug 3
Thu Aug 25 10:01:21 2016: netdbctl(2586): NetDB Debug Level: 3
Thu Aug 25 10:01:21 2016: netdbctl(2586): Parsing Devices from Big
Brother (optional)
Thu Aug 25 10:01:21 2016: netdbctl(2586): Running netdbscraper on devices
Thu Aug 25 10:01:21 2016: netdbctl(2586): netdbscraper.pl(2589): Parent
spawning 20 processes with 0.5s delay
Thu Aug 25 10:01:21 2016: netdbctl(2586): |DEBUG|: Device: 10, fqdn:
10.XXX.XXX.XXX, mac: 1, wifi: , arp: 1, vrfs: , ipv6: , devtype:
procurvehp, authgroup:
Thu Aug 25 10:01:21 2016: netdbctl(2586): |DEBUG|: Device: 10, fqdn:
10.XXX.XXX.XXX, mac: 1, wifi: , arp: 1, vrfs: , ipv6: , devtype:
procurvehp, authgroup:
Thu Aug 25 10:01:21 2016: netdbctl(2586): netdbscraper.pl(2590): Child
executing: /opt/netdb/netdbscraper/procurvehpscraper.pl -debug 3 -d
10.XXX.XXX.XXX,devtype=procurvehp,arp,devtype=procurvehp -conf
/etc/netdb.conf -pn
Thu Aug 25 10:01:21 2016: netdbctl(2586): |DEBUG|: Device: 10, fqdn:
10.XXX.XXX.XXX, mac: 1, wifi: , arp: 1, vrfs: , ipv6: , devtype:
procurvehp, authgroup:
Thu Aug 25 10:01:21 2016: netdbctl(2586): procurvehpscraper.pl(2591):
Connecting to device 10.XXX.XXX.XXX
Thu Aug 25 10:01:54 2016: netdbctl(2586): procurvehpscraper.pl(2591):
Getting the MAC Table on 10.XXX.XXX.XXX
Thu Aug 25 10:02:05 2016: netdbctl(2586): procurvehpscraper.pl(2591):
|Warning|: No mac-address table data received from 10: Use netdbctl
-debug 3 or higher for more info, or disable mac-address tables on 10 in
the devicelist.csv with nomac if mac table unsupported on this device.
Thu Aug 25 10:02:05 2016: netdbctl(2586): DEBUG: Bad mac-table-data:
Thu Aug 25 10:02:05 2016: netdbctl(2586): show mac-address
Thu Aug 25 10:02:05 2016: netdbctl(2586): ^
Thu Aug 25 10:02:05 2016: netdbctl(2586): % Unrecognized command found
at '^' position.
Thu Aug 25 10:02:05 2016: netdbctl(2586): <HP 1920G="" Switch="">
Thu Aug 25 10:02:05 2016: netdbctl(2586): procurvehpscraper.pl(2591):
Getting the Interface Status Table on 10.XXX.XXX.XXX
Thu Aug 25 10:02:16 2016: netdbctl(2586): procurvehpscraper.pl(2591):
|Warning|: No int-status table data received from 10: Use netdbctl
-debug 3 or higher for more info, or disable int-status tables on 10 in
the devicelist.csv with noint if int status unsupported on this device.
Thu Aug 25 10:02:16 2016: netdbctl(2586): DEBUG: Bad int-status-data:
Thu Aug 25 10:02:16 2016: netdbctl(2586): show interfaces custom all
status enabled port:16 vlan:5 name:32 speed:7
Thu Aug 25 10:02:16 2016: netdbctl(2586): ^
Thu Aug 25 10:02:16 2016: netdbctl(2586): % Unrecognized command found
at '^' position.
Thu Aug 25 10:02:16 2016: netdbctl(2586): <HP 1920G="" Switch="">
Thu Aug 25 10:02:16 2016: netdbctl(2586): procurvehpscraper.pl(2591):
Getting the ARP Table on 10.XXX.XXX.XXX
Thu Aug 25 10:02:27 2016: netdbctl(2586): procurvehpscraper.pl(2591):
|ERROR|: No ARP table data received from 10 (use netdbctl -debug 2 for
more info)
Thu Aug 25 10:02:27 2016: netdbctl(2586): DEBUG: Bad ARP Table Data
Received: show vlans custom id state
Thu Aug 25 10:02:27 2016: netdbctl(2586): ^
Thu Aug 25 10:02:27 2016: netdbctl(2586): % Unrecognized command found
at '^' position.
Thu Aug 25 10:02:27 2016: netdbctl(2586): <HP 1920G="" Switch="">procurvehpscraper.pl(2591): Getting the Neighbor Discovery Table
on 10.XXX.XXX.XXX
Thu Aug 25 10:02:38 2016: netdbctl(2586): procurvehpscraper.pl(2591):
Cleaning Trunk Data on 10.XXX.XXX.XXX
Thu Aug 25 10:02:38 2016: netdbctl(2586): Warning: Empty mac table
passed to cleanTrunks
Thu Aug 25 10:02:38 2016: netdbctl(2586): procurvehpscraper.pl(2591):
Writing Data to Disk on 10.XXX.XXX.XXX
Thu Aug 25 10:02:38 2016: netdbctl(2586): netdbscraper.pl(2589): Parent
waiting on 0 processes to finish
Thu Aug 25 10:02:38 2016: netdbctl(2586): netdbscraper.pl(2589): Parent
Complete
Thu Aug 25 10:02:38 2016: netdbctl(2586): NetDB update complete
Martins.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
How can I add HP switch 1920?
I get such error:
root@netdb:~# netdbctl -ud -v -debug 3
Thu Aug 25 10:01:21 2016: netdbctl(2586): NetDB Debug Level: 3
Thu Aug 25 10:01:21 2016: netdbctl(2586): Parsing Devices from Big
Brother (optional)
Thu Aug 25 10:01:21 2016: netdbctl(2586): Running netdbscraper on devices
Thu Aug 25 10:01:21 2016: netdbctl(2586): netdbscraper.pl(2589): Parent
spawning 20 processes with 0.5s delay
Thu Aug 25 10:01:21 2016: netdbctl(2586): |DEBUG|: Device: 10, fqdn:
10.XXX.XXX.XXX, mac: 1, wifi: , arp: 1, vrfs: , ipv6: , devtype:
procurvehp, authgroup:
Thu Aug 25 10:01:21 2016: netdbctl(2586): |DEBUG|: Device: 10, fqdn:
10.XXX.XXX.XXX, mac: 1, wifi: , arp: 1, vrfs: , ipv6: , devtype:
procurvehp, authgroup:
Thu Aug 25 10:01:21 2016: netdbctl(2586): netdbscraper.pl(2590): Child
executing: /opt/netdb/netdbscraper/procurvehpscraper.pl -debug 3 -d
10.XXX.XXX.XXX,devtype=procurvehp,arp,devtype=procurvehp -conf
/etc/netdb.conf -pn
Thu Aug 25 10:01:21 2016: netdbctl(2586): |DEBUG|: Device: 10, fqdn:
10.XXX.XXX.XXX, mac: 1, wifi: , arp: 1, vrfs: , ipv6: , devtype:
procurvehp, authgroup:
Thu Aug 25 10:01:21 2016: netdbctl(2586): procurvehpscraper.pl(2591):
Connecting to device 10.XXX.XXX.XXX
Thu Aug 25 10:01:54 2016: netdbctl(2586): procurvehpscraper.pl(2591):
Getting the MAC Table on 10.XXX.XXX.XXX
Thu Aug 25 10:02:05 2016: netdbctl(2586): procurvehpscraper.pl(2591):
|Warning|: No mac-address table data received from 10: Use netdbctl
-debug 3 or higher for more info, or disable mac-address tables on 10 in
the devicelist.csv with nomac if mac table unsupported on this device.
Thu Aug 25 10:02:05 2016: netdbctl(2586): DEBUG: Bad mac-table-data:
Thu Aug 25 10:02:05 2016: netdbctl(2586): show mac-address
Thu Aug 25 10:02:05 2016: netdbctl(2586): ^
Thu Aug 25 10:02:05 2016: netdbctl(2586): % Unrecognized command found
at '^' position.
Thu Aug 25 10:02:05 2016: netdbctl(2586): <HP 1920G="" Switch="">
Thu Aug 25 10:02:05 2016: netdbctl(2586): procurvehpscraper.pl(2591):
Getting the Interface Status Table on 10.XXX.XXX.XXX
Thu Aug 25 10:02:16 2016: netdbctl(2586): procurvehpscraper.pl(2591):
|Warning|: No int-status table data received from 10: Use netdbctl
-debug 3 or higher for more info, or disable int-status tables on 10 in
the devicelist.csv with noint if int status unsupported on this device.
Thu Aug 25 10:02:16 2016: netdbctl(2586): DEBUG: Bad int-status-data:
Thu Aug 25 10:02:16 2016: netdbctl(2586): show interfaces custom all
status enabled port:16 vlan:5 name:32 speed:7
Thu Aug 25 10:02:16 2016: netdbctl(2586): ^
Thu Aug 25 10:02:16 2016: netdbctl(2586): % Unrecognized command found
at '^' position.
Thu Aug 25 10:02:16 2016: netdbctl(2586): <HP 1920G="" Switch="">
Thu Aug 25 10:02:16 2016: netdbctl(2586): procurvehpscraper.pl(2591):
Getting the ARP Table on 10.XXX.XXX.XXX
Thu Aug 25 10:02:27 2016: netdbctl(2586): procurvehpscraper.pl(2591):
|ERROR|: No ARP table data received from 10 (use netdbctl -debug 2 for
more info)
Thu Aug 25 10:02:27 2016: netdbctl(2586): DEBUG: Bad ARP Table Data
Received: show vlans custom id state
Thu Aug 25 10:02:27 2016: netdbctl(2586): ^
Thu Aug 25 10:02:27 2016: netdbctl(2586): % Unrecognized command found
at '^' position.
Thu Aug 25 10:02:27 2016: netdbctl(2586): <HP 1920G="" Switch="">procurvehpscraper.pl(2591): Getting the Neighbor Discovery Table
on 10.XXX.XXX.XXX
Thu Aug 25 10:02:38 2016: netdbctl(2586): procurvehpscraper.pl(2591):
Cleaning Trunk Data on 10.XXX.XXX.XXX
Thu Aug 25 10:02:38 2016: netdbctl(2586): Warning: Empty mac table
passed to cleanTrunks
Thu Aug 25 10:02:38 2016: netdbctl(2586): procurvehpscraper.pl(2591):
Writing Data to Disk on 10.XXX.XXX.XXX
Thu Aug 25 10:02:38 2016: netdbctl(2586): netdbscraper.pl(2589): Parent
waiting on 0 processes to finish
Thu Aug 25 10:02:38 2016: netdbctl(2586): netdbscraper.pl(2589): Parent
Complete
Thu Aug 25 10:02:38 2016: netdbctl(2586): NetDB update complete
Martins.