[rancid] Re: Netscaler support

Brian Fitzpatrick brian_fitzpatrick at commander.com
Fri Jan 5 01:06:55 UTC 2007


Andy,

 

I would like to get a copy of the scripts for the Newer NetScaler as we
are running one here and would like to configure my rancid box to
capture the conf.  I would greatly appreciate it of you could send them
to me.

 

 

Regards

 

Brian Fitzpatrick

Senior Systems Consultant

Commander Communications

Brian_Fitzpatrick at commander.com

 

 

________________________________

From: rancid-discuss-bounces at shrubbery.net
[mailto:rancid-discuss-bounces at shrubbery.net] On Behalf Of Andy
Litzinger
Sent: Thursday, 4 January 2007 7:20 AM
To: rancid-discuss at shrubbery.net
Subject: [rancid] Netscaler support

 

On Tue Dec 5th, John A Kilpatrick wrote:

> Just out of curiosity has anyone got rancid working with version 6.1
or 
> later of the Netscaler software?  I'm having a similar problem to
others 
> in that it just hangs - not seeing the prompt it wants I guess.
 
> I'm wondering what previous versions of the software were like - if it

> dumped you into the FreeBSD shell (and that's what rancid is looking
for) 
> then sending the command "shell" after login would fix that.  But if 
> anyone has any other ideas I'd love to hear them.
 
> Thanks,
> John
 
I just got rancid working with Netscaler 6.1 build 96.  The previous
nslogin and nsrancid scripts were coded for direct login to the BSD
shell.  In 6.1 Netscaler got rid of the ability to log directly into the
shell.  6.1 also contains a new feature that allows a non-privileged CLI
user to be defined.  Further, you can restrict what commands this user
is allowed to run.  For example, it is now possible to create a user who
can login to the CLI and only issue the "show ns ns.conf" command which
is enough for rancid.  I've adjusted the scripts to rely on a CLI user
that has access to the CLI "sh ns ns.conf" command.
 
I'm not sure the best way to submit this code.  I'm not a programmer by
nature so I'm sure I've broken all kinds of conventions, but I have
tried to comment what I changed.  In general there were not many changes
to make, mostly some prompt issues and I cleaned out some unused and
previously commented code bit.  The changes are NOT compatible with the
NS 5.2 release so I'm not sure the scripts should even be put in the
main branch.  For now, I'm happy to email my copies to anyone that might
find them useful.
 
Thanks,
 Andy


----------------------------------------------------
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
----------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20070105/da631b0b/attachment.html 


More information about the Rancid-discuss mailing list