[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
|
@ -2,6 +2,15 @@ import os
|
|||
import bumblebee.util
|
||||
import bumblebee.module
|
||||
|
||||
def usage():
|
||||
return "disk or disk::<path, defaults to '/'>"
|
||||
|
||||
def notes():
|
||||
return "Warning is at 20% free diskspace, Critical at 10%."
|
||||
|
||||
def description():
|
||||
return "Shows free diskspace, total diskspace and the percentage of free disk space."
|
||||
|
||||
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