GithubHelp home page GithubHelp logo

Comments (4)

fboender avatar fboender commented on July 24, 2024

Hey Cory!

Thanks for the bug report Looks like something's going wrong in the rendering of the memory.

Can you run the following command in the out/ directory and paste the results?:

grep "ansible_memtotal_mb" *

The output should look something like this:

app.uat.local:        "ansible_memtotal_mb": 1496, 
centos.dev.local:        "ansible_memtotal_mb": 996, 
db01.prod.local:        "ansible_memtotal_mb": 496, 

Thanks!

from ansible-cmdb.

coryrwagner avatar coryrwagner commented on July 24, 2024

I don't see anything strange, other than some have values that are quoted (Solaris) and some do not (Linux), like this:

        "ansible_memtotal_mb": 129161,
        "ansible_memtotal_mb": "131072",
        "ansible_memtotal_mb": "131072",
        "ansible_memtotal_mb": "13824",
        "ansible_memtotal_mb": 15947,
        "ansible_memtotal_mb": 15947,
        "ansible_memtotal_mb": 15951,
        "ansible_memtotal_mb": "16160",

from ansible-cmdb.

fboender avatar fboender commented on July 24, 2024

Ah, that explains it. The quoted values are interpreted as strings by default, but ansible-cmdb expects them to be integers. I've commited a fix for memtotal_mb, but there might be more items in the Solaris files that are wrong. Can you try against the master branch to see if it works for you now? If there a more similar errors, it might be helpful if you supplied me with a Solaris output.

from ansible-cmdb.

coryrwagner avatar coryrwagner commented on July 24, 2024

That fixed the problem with the memory column.

from ansible-cmdb.

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.