mirror of
https://github.com/valitydev/ceph-nagios-plugins.git
synced 2024-11-06 00:35:17 +00:00
check_ceph_mgr added. detabbed.
This commit is contained in:
parent
6c122731e3
commit
bc4457eb77
35
README.md
35
README.md
@ -49,7 +49,6 @@ The `check_ceph_health` nagios plugin monitors the ceph cluster, and report its
|
||||
|
||||
nagios$ ./check_ceph_health --id nagios --whitelist 'requests.are.blocked(\s)*32.sec'
|
||||
|
||||
|
||||
## check_ceph_mon
|
||||
|
||||
The `check_ceph_mon` nagios plugin monitors an individual mon daemon, reporting its status.
|
||||
@ -133,6 +132,7 @@ The `check_ceph_rgw` nagios plugin monitors a ceph rados gateway, reporting its
|
||||
Possible result includes OK (up), WARN (down or missing).
|
||||
|
||||
### Usage
|
||||
|
||||
usage: check_ceph_rgw [-h] [-d] [-B] [-e EXE] [-c CONF] [-i ID] [-V]
|
||||
|
||||
'radosgw-admin bucket stats' nagios plugin.
|
||||
@ -195,6 +195,7 @@ rgw enable apis = "s3, admin"
|
||||
for more details.
|
||||
|
||||
### Usage
|
||||
|
||||
usage: check_ceph_rgw_api [-h] -H HOST [-k] [-e ADMIN_ENTRY] -a ACCESS_KEY -s
|
||||
SECRET_KEY [-d] [-b] [-v]
|
||||
|
||||
@ -231,6 +232,7 @@ The `check_ceph_df` nagios plugin monitors a ceph cluster, reporting its percent
|
||||
Possible result includes OK, WARN and CRITICAL.
|
||||
|
||||
### Usage
|
||||
|
||||
usage: check_ceph_df [-h] [-e EXE] [-c CONF] [-m MONADDRESS] [-i ID] [-n NAME]
|
||||
[-k KEYRING] [-d] [-W WARN] [-C CRITICAL] [-V]
|
||||
|
||||
@ -284,6 +286,7 @@ The `check_ceph_mds` nagios plugin monitors an individual mds daemon, reporting
|
||||
Possible result includes OK, WARN (laggy) and Error (not found).
|
||||
|
||||
### Usage
|
||||
|
||||
usage: check_ceph_mds [-h] [-e EXE] [-c CONF] [-m MONADDRESS] [-i ID]
|
||||
[-k KEYRING] [-V] -n NAME -f FILESYSTEM
|
||||
|
||||
@ -303,6 +306,7 @@ Possible result includes OK, WARN (laggy) and Error (not found).
|
||||
-f FILESYSTEM, --filesystem FILESYSTEM
|
||||
mds filesystem name
|
||||
### Example
|
||||
|
||||
nagios$ ./check_ceph_mds -f cephfs -n ceph-mds-1
|
||||
MDS OK: MDS 'ceph-mds-1' is up:active
|
||||
|
||||
@ -315,5 +319,34 @@ Possible result includes OK, WARN (laggy) and Error (not found).
|
||||
nagios$ ./check_ceph_mds -f cephfs -n ceph-mds-3
|
||||
MDS ERROR: MDS 'ceph-mds-3' is not found (offline?)
|
||||
|
||||
## check_ceph_mgr
|
||||
|
||||
The `check_ceph_mgr` nagios plugin monitors the mgr.
|
||||
|
||||
|
||||
### Usage
|
||||
|
||||
usage: check_ceph_mgr [-h] [-e EXE] [-c CONF] [-m MONADDRESS] [-i ID]
|
||||
[-n NAME] [-k KEYRING] [-V]
|
||||
|
||||
'ceph mgr dump' nagios plugin.
|
||||
|
||||
optional arguments:
|
||||
-h, --help show this help message and exit
|
||||
-e EXE, --exe EXE ceph executable [/usr/bin/ceph]
|
||||
-c CONF, --conf CONF alternative ceph conf file
|
||||
-m MONADDRESS, --monaddress MONADDRESS
|
||||
ceph monitor to use for queries (address[:port])
|
||||
-i ID, --id ID ceph client id
|
||||
-n NAME, --name NAME ceph client name
|
||||
-k KEYRING, --keyring KEYRING
|
||||
ceph client keyring file
|
||||
-V, --version show version and exit
|
||||
|
||||
### Example
|
||||
|
||||
nagios$ ./check_ceph_mgr
|
||||
MGR OK: active: zhdk0013, standbys: zhdk0009, zhdk0025
|
||||
|
||||
[ceph]: http://www.ceph.com
|
||||
[cephx]: http://ceph.com/docs/master/rados/operations/authentication/
|
||||
|
Loading…
Reference in New Issue
Block a user