[rancid] h3crancid problem

BASSAGET Cédric cedric.bassaget.ml at gmail.com
Mon Dec 6 09:46:39 UTC 2021


Hello,
I have a problem when trying to rancid h3c switches :

rancid at jersey:~$ PATH=$PATH:/usr/local/rancid/bin ./bin/rancid -d -t h3c
sw-hp-hits-stack
loadtype: device type h3c
loadtype: found device type h3c at
/usr/local/rancid/etc/rancid.types.base:595
loadtype: found device type h3c aliased to h3crancid
loadtype: device type h3crancid
loadtype: found device type h3crancid at
/usr/local/rancid/etc/rancid.types.base:596
executing h3clogin -t 90 -c"" sw-hp-hits-stack
sw-hp-hits-stack: missed cmd(s): all commands
sw-hp-hits-stack: End of run not found
sw-hp-hits-stack: clean_run is false
sw-hp-hits-stack: found_end is false


I don't understand why the "-c" parameter is empty.

when running directly h3crancid it works fine :
rancid at jersey:~$ PATH=$PATH:/usr/local/rancid/bin ./bin/h3crancid -d
sw-hp-hits-stack -h
executing h3clogin -t 20 -c"display version;display startup;dir /all
/all-filesystems;display device;display fan;display power;display
domain;display local-user;display ssh server status;display ntp-service
status;display current-configuration" sw-hp-hits-stack
PROMPT MATCH: <HP-HITS-stack>
HIT COMMAND:<HP-HITS-stack>display version
    In CommentOutput: <HP-HITS-stack>display version
HIT COMMAND:<HP-HITS-stack>display startup
    In CommentOutput: <HP-HITS-stack>display startup
HIT COMMAND:<HP-HITS-stack>dir /all /all-filesystems
    In CommentOutput: <HP-HITS-stack>dir /all /all-filesystems
HIT COMMAND:<HP-HITS-stack>display device
    In CommentOutput: <HP-HITS-stack>display device
HIT COMMAND:<HP-HITS-stack>display fan
    In CommentOutput: <HP-HITS-stack>display fan
HIT COMMAND:<HP-HITS-stack>display power
    In CommentOutput: <HP-HITS-stack>display power
HIT COMMAND:<HP-HITS-stack>display domain
    In CommentOutput: <HP-HITS-stack>display domain
HIT COMMAND:<HP-HITS-stack>display local-user
    In CommentOutput: <HP-HITS-stack>display local-user
HIT COMMAND:<HP-HITS-stack>display ssh server status
    In CommentOutput: <HP-HITS-stack>display ssh server status
HIT COMMAND:<HP-HITS-stack>display ntp-service status
    In CommentOutput: <HP-HITS-stack>display ntp-service status
HIT COMMAND:<HP-HITS-stack>display current-configuration
    In DisplayCurrent: <HP-HITS-stack>display current-configuration
sw-hp-hits-stack: clean_run=1 found_end=1


can anybody telle me where I'm wrong please ?
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20211206/92ea840c/attachment.htm>


More information about the Rancid-discuss mailing list