[rancid] powerconnect problem
Angelo Höngens
a.hongens at netmatch.nl
Fri Feb 4 18:24:05 UTC 2011
Hey,
I'm running rancid 2.3.6 on CentOS5.5..
I was running on old version of rancid, which worked perfectly for over
a year, but I was stupid enough to break it. (I trashed the vm and
installed a new clean CentOS machine to start fresh)
I'm monitoring cisco, hp and dell devices. Cisco and HP work fine, but I
have some problems with my dell devices (PowerConnect 6224 switches).
I'm running Ricky Ninja's dlogin and drancid scripts, the latest on his
site.
When I run dlogin interactively, it works fine:
-----------------------------------------------------
[rancid at til-bak-02 logs]$ dlogin -c "show ver"
wol-swi-a1.weeronlinecolo.local
wol-swi-a1.weeronlinecolo.local
spawn ssh -c 3des -x -l root wol-swi-a1.weeronlinecolo.local
root at wol-swi-a1.weeronlinecolo.local's password:
console>enable
console#
console#show ver
<..bla, correct output..]
1 2.2.0.3 2.2.0.3 image1 image1
2 2.2.0.3 2.2.0.3 image1 image1
console#exit
console>exit
^
% Invalid input detected at '^' marker.
console>quitReceived disconnect from 10.216.254.181: 11: Logout
[rancid at til-bak-02 logs]$
-----------------------------------------------------
As you can see, the command exits nicely (it sends an 'exit', and when
that gives an error it send a 'quit').
Hoewever, when running from rancid-run, it seems to hang. When I tail
the logfile, I see it logs in to the switch, it sends the enable
command, and then.. nothing, everything just hangs:
-----------------------------------------------------
wol-swi-a1.weeronlinecolo.local
spawn ssh -c 3des -x -l root wol-swi-a1.weeronlinecolo.local
root at wol-swi-a1.weeronlinecolo.local's password:
console>enable
console#
console#
-----------------------------------------------------
Does anyone have any clever ideas?
--
With kind regards,
Angelo Höngens
systems administrator
MCSE on Windows 2003
MCSE on Windows 2000
MS Small Business Specialist
------------------------------------------
NetMatch
tourism internet software solutions
Ringbaan Oost 2b
5013 CA Tilburg
+31 (0)13 5811088
+31 (0)13 5821239
A.Hongens at netmatch.nl
www.netmatch.nl
------------------------------------------
More information about the Rancid-discuss
mailing list