Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ########################################################################
- # Extract Memory information
- # Page: 1
- # Information Status Statistics
- # - memory total - yes - yes
- # - memory free - yes - yes
- # - memory available - yes - yes
- ########################################################################
- static.5.name=memory_total
- static.5.source=/proc/meminfo
- static.5.regexp=MemTotal:\s+(\d+)
- static.5.postprocess=$1/1024
- dynamic.9.name=memory_free
- dynamic.9.source=/proc/meminfo
- dynamic.9.regexp=MemFree:\s+(\d+)
- dynamic.9.postprocess=$1/1024
- dynamic.9.rrd=GAUGE
- dynamic.15.name=memory_available
- dynamic.15.source=/usr/bin/free -mk
- #dynamic.15.regexp=^-\/\+ buffers\/cache:\s+\d+\s+(\d+)
- dynamic.15.regexp=Mem:\s+\d+\s+\d+\s+\s+\d+\s+\s+\d+\s+\d+\s+(\d+)
- dynamic.15.postprocess=$1/1024
- dynamic.15.rrd=GAUGE
- web.status.1.content.5.name=Memory
- web.status.1.content.5.icon=memory.png
- web.status.1.content.5.line.1="Used: <b>" + KMG(data.memory_total-data.memory_available,'M') + "</b> (<b>" + Percent(data.memory_total-data.memory_available,data.memory_total,'M') + "</b>) Available: <b>" + KMG(data.memory_available,'M') + "</b> Total: <b>" + KMG(data.memory_total,'M') + "</b>"
- web.status.1.content.5.line.2=ProgressBar(data.memory_total-data.memory_available,data.memory_total)
- web.statistics.1.content.6.name=Memory
- web.statistics.1.content.6.graph.1=memory_total
- web.statistics.1.content.6.graph.2=memory_free
- web.statistics.1.content.6.graph.3=memory_available
- web.statistics.1.content.6.ds_graph_options.memory_total.label=Total Memory(MB)
- web.statistics.1.content.6.ds_graph_options.memory_free.label=Free Memory (MB)
- web.statistics.1.content.6.ds_graph_options.memory_free.color="#7777FF"
- web.statistics.1.content.6.ds_graph_options.memory_available.label=Available Memory (MB)
- web.statistics.1.content.6.ds_graph_options.memory_available.color="#77FF77"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement