mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
rename dses to easier check correct graphing
This commit is contained in:
parent
851979ebad
commit
db72714eb4
@ -112,26 +112,26 @@ modules["always_critical"] = always_critical()
|
||||
class graph_area(MuninPlugin):
|
||||
"A plugin that uses STACK and AREA. From proc_pri. Use: testing the grapher"
|
||||
def fetch(self, conf):
|
||||
return """high.value 3
|
||||
low.value 2
|
||||
locked.value 1"""
|
||||
return """first.value 3
|
||||
second.value 2
|
||||
third.value 1"""
|
||||
|
||||
def config(self, conf):
|
||||
return """graph_title AREA and STACK
|
||||
graph_order low high locked
|
||||
graph_order first second third
|
||||
graph_category graphtest
|
||||
graph_info This graph shows nuber of processes at each priority
|
||||
graph_args --base 1000 -l 0
|
||||
graph_vlabel Number of processes
|
||||
high.label high priority
|
||||
high.draw STACK
|
||||
high.info The number of high-priority processes (tasks)
|
||||
low.label low priority
|
||||
low.draw AREA
|
||||
low.info The number of low-priority processes (tasks)
|
||||
locked.label locked in memory
|
||||
locked.draw STACK
|
||||
locked.info The number of processes that have pages locked into memory (for real-time and custom IO)
|
||||
first.label first
|
||||
first.draw STACK
|
||||
first.info The number of first-priority processes (tasks)
|
||||
second.label second
|
||||
second.draw AREA
|
||||
second.info The number of second-priority processes (tasks)
|
||||
third.label third
|
||||
third.draw STACK
|
||||
third.info The number of processes that have pages third into memory (for real-time and custom IO)
|
||||
"""
|
||||
modules["graph_area"] = graph_area()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user