Code Monkey home page Code Monkey logo

Comments (3)

gilarelli avatar gilarelli commented on July 29, 2024

Hi,

Can you post you configuration file as well as the mount point you want to monitor?

from rpi-monitor.

thncode avatar thncode commented on July 29, 2024

########################################################################

Extract Storage (1-sda1, 2-sda3) information

Page: 1

Information Status Statistics

- storage1 total - yes - yes

- storage1 used - yes - yes

- storage2 total - yes - yes

- storage2 used - yes - yes

########################################################################
static.10.name=storage1_total
static.10.source=df -t ext4
static.10.regexp=nvme0n1p1\s+(\d+)
static.10.postprocess=$1/1024

static.11.name=storage2_total
static.11.source=df -t ext4
static.11.regexp=sdb1\s+(\d+)
static.11.postprocess=$1/1024

dynamic.14.name=storage1_used
dynamic.14.source=df -t ext4
dynamic.14.regexp=nvme0n1p1\s+\d+\s+(\d+)
dynamic.14.postprocess=$1/1024
dynamic.14.rrd=GAUGE

dynamic.15.name=storage2_used
dynamic.15.source=df -t ext4
dynamic.15.regexp=sdb1\s+\d+\s+(\d+)
dynamic.15.postprocess=$1/1024
dynamic.15.rrd=GAUGE

web.status.1.content.9.name=Storage
web.status.1.content.9.icon=usb_hdd.png
web.status.1.content.9.line.1="/SSD Used: "+KMG(data.storage1_used,'M')+" ("+Percent(data.storage1_used,data.storage1_total,'M')+") Free: "+KMG(data.storage1_total-data.storage1_used,'M')+ " Total: "+ KMG(data.storage1_total,'M') +""
web.status.1.content.9.line.2=ProgressBar(data.storage1_used,data.storage1_total)
web.status.1.content.9.line.3="/mSD Used: "+KMG(data.storage2_used,'M')+" ("+Percent(data.storage2_used,data.storage2_total,'M')+") Free: "+KMG(data.storage2_total-data.storage2_used,'M')+ " Total: "+ KMG(data.storage2_total,'M') +""
web.status.1.content.9.line.4=ProgressBar(data.storage2_used,data.storage2_total)

web.statistics.1.content.9.name=Storage1
web.statistics.1.content.9.graph.1=storage1_total
web.statistics.1.content.9.graph.2=storage1_used
web.statistics.1.content.9.ds_graph_options.storage1_total.label=Storage1 total space (MB)
web.statistics.1.content.9.ds_graph_options.storage1_total.color="#FF7777"
web.statistics.1.content.9.ds_graph_options.storage1_used.label=Storage1 used space (MB)
web.statistics.1.content.9.ds_graph_options.storage1_used.lines={ fill: true }
web.statistics.1.content.9.ds_graph_options.storage1_used.color="#7777FF"

web.statistics.1.content.10.name=Storage2
web.statistics.1.content.10.graph.1=storage2_total
web.statistics.1.content.10.graph.2=storage2_used
web.statistics.1.content.10.ds_graph_options.storage2_total.label=Storage2 total space (MB)
web.statistics.1.content.10.ds_graph_options.storage2_total.color="#FF7777"
web.statistics.1.content.10.ds_graph_options.storage2_used.label=Storage2 used space (MB)
web.statistics.1.content.10.ds_graph_options.storage2_used.lines={ fill: true }
web.statistics.1.content.10.ds_graph_options.storage2_used.color="#7777FF"

from rpi-monitor.

thncode avatar thncode commented on July 29, 2024

UUID=bbc81151-1911-4c76-a705-0ebb0ffd3d4b /media/ssd ext4 auto,nofail,sync,users,rw 0 0

from rpi-monitor.

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.