Nagios plugin to check Ceph Cluster Usage
Go to file
Benjamin Renard c615db7bc5
ci/woodpecker/push/woodpecker Pipeline was successful Details
Code cleaning
2022-12-17 00:10:09 +01:00
.gitignore Initial commit 2013-12-03 11:00:39 +01:00
.pylintrc Code cleaning 2022-12-17 00:10:09 +01:00
.woodpecker.yml Configure CI to run tests 2022-12-17 00:00:47 +01:00
README.md Python 3 compatibility and code cleaning 2021-05-21 13:01:34 +02:00
check_ceph_usage Code cleaning 2022-12-17 00:10:09 +01:00

README.md

Nagios plugin to check Ceph cluster usage

Usage

usage: check_ceph_usage [-h] [-d] [-b BIN] [--conf CONF] [-m MON] [-i ID]
                        [-k KEYRING] [-w WARNDATA] [-c CRITDATA]
                        [-W WARNALLOC] [-C CRITALLOC]

optional arguments:
  -h, --help            show this help message and exit
  -d, --debug
  -b BIN, --bin BIN     Ceph binary (default: /usr/bin/ceph)
  --conf CONF           Ceph configuration file
  -m MON, --mon MON     Ceph monitor address[:port]
  -i ID, --id ID        Ceph client id
  -k KEYRING, --keyring KEYRING
                        Ceph client keyring file
  -w WARNDATA, --warning-data WARNDATA
                        Warning data threshold (default: 70%)
  -c CRITDATA, --critical-data CRITDATA
                        Critical data threshold (default: 85%)
  -W WARNALLOC, --warning-allocated WARNALLOC
                        Warning allocated threshold (default: 80%)
  -C CRITALLOC, --critical-allocated CRITALLOC
                        Critical allocated threshold (default: 90%)

Copyright (c) 2013-2021 Benjamin Renard brenard@zionetrix.net

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.