mirror of
https://github.com/shouptech/nagios-plugin-check-rabbitmq.git
synced 2026-02-03 14:49:41 +00:00
Added defaults in help messages
This commit is contained in:
parent
6a640b9172
commit
f63d226887
1 changed files with 6 additions and 6 deletions
|
|
@ -148,17 +148,17 @@ def main():
|
|||
parser = OptionParser(usage=usage,
|
||||
version="%prog "+PLUGIN_VERSION)
|
||||
parser.add_option("-u", "--username", default="guest",
|
||||
help="Username with monitoring access")
|
||||
help="Username with monitoring access. Default: guest")
|
||||
parser.add_option("-p", "--password", default="guest",
|
||||
help="Password for user with monitoring access")
|
||||
help="Password for user with monitoring access Default: guest")
|
||||
parser.add_option("-P", "--port", default=15672,
|
||||
help="Port to run the API checks against")
|
||||
help="Port to run the API checks against Default: 15672")
|
||||
parser.add_option("-H", "--hostname",
|
||||
help="Host to check")
|
||||
help="Host to check. REQUIRED")
|
||||
parser.add_option("-c", "--critical", type="int",
|
||||
help="Critical level")
|
||||
help="Critical level")
|
||||
parser.add_option("-w", "--warning", type="int",
|
||||
help="Warning level")
|
||||
help="Warning level")
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
# Check for required arguments
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue