i have installed the OVF Version of netdb, we get problems to collect data from the switches, the connection is working but the enable command dont work, the password is setting correct in the config file, but i seems that the program places a command not in the right place, see attached log:
Wed Dec 16 16:11:03 2015: netdbctl(8914): NetDB update complete
Wed Dec 16 16:13:47 2015: netdbctl(9020): NetDB Debug Level: 10
Wed Dec 16 16:13:47 2015: netdbctl(9020): Parsing Devices from Big Brother (optional)
Wed Dec 16 16:13:47 2015: netdbctl(9020): Running netdbscraper on devices
Wed Dec 16 16:13:48 2015: netdbctl(9020): |DEBUG|: Helper Loading Alternate Config File: /etc/netdb.conf
Wed Dec 16 16:13:48 2015: netdbctl(9020): debug mode ON at /opt/netdb/netdbscraper/netdbscraper.pl line 244
Wed Dec 16 16:13:48 2015: netdbctl(9020): trace mode ON at /opt/netdb/netdbscraper/netdbscraper.pl line 245
Wed Dec 16 16:13:48 2015: netdbctl(9020): netdbscraper.pl(9023): Parent spawning 20 processes with 0.5s delay
Wed Dec 16 16:13:48 2015: netdbctl(9020): |DEBUG|: Device: router0101, fqdn: router0101.fqdn.tld, mac: 1, wifi: , arp: , vrfs: , ipv6: , devtype: brocade, authgroup:
Wed Dec 16 16:13:48 2015: netdbctl(9020): Proc::Queue::fork called at /opt/netdb/netdbscraper/netdbscraper.pl line 262
Wed Dec 16 16:13:48 2015: netdbctl(9020): Proc::Queue::_fork called at /opt/netdb/netdbscraper/netdbscraper.pl line 262
Wed Dec 16 16:13:48 2015: netdbctl(9020): Child forked (pid=9024), 1 processes running now at /opt/netdb/netdbscraper/netdbscraper.pl line 262
Wed Dec 16 16:13:48 2015: netdbctl(9020): Proc::Queue::waitpid called at /opt/netdb/netdbscraper/netdbscraper.pl line 280
Wed Dec 16 16:13:48 2015: netdbctl(9020): Proc::Queue::_waitpid(-1,1) private function called at /opt/netdb/netdbscraper/netdbscraper.pl line 280
Wed Dec 16 16:13:48 2015: netdbctl(9020): Waiting for child process -1 to exit at /opt/netdb/netdbscraper/netdbscraper.pl line 280
Wed Dec 16 16:13:48 2015: netdbctl(9020): Unknow process 0 has exited, ignoring it at /opt/netdb/netdbscraper/netdbscraper.pl line 280
Wed Dec 16 16:13:48 2015: netdbctl(9020): |DEBUG|: Device: router0102, fqdn: router0102.fqdn.tld, mac: 1, wifi: , arp: , vrfs: , ipv6: , devtype: brocade, authgroup: brocade
Wed Dec 16 16:13:48 2015: netdbctl(9020): Proc::Queue::fork called at /opt/netdb/netdbscraper/netdbscraper.pl line 262
Wed Dec 16 16:13:48 2015: netdbctl(9020): Proc::Queue::_fork called at /opt/netdb/netdbscraper/netdbscraper.pl line 262
Wed Dec 16 16:13:48 2015: netdbctl(9020): Delaying 0.496855020523071 seconds before forking at /opt/netdb/netdbscraper/netdbscraper.pl line 262
Wed Dec 16 16:13:48 2015: netdbctl(9020): Process 9024 now running at /opt/netdb/netdbscraper/netdbscraper.pl line 262
Wed Dec 16 16:13:48 2015: netdbctl(9020): PARENT: Forked 9024 on router0101
Wed Dec 16 16:13:48 2015: netdbctl(9020): |DEBUG|: Device: router0101, fqdn: router0101.fqdn.tld, mac: 1, wifi: , arp: , vrfs: , ipv6: , devtype: brocade, authgroup:
Wed Dec 16 16:13:48 2015: netdbctl(9020): netdbscraper.pl(9024): Child executing: /opt/netdb/netdbscraper/brocadescraper.pl -debug 10 -d router0101.fqdn.tld,authgrop=brocade,devtype=brocade,devtype=brocade -conf /etc/netdb.conf -pn
Wed Dec 16 16:13:48 2015: netdbctl(9020): |DEBUG|: Helper Loading Alternate Config File: /etc/netdb.conf
Wed Dec 16 16:13:48 2015: netdbctl(9020): |DEBUG|: Device: router0101, fqdn: router0101.fqdn.tld, mac: 1, wifi: , arp: , vrfs: , ipv6: , devtype: brocade, authgroup:
Wed Dec 16 16:13:48 2015: netdbctl(9020): brocadescraper.pl(9025): Connecting to router0101.fqdn.tld using SSH(1) Telnet(1)...
Wed Dec 16 16:13:48 2015: netdbctl(9020): brocadescraper.pl(9025): |DEBUG|: DNS Lookup returned 192.168.10.30 for router0101.fqdn.tld
Wed Dec 16 16:13:48 2015: netdbctl(9020): |DEBUG|: Testing port 22 on 192.168.10.30 for open state
Wed Dec 16 16:13:48 2015: netdbctl(9020): 192.168.10.30 SSH port open
Wed Dec 16 16:13:48 2015: netdbctl(9020): |DEBUG|: Host Prompt to wait for: ((SSH|admin)@)?router0101(.config)?(\-if)?(.)?(>|#)
Wed Dec 16 16:13:48 2015: netdbctl(9020): |SSH|: Logging in to router0101.fqdn.tld (timeout: 10)
Wed Dec 16 16:13:48 2015: netdbctl(9020): Child forked (pid=9027), 2 processes running now at /opt/netdb/netdbscraper/netdbscraper.pl line 262
Wed Dec 16 16:13:48 2015: netdbctl(9020): Proc::Queue::waitpid called at /opt/netdb/netdbscraper/netdbscraper.pl line 280
Wed Dec 16 16:13:48 2015: netdbctl(9020): Proc::Queue::_waitpid(-1,1) private function called at /opt/netdb/netdbscraper/netdbscraper.pl line 280
Wed Dec 16 16:13:48 2015: netdbctl(9020): Waiting for child process -1 to exit at /opt/netdb/netdbscraper/netdbscraper.pl line 280
Wed Dec 16 16:13:48 2015: netdbctl(9020): Unknow process 0 has exited, ignoring it at /opt/netdb/netdbscraper/netdbscraper.pl line 280
Wed Dec 16 16:13:48 2015: netdbctl(9020): Process 9027 now running at /opt/netdb/netdbscraper/netdbscraper.pl line 262
Wed Dec 16 16:13:48 2015: netdbctl(9020): PARENT: Forked 9027 on router0102
Wed Dec 16 16:13:48 2015: netdbctl(9020): |DEBUG|: Device: router0102, fqdn: router0102.fqdn.tld, mac: 1, wifi: , arp: , vrfs: , ipv6: , devtype: brocade, authgroup: brocade
Wed Dec 16 16:13:48 2015: netdbctl(9020): netdbscraper.pl(9027): Child executing: /opt/netdb/netdbscraper/brocadescraper.pl -debug 10 -d router0102.fqdn.tld,authgroup=brocade,devtype=brocade,devtype=brocade -conf /etc/netdb.conf -pn
Wed Dec 16 16:13:48 2015: netdbctl(9020): Proc::Queue::wait called at /opt/netdb/netdbscraper/netdbscraper.pl line 296
Wed Dec 16 16:13:48 2015: netdbctl(9020): Proc::Queue::_wait private function called at /opt/netdb/netdbscraper/netdbscraper.pl line 296
Wed Dec 16 16:13:48 2015: netdbctl(9020): Waiting for child processes to exit at /opt/netdb/netdbscraper/netdbscraper.pl line 296
Wed Dec 16 16:13:48 2015: netdbctl(9020): |DEBUG|: Helper Loading Alternate Config File: /etc/netdb.conf
Wed Dec 16 16:13:48 2015: netdbctl(9020): |DEBUG|: Device: router0102, fqdn: router0102.fqdn.tld, mac: 1, wifi: , arp: , vrfs: , ipv6: , devtype: brocade, authgroup: brocade
Wed Dec 16 16:13:48 2015: netdbctl(9020): brocadescraper.pl(9028): Connecting to router0102.fqdn.tld using SSH(1) Telnet(1)...
Wed Dec 16 16:13:48 2015: netdbctl(9020): brocadescraper.pl(9028): |DEBUG|: DNS Lookup returned 192.168.151.30 for router0102.fqdn.tld
Wed Dec 16 16:13:48 2015: netdbctl(9020): |DEBUG|: Testing port 22 on 192.168.151.30 for open state
Wed Dec 16 16:13:48 2015: netdbctl(9020): 192.168.151.30 SSH port open
Wed Dec 16 16:13:48 2015: netdbctl(9020): |DEBUG|: router0102 in authgroup brocade
Wed Dec 16 16:13:48 2015: netdbctl(9020): |DEBUG|: Host Prompt to wait for: ((SSH|admin)@)?router0102(.config)?(\-if)?(.)?(>|#)
Wed Dec 16 16:13:48 2015: netdbctl(9020): |SSH|: Logging in to router0102.fqdn.tld (timeout: 10)
Wed Dec 16 16:13:58 2015: netdbctl(9020): |DEBUG|: Logged in to router0101.fqdn.tld, setting skip-page-display
Wed Dec 16 16:13:58 2015: netdbctl(9020): SSHCommand (command:skip-page-display) (timeout:10) (hostprompt:((SSH|admin)@)?router0101(.config)?(\-if)?(.)?(>|#))
Wed Dec 16 16:13:59 2015: netdbctl(9020): |DEBUG|: Logged in to router0102.fqdn.tld, setting skip-page-display
Wed Dec 16 16:13:59 2015: netdbctl(9020): SSHCommand (command:skip-page-display) (timeout:10) (hostprompt:((SSH|admin)@)?router0102(.config)?(\-if)?(.)?(>|#))
Wed Dec 16 16:14:09 2015: netdbctl(9020): |DEBUG|: Login: skip-page-display
Wed Dec 16 16:14:09 2015: netdbctl(9020):
Wed Dec 16 16:14:09 2015: netdbctl(9020): Invalid input -> skip-page-display
Wed Dec 16 16:14:09 2015: netdbctl(9020): Type ? for a list
Wed Dec 16 16:14:09 2015: netdbctl(9020): SSH@c.DEFL164>
Wed Dec 16 16:14:09 2015: netdbctl(9020): brocadescraper.pl(9025): Connecting to device router0101.fqdn.tld
Wed Dec 16 16:14:09 2015: netdbctl(9020): brocadescraper.pl(9025): Getting MAC Table on router0101.fqdn.tld
Wed Dec 16 16:14:09 2015: netdbctl(9020): SSHCommand (command:show mac-address) (timeout:10) (hostprompt:((SSH|admin)@)?router0101(.config)?(\-if)?(.)?(>|#))
Wed Dec 16 16:14:10 2015: netdbctl(9020): |DEBUG|: Login: skip-page-display
Wed Dec 16 16:14:10 2015: netdbctl(9020):
Wed Dec 16 16:14:10 2015: netdbctl(9020): Invalid input -> skip-page-display
Wed Dec 16 16:14:10 2015: netdbctl(9020): Type ? for a list
Wed Dec 16 16:14:10 2015: netdbctl(9020): SSH@C.DEFL543>
Wed Dec 16 16:14:10 2015: netdbctl(9020): brocadescraper.pl(9028): Connecting to device router0102.fqdn.tld
Wed Dec 16 16:14:10 2015: netdbctl(9020): brocadescraper.pl(9028): Getting MAC Table on router0102.fqdn.tld
Wed Dec 16 16:14:10 2015: netdbctl(9020): SSHCommand (command:show mac-address) (timeout:10) (hostprompt:((SSH|admin)@)?router0102(.config)?(\-if)?(.)?(>|#)
The Step:
Wed Dec 16 16:14:09 2015: netdbctl(9020): |DEBUG|: Login: skip-page-display
Wed Dec 16 16:14:09 2015: netdbctl(9020):
Wed Dec 16 16:14:09 2015: netdbctl(9020): Invalid input -> skip-page-display
Wed Dec 16 16:14:09 2015: netdbctl(9020): Type ? for a list
is not correct, the command for a Brocade Device is corret, but that is not a login ... Is it possible to fix it?
Thanks for your assist.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
i have installed the OVF Version of netdb, we get problems to collect data from the switches, the connection is working but the enable command dont work, the password is setting correct in the config file, but i seems that the program places a command not in the right place, see attached log:
The Step:
Wed Dec 16 16:14:09 2015: netdbctl(9020): |DEBUG|: Login: skip-page-display
Wed Dec 16 16:14:09 2015: netdbctl(9020):
Wed Dec 16 16:14:09 2015: netdbctl(9020): Invalid input -> skip-page-display
Wed Dec 16 16:14:09 2015: netdbctl(9020): Type ? for a list
is not correct, the command for a Brocade Device is corret, but that is not a login ... Is it possible to fix it?
Thanks for your assist.
ok, we have finish that in an other way, just one simple command to receive all MAC & ARP Lists without to need enter the evelation command:
in the config mode, make exactly that what we need :-) and we can skip the settings of the enable part