Giter Club home page Giter Club logo

Comments (3)

hpresnall avatar hpresnall commented on June 27, 2024

The only chart that uses JFSFILE data is the Percent Disk Space Used by File System bar chart. This would be saved as Disk Space.png.

Do you see other PNG files but not this one? If there is no data for the chart, it will not be output. You can verify this by loading the nmon files in the GUI and looking at the JFSFILE data.

Also, note that you don't need to explicitly download and reference the dataset_report.xml file. These charts are automatically generated by default (use --nodata to prevent this).

from nmonvisualizer.

EstebanMonge avatar EstebanMonge commented on June 27, 2024

Hello. Thanks for your answer. I checked the graph and is saved as Disk Space.png, but I want the same information like the line chart that you can see in the GUI vía: Hostname->JFSFILE

The reason is that if the mount point is large in the bar chart graph the names are cut.

from nmonvisualizer.

hpresnall avatar hpresnall commented on June 27, 2024

If you just want to shorten the names of the mount points, you can do that with a <field> element. Copy the bar chart definition from dataset_report.xml and add something like this after each <type> element:

<field name="/dev/mapper/mpathbp1" alias="database" />
<field regex="(.*)" />

The first element renames a specific disk to 'database' on the chart. The regex field displays all the other disks as-is.

If you want to do a line chart, something like this should work:

<linechart name="Percent Disk Space Used by File System" shortName="Disk Space">
  <yAxis label="% Used" asPercent="true" />
  <data>
    <host os="UNIX" />
    <type name="JFSFILE" />
    <field name="/dev/mapper/mpathbp1" alias="database" />
    <field regex="(.*)" />
  </data>
</linechart>

Put this in a separate xml file and reference it with -d on the command line. This will overwrite the default Disk Space.png file.

See the documentation for more info.

from nmonvisualizer.

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.