[rancid] Malfunction between rancid and HP 2910.
john heasley
heas at shrubbery.net
Mon Sep 19 20:04:16 UTC 2011
Fri, Sep 16, 2011 at 04:33:39PM +0200, Vincent LOUPIEN:
> Hello John,
>
> ----- Mail original -----
> > Fri, Sep 09, 2011 at 05:03:06PM +0200, Vincent LOUPIEN:
> > > Hi all,
> > >
> > > We replaced the old good HP Procurve 2650 by more resent HP Procurve
> > > 2910 and since, rancid refuse to backup theirs configurations, while
> > > this was going very well with 2650. All the parameters seem correct
> > > (telnet / ssh, password ...) and are becoming the same as for 2650.
> > >
> > > Debugging using clogin works very well but with the use of
> > > rancid-run in crond, it creates problems without messages/errors.
> >
> > hlogin is for hp switches with the hp o/s, which i think began as
> > procurve. test with that. else, look for errors in the group's log
> > file.
> When i execute hlogin (telnet connexion without user) , this is what i get (but no trace in the log in "/var/log/rancid/") :
> linux:/var/lib/rancid/bin# ./hlogin -c "show version" hp2910
> hp2910
> spawn hpuifilter -- telnet hp2910
>
> Error: telnet failed: couldn't execute "hpuifilter": no such file or directory
hlogin inherits the PATH of whomever executes it. add the location of
hpuifilter to your PATH and try again.
> "expect -nobrace -re { [55;1H([^#>\r\n]+)?[#>](\([^)\r\n]+\))?} {} -re {[
^^^^^^
implies to me that hlogin will work.
More information about the Rancid-discuss
mailing list