[rancid] Problems collecting configs
Clarke.Wardle at synetrix.co.uk
Clarke.Wardle at synetrix.co.uk
Fri Jan 7 10:02:02 UTC 2011
Hi All,
Has anyone come across this please as I have no clue where to start.
We have 2 system which have just started to play up they used to collect configs now only the following for each device and no config info.
Currently collected config:
!RANCID-CONTENT-TYPE: cisco
!
!Chassis type: 7206VXR - a 7200 router
!CPU: NPE-G1, SB-1 CPU at 700Mhz, impl 1025, Rev 0.2, 512KB L2 Cache
!
!Memory: main 983040K/65536K
!Memory: nvram 509K
!Memory: bootflash 16384K
!Memory: pcmcia ATA slot2 125952K
!
!Processor ID: 33288040
!
!Power: Power Supply 1 is Zytek AC Power Supply. Unit is on.
!Power: Power Supply 2 is Zytek AC Power Supply. Unit is on.
!
!Image: Software: C7200-K91P-M, 12.2(25)S5, RELEASE SOFTWARE (fc1)
!Image: Compiled: Thu 23-Jun-05 03:38 by ccai
!Image: disk2:c7200-k91p-mz.122-25.S5.bin
!
!ROM Bootstrap: Version 12.3(4r)T1, RELEASE SOFTWARE (fc1)
!BOOTLDR: Version 12.3(9), RELEASE SOFTWARE (fc2)
!
!
!
!Variable: BOOT variable = disk2:c7200-k91p-mz.122-25.S5.bin,1;
!Variable: CONFIG_FILE variable does not exist
!Variable: BOOTLDR variable does not exist
When I do a clogin <device fqdn> to the device it works perfectly and I can then do a showrun and it lists the config perfectly
Checking the logs for the automated run I can see I keep getting stuff like
!
write(spawn_id=1): broken pipe
while executing
"send_user -- "$expect_out(buffer)""
invoked from within
"expect -nobrace -re+ { exp_continue } -re {^[^
*]*DSI069([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} { send_user -- "$expect_out(buffer)"
} -re {^[^
..."
invoked from within
"expect {
-re "\b+" { exp_continue }
-re "^\[^\n\r *]*$reprompt" { send_user -- "$expect_out(buffer)"
}
-re "^\[^\n\r]*$reprom..."
(procedure "run_commands" line 39)
invoked from within
"run_commands $prompt $command"
("foreach" body line 155)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
# attempt at platform switching.
set platform ""
send_user ..."
(file "/data/rancid/bin/clogin" line 722)
Device_name.local: missed cmd(s): dir /all slavedisk2:,dir /all sec-slot2:,show diag,dir /all disk1:,dir /all sec-nvram:,dir /all disk2:,dir /all sec-bootflash:,show spe v
ersion,dir /all slaveslot2:,dir /all disk0:,dir /all slaveslot0:,dir /all sec-slot1:,dir /all harddiska:,dir /all slavenvram:,dir /all sec-disk2:,dir /all slavesup-bootflash:,dir /all sec-di
sk0:,dir /all harddiskb:,show inventory raw,dir /all slavedisk1:,show module,show controllers,show diagbus,more system:running-config,dir /all slavedisk0:,show debug,dir /all bootflash:,dir
/all sec-slot0:,dir /all sec-disk1:,write term,show vtp status,dir /all sup-bootflash:,dir /all slot2:,dir /all harddisk:,dir /all slot0:,dir /all sup-microcode:,show vlan,dir /all slaveboot
flash:,show controllers cbus,dir /all slaveslot1:,show vlan-switch,show running-config,show c7200,dir /all slot1:
Device_name.local: End of run not found
Can anyone help with this please?
Thanks Clarke
----------------------------------------------------------------------------------------------------------
Synetrix Holdings Limited
Tel: +44 (0)1252 405 600
www.synetrix.co.uk
Synetrix (Holdings) Limited is a limited company registered in England and Wales. Registered number: 0349 1956. VAT number: GB776 1259 07. Registered office: Synetrix (Holdings) Ltd, 17-19 Rochester Row, London, SW1P 1QT.
IMPORTANT NOTICE:
This message is intended solely for the use of the Individual or organisation to whom it is addressed. It may contain privileged or confidential information. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you should not use, copy, alter, or disclose the contents of this message. All information or opinions expressed in this message and/or any attachments are those of the author and are not necessarily those of Synetrix Holdings Limited. Synetrix Holdings Limited accepts no responsibility for loss or damage arising from its use, including damage from virus.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20110107/47399b12/attachment.html>
More information about the Rancid-discuss
mailing list