glusterfs_inode_warning | **Optional.** Warn if inode usage is above *DISKWARN*. Defaults to 90 (percent).
glusterfs_inode_critical | **Optional.** Return a critical error if inode usage is above *DISKCRIT*. Defaults to 95 (percent).
+#### ceph <a id="plugins-contrib-command-ceph"></a>
+
+The [ceph plugin](https://github.com/ceph/ceph-nagios-plugins)
+is used to check the Ceph storage health on the server.
+
+Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
+
+Name | Description
+---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+ceph_exec_dir | **Optional.** Ceph executable. Default /usr/bin/ceph.
+ceph_conf_file | **Optional.** Alternative ceph conf file.
+ceph_mon_address | **Optional.** Ceph monitor address[:port].
+ceph_client_id | **Optional.** Ceph client id.
+ceph_client_name | **Optional.** Ceph client name.
+ceph_client_key | **Optional.** Ceph client keyring file.
+ceph_whitelist | **Optional.** Whitelist regexp for ceph health warnings.
+ceph_details | **Optional.** Run 'ceph health detail'.
+
### Virtualization <a id="plugin-contrib-virtualization"></a>
vars.glusterfs_inode_warning = 90
vars.glusterfs_inode_critical = 95
}
+
+object CheckCommand "ceph" {
+ command = [ PluginDir + "/check_ceph.py" ]
+
+ arguments = {
+ "-e" = {
+ value = "$service.vars.ceph_exec_dir$"
+ required = false
+ description = "ceph executable [/usr/bin/ceph]"
+ }
+ "-c" = {
+ value = "$service.vars.ceph_conf_file$"
+ required = false
+ description = "alternative ceph conf file"
+ }
+ "-m" = {
+ value = "$service.vars.ceph_mon_address$"
+ required = false
+ description = "ceph monitor address[:port]"
+ }
+ "-i" = {
+ value = "$service.vars.ceph_client_id$"
+ required = false
+ description = "ceph client id"
+ }
+ "-n" = {
+ value = "$service.vars.ceph_client_name$"
+ required = false
+ description = "ceph client name"
+ }
+ "-k" = {
+ value = "$service.vars.ceph_client_key$"
+ required = false
+ description = "ceph client keyring file"
+ }
+ "-w" = {
+ value = "$service.vars.ceph_whitelist$"
+ required = false
+ description = "whitelist regexp for ceph health warnings"
+ }
+ "-d" = {
+ set_if = "$service.vars.ceph_details$"
+ description = "exec 'ceph health detail'"
+ }
+ }
+}