[doc] Add description, usage and notes to all modules
This commit is contained in:
parent
598f3e70e9
commit
c0421163d4
10 changed files with 92 additions and 3 deletions
|
@ -1,6 +1,15 @@
|
|||
import bumblebee.module
|
||||
import psutil
|
||||
|
||||
def usage():
|
||||
return "cpu"
|
||||
|
||||
def notes():
|
||||
return "Warning is at 70%, Critical at 80%."
|
||||
|
||||
def description():
|
||||
return "Displays CPU utilization across all CPUs."
|
||||
|
||||
class Module(bumblebee.module.Module):
|
||||
def __init__(self, args):
|
||||
super(Module, self).__init__(args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue