Giter Site home page Giter Site logo

Not matching configured prompt about oxidized HOT 5 CLOSED

ytti avatar ytti commented on May 26, 2024
Not matching configured prompt

from oxidized.

Comments (5)

ytti avatar ytti commented on May 26, 2024

What is your prompt? It complains that it is not finding it.

Is your prompt:
'*****************************************************************************FE-001-> '

Perhaps welcome message missing newline?

from oxidized.

filip7sr avatar filip7sr commented on May 26, 2024

This might sound really stupid but what should my "prompt" be? What is my "prompt"?
The documentation about that parameter-setting is a little bit 'basic' (for me at least)

from oxidized.

ytti avatar ytti commented on May 26, 2024

When it logs in, it waits for prompt to appear, i.e. that set of strings where you know that you can start punching in commands to the box.

It is complaining, that it cannot find that.

When you login to the box, how do you know when you can start entering commands? What will it print on the screen? Is it 'FE-001->'

Since right now it seems like it it is seeing ''*****************************************************************************FE-001-> ' which does not match to https://github.com/ytti/oxidized/blob/master/lib/oxidized/config.rb#L27

There are to options on how to fix this

  1. we change the prompt in configuration file or model (aos.rb, aos7.rb depending on your OS) to allow for '*****************************************************************************FE-001-> ' as an prompt
  2. we change the welcome message so that it sends new line, so that we'll see 'FE-001->' should should match.

from oxidized.

filip7sr avatar filip7sr commented on May 26, 2024

Problem solved, thank you! The script now keeps running forever though,

D, [2015-03-17T16:29:03.780462 #30049] DEBUG -- : SSH: exit @ fe-018.netwerk.vrt.be
D, [2015-03-17T16:29:04.759535 #30049] DEBUG -- : Jobs 0, Want: 1
D, [2015-03-17T16:29:05.760003 #30049] DEBUG -- : Jobs 0, Want: 1

from oxidized.

ytti avatar ytti commented on May 26, 2024

This is normal. It once per second re-enters loop, it never wants less than 1 work to do. But upon starting that work, it sees that all boxes that need to have config fetched, have been fetched earlier than rotation delay.

from oxidized.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.