Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storage template does not work for 4TB SSD #396

Open
thncode opened this issue Jun 20, 2022 · 3 comments
Open

Storage template does not work for 4TB SSD #396

thncode opened this issue Jun 20, 2022 · 3 comments

Comments

@thncode
Copy link

thncode commented Jun 20, 2022

Can someone pls hint me to what may reach overflow here?

Bildschirmfoto 2022-06-21 um 06 31 17

Rgrds,
Thomas

@gilarelli
Copy link

Hi,

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

@thncode
Copy link
Author

thncode commented Jun 28, 2022

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

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"

@thncode
Copy link
Author

thncode commented Jun 28, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants