Hi,
I've got Spectrum 10.2.1 installed at my customer on 4 Windows 2012R2 machines (2 SS, 1 OC, 1 Jasper) and customer is using NCM to fetch configurations from monitored devices. I'm using custom device families to fetch configurations from Cisco ASA firewalls, BlueCoat devices,... So I've created a new device family for Cisco APIC devices, used the script from Cisco ASA device family and it doesn't work. I get SPC-OCC-10746 error. SPC-NCM-20007: Connection error: Use of uninitialized value in concatenation (.) or string at C:\Windows\TEMP\script_23 line 115. Host 10.1.1.1: Login has failed. Output: .
When I login to this device through Spectrum (right click - SSH), I log in successfully. The same is ok when I log in by using Putty for example, from Spectroserver.
When I try to capture configuration from command line with this script, I get the same login error. So there is some problem in the script itself, in the way it tries to log in to the device. How can I determine what's causing this and what should I change to get the script working for Cisco APIC? Just to repeat, this script is working for other custom device families. I'm attaching the script.
I've found some information about arguments which are used under "my $ssh = Net::SSH::Expect->new ( host => $deviceIP," and tried to use these for example:
ssh_option => '-1 -c 3DES' // tried to change authentication mode
debug => 1 // tried to turn on debugging
protocol => '1' // tried to change SSH version
But none of these worked.
Do you maybe have some advice or hint?
Regards