Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Commit

Permalink
Updating documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kigster committed May 1, 2013
1 parent c5013ee commit 67998f0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
11 changes: 11 additions & 0 deletions README.md
Expand Up @@ -51,3 +51,14 @@ Usage: ./check_postgres_replication [ options ]

Note that `--units` is only used in the response. No math is done to translate `--warning` or `--critical`,
which should be set as bytes. Thus, a 20MB warning would be set as 20971520.

check_twemproxy
---------------
Nagios check that utilizes twemproxy status page, and returns OK/SUCCESS when all backend servers
in the sharded cluster are connected, or CRITICAL otherwise.

```
Usage: ./check_twemproxy [-h host] [-p port]
```

Dependencies: ruby with JSON parser installed.
5 changes: 4 additions & 1 deletion check_twemproxy
Expand Up @@ -4,9 +4,12 @@
#
# (c) Wanelo Inc, Distributed under Apache License
#
# Usage: ./twemproxy_status [-h host] [-p port]
# Usage: ./check_twemproxy [-h host] [-p port]
#
# Dependencies: ruby with JSON parser installed.
#
# Returns OK/SUCCESS when all servers in the sharded cluster are connected, or
# CRITICAL otherwise.
# ========================================================================================

# Nagios return codes
Expand Down

0 comments on commit 67998f0

Please sign in to comment.