Git Product home page Git Product logo

Comments (7)

g23guy avatar g23guy commented on July 20, 2024

Thank you for the suggestion. Supportconfig supports plugins. Basically supportconfig exports $LOG for the location of the supportconfig directory being created. Supportconfig runs /usr/lib/supportconfig/plugins during execution. The plugins then gather information and can store the output in $LOG. So are you considering writing a 389-ds plugin or were you thinking of something else?

from supportutils.

Firstyear avatar Firstyear commented on July 20, 2024

A 389-ds plugin would be great. Is it possible to write the plugin in something other than bash given how these are executed? We have an extensive python library for 389-ds that would be great to consume here to help give really detailed diagnostics.

from supportutils.

g23guy avatar g23guy commented on July 20, 2024

You can write the plugin in any language you want. The stdout and stderr will be captured by supportconfig, or you can use the export $LOG environment variable to save files in a directory. The former is preferred.

from supportutils.

Firstyear avatar Firstyear commented on July 20, 2024

Are there any docs of what the stdout/stderr should look like? Or is it what I choose? As well, how do I nominate that my plugin is run?

from supportutils.

g23guy avatar g23guy commented on July 20, 2024

I'm working on the documentation now. There was only some old, irrelevant docs that need serious updating. I'll keep you posted.

from supportutils.

g23guy avatar g23guy commented on July 20, 2024

I'll update issue #68 with progress.

from supportutils.

g23guy avatar g23guy commented on July 20, 2024

Closing

from supportutils.

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.