Changeset 8 for check_munin
- Timestamp:
- 04/16/09 00:37:58 (16 years ago)
- Files:
-
- check_munin (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
check_munin
r7 r8 29 29 import re 30 30 31 parser = optparse.OptionParser("usage: %prog -H <Host> -M <Module> [-P <Port>] [warn] [crit]")31 parser = optparse.OptionParser("usage: %prog -H <Host> -M <Module> [-P <Port>] -D [<warn>] [<crit>]" 32 32 parser.add_option("-H", "--host", dest="host", type="string", 33 33 help="specify host to poll")