Skip to content

Instantly share code, notes, and snippets.

@ohlol
Created June 14, 2011 22:56
Show Gist options
  • Save ohlol/1026134 to your computer and use it in GitHub Desktop.
Save ohlol/1026134 to your computer and use it in GitHub Desktop.
scott@beatbox:~/tmp% ./haproxy-fetcher.rb -h
Usage: ./haproxy-fetcher.rb [options]
-1, --onetime Run only once
-i, --interval [SECONDS] Set interval to SECONDS (default: 10)
-v, --verbose Verbose
--haproxy-socket [SOCKET] Connect to HAProxy via SOCKET
--carbon-host [HOST] Connect to Carbon on HOST (default: localhost)
--carbon-port [PORT] Connect to Carbon on PORT (default: 2003)
--carbon-prefix [PREFIX] Carbon prefix PREFIX (default: haproxy)
-h, --help Display this help
scott@beatbox:~/tmp%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment