juniper being silly
john heasley
heas at shrubbery.net
Wed Oct 23 06:10:17 UTC 2002
hmm. now i suspect tcl or expect. try setting NOPIPE in bin/env and
letting the collection run.
Tue, Oct 22, 2002 at 10:52:47PM -0700, Randy Bush:
> yes, always at the same place. see appended
>
> and i succeed many many many times with the test you recommended
>
> % env | grep PIPE
> NOPIPE=YES
> % jrancid -d psg1.psg.com
> executing echo jlogin -c"show chassis clocks;show chassis environment;show chassis firmware;show chassis fpc detail;show chassis hardware detail;show chassis routing-engine;show chassis scb;show chassis sfm detail;show chassis ssb;show chassis feb;show system boot-messages;show version;show configuration" psg1.psg.com
> executing echo jlogin -c"show chassis clocks;show chassis environment;show chassis firmware;show chassis fpc detail;show chassis hardware detail;show chassis routing-engine;show chassis scb;show chassis sfm detail;show chassis ssb;show chassis feb;show system boot-messages;show version;show configuration" psg1.psg.com
> HIT COMMAND:rancid at psg1> show chassis clocks
> In ShowChassisClocks: rancid at psg1> show chassis clocks
> HIT COMMAND:rancid at psg1> show chassis environment
> In ShowChassisEnvironment: rancid at psg1> show chassis environment
> HIT COMMAND:rancid at psg1> show chassis firmware
> In ShowChassisFirmware: rancid at psg1> show chassis firmware
> HIT COMMAND:rancid at psg1> show chassis fpc detail
> In ShowChassisFpcDetail: rancid at psg1> show chassis fpc detail
> HIT COMMAND:rancid at psg1> show chassis hardware detail
> In ShowChassisHardware: rancid at psg1> show chassis hardware detail
> HIT COMMAND:rancid at psg1> show chassis routing-engine
> In ShowChassisRoutingEngine: rancid at psg1> show chassis routing-engine
> HIT COMMAND:rancid at psg1> show chassis scb
> In ShowChassisSCB: rancid at psg1> show chassis scb
> HIT COMMAND:rancid at psg1> show chassis sfm detail
> In ShowChassisSCB: rancid at psg1> show chassis sfm detail
> HIT COMMAND:rancid at psg1> show chassis ssb
> In ShowChassisSCB: rancid at psg1> show chassis ssb
> HIT COMMAND:rancid at psg1> show chassis feb
> In ShowChassisSCB: rancid at psg1> show chassis feb
> HIT COMMAND:rancid at psg1> show system boot-messages
> In ShowSystemBootMessages: rancid at psg1> show system boot-messages
> HIT COMMAND:rancid at psg1> show version
> In ShowVersion: rancid at psg1> show version
> HIT COMMAND:rancid at psg1> show configuration
> In ShowConfiguration: rancid at psg1> show configuration
> %
>
> but it is six hours since i managed to snatch a copy of psg1's config :-(
>
> randy
>
> ---
>
> starting: Tue Oct 22 22:15:00 PDT 2002
>
>
> Trying to get all of the configs.
> #
> psg1.psg.com jlogin error: Error: TIMEOUT reached
> psg1.psg.com: missed cmd(s): show chassis hardware detail,show chassis environment,show version,show chassis ssb,show chassis scb,show chassis sfm detail,show configuration,show chassis routing-engine,show chassis fpc detail,show chassis firmware,show chassis feb,show chassis clocks,show system boot-messages
> psg1.psg.com: End of run not found
> =====================================
> Getting missed routers: round 1.
> #
> psg1.psg.com jlogin error: Error: TIMEOUT reached
> psg1.psg.com: missed cmd(s): show chassis hardware detail,show chassis environment,show version,show chassis ssb,show chassis scb,show chassis sfm detail,show configuration,show chassis routing-engine,show chassis fpc detail,show chassis firmware,show chassis feb,show chassis clocks,show system boot-messages
> psg1.psg.com: End of run not found
> =====================================
> Getting missed routers: round 2.
> #
> psg1.psg.com jlogin error: Error: TIMEOUT reached
> psg1.psg.com: missed cmd(s): show chassis hardware detail,show chassis environment,show version,show chassis ssb,show chassis scb,show chassis sfm detail,show configuration,show chassis routing-engine,show chassis fpc detail,show chassis firmware,show chassis feb,show chassis clocks,show system boot-messages
> psg1.psg.com: End of run not found
> =====================================
> Getting missed routers: round 3.
> #
> psg1.psg.com jlogin error: Error: TIMEOUT reached
> psg1.psg.com: missed cmd(s): show chassis hardware detail,show chassis environment,show version,show chassis ssb,show chassis scb,show chassis sfm detail,show configuration,show chassis routing-engine,show chassis fpc detail,show chassis firmware,show chassis feb,show chassis clocks,show system boot-messages
> psg1.psg.com: End of run not found
> =====================================
> Getting missed routers: round 4.
> #
> psg1.psg.com jlogin error: Error: TIMEOUT reached
> psg1.psg.com: missed cmd(s): show chassis hardware detail,show chassis environment,show version,show chassis ssb,show chassis scb,show chassis sfm detail,show configuration,show chassis routing-engine,show chassis fpc detail,show chassis firmware,show chassis feb,show chassis clocks,show system boot-messages
> psg1.psg.com: End of run not found
>
> cvs diff: Diffing .
> cvs diff: Diffing configs
> cvs commit: Examining .
> cvs commit: Examining configs
>
> ending: Tue Oct 22 22:25:03 PDT 2002
More information about the Rancid-discuss
mailing list