Skip to content
Snippets Groups Projects
Commit 5189faa6 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

update doc page

parent 3ce72b60
No related branches found
No related tags found
1 merge request!1516588 add couchdb check - add checks "open_databases" + "open_os_files"
......@@ -18,7 +18,7 @@ Check couchdb status.
______________________________________________________________________
CHECK_COUCHDB
v0.4
v0.5
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
......@@ -42,6 +42,8 @@ OPTIONS:
up show general couchdb status
replication show last replication status
pending show count of pending updates for nodes, dbs and users
open_databases show number of open databases
open_os_files show number of file descriptors CouchDB has open
EXAMPLE:
check_couchdb -m up
......@@ -164,3 +166,41 @@ Reponse: of /_up
}
}
```
### open_databases
Show number of open databases
This check sends performance data.
``check_couchdb -m open_databases`` returns
```txt
OK: Couchdb :: open_databases = 0
Reponse: of /_node/_local/_stats/couchdb/open_databases
{
"value": 0,
"type": "counter",
"desc": "number of open databases"
}
|opendatabases=0;;
```
### open_os_files
Show number of file descriptors CouchDB has open
This check sends performance data.
``check_couchdb -m open_os_files`` returns
```txt
OK: Couchdb :: open_os_files = 0
Reponse: of /_node/_local/_stats/couchdb/open_os_files
{
"value": 0,
"type": "counter",
"desc": "number of file descriptors CouchDB has open"
}
|openosfiles=0;;
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment