MongoDB node by Zabbix agent 2
Macros used
| Name | Value |
|---|---|
| {$MONGODB.CONNS.PCT.USED.MAX.WARN} | 80 |
| {$MONGODB.CONNSTRING} | tcp://localhost:27017 |
| {$MONGODB.CURSOR.OPEN.MAX.WARN} | 10000 |
| {$MONGODB.CURSOR.TIMEOUT.MAX.WARN} | 1 |
| {$MONGODB.LLD.FILTER.COLLECTION.MATCHES} | .* |
| {$MONGODB.LLD.FILTER.COLLECTION.NOT_MATCHES} | CHANGE_IF_NEEDED |
| {$MONGODB.LLD.FILTER.DB.MATCHES} | .* |
| {$MONGODB.LLD.FILTER.DB.NOT_MATCHES} | (admin|config|local) |
| {$MONGODB.PASSWORD} | - |
| {$MONGODB.REPL.LAG.MAX.WARN} | 10s |
| {$MONGODB.USER} | - |
| {$MONGODB.WIRED_TIGER.TICKETS.AVAILABLE.MIN.WARN} | 5 |
Items collected
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| MongoDB: Document: deleted, rate | Number of documents deleted per second. | DEPENDENT | - | mongod.document.deleted.rate |
| MongoDB: Document: inserted, rate | Number of documents inserted per second. | DEPENDENT | - | mongod.document.inserted.rate |
| MongoDB: Document: returned, rate | Number of documents returned by queries per second. | DEPENDENT | - | mongod.document.returned.rate |
| MongoDB: Document: updated, rate | Number of documents updated per second. | DEPENDENT | - | mongod.document.updated.rate |
| MongoDB: Active clients: readers | The number of the active client connections performing read operations. | DEPENDENT | - | mongodb.active_clients.readers |
| MongoDB: Active clients: total | The total number of internal client connections to the database including system threads as well as queued readers and writers. | DEPENDENT | - | mongodb.active_clients.total |
| MongoDB: Active clients: writers | The number of active client connections performing write operations. | DEPENDENT | - | mongodb.active_clients.writers |
| MongoDB: Asserts: message, rate | The number of message assertions raised per second. Check the log file for more information about these messages. | DEPENDENT | - | mongodb.asserts.msg.rate |
| MongoDB: Asserts: regular, rate | The number of regular assertions raised per second. Check the log file for more information about these messages. | DEPENDENT | - | mongodb.asserts.regular.rate |
| MongoDB: Asserts: rollovers, rate | Number of times that the rollover counters roll over per second. The counters rollover to zero every 2^30 assertions. | DEPENDENT | - | mongodb.asserts.rollovers.rate |
| MongoDB: Asserts: user, rate | The number of “user asserts” that have occurred per second. These are errors that user may generate, such as out of disk space or duplicate key. | DEPENDENT | - | mongodb.asserts.user.rate |
| MongoDB: Asserts: warning, rate | The number of warnings raised per second. | DEPENDENT | - | mongodb.asserts.warning.rate |
| MongoDB: Get collections usage stats | Returns usage statistics for each collection. | - | - | mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"] |
| MongoDB: Connections, active | The number of active client connections to the server. Active client connections refers to client connections that currently have operations in progress. Available starting in 4.0.7, 0 for older versions. | DEPENDENT | - | mongodb.connections.active |
| MongoDB: Connections, available | The number of unused incoming connections available. | DEPENDENT | - | mongodb.connections.available |
| MongoDB: Connections, current | The number of incoming connections from clients to the database server. This number includes the current shell session | DEPENDENT | - | mongodb.connections.current |
| MongoDB: New connections, rate | Rate of all incoming connections created to the server. | DEPENDENT | - | mongodb.connections.rate |
| MongoDB: Current queue: readers | The number of operations that are currently queued and waiting for the read lock. A consistently small read-queue, particularly of shorter operations, should cause no concern. | DEPENDENT | - | mongodb.current_queue.readers |
| MongoDB: Current queue: total | The total number of operations queued waiting for the lock. | DEPENDENT | - | mongodb.current_queue.total |
| MongoDB: Current queue: writers | The number of operations that are currently queued and waiting for the write lock. A consistently small write-queue, particularly of shorter operations, is no cause for concern. | DEPENDENT | - | mongodb.current_queue.writers |
| MongoDB: Cursor: open pinned | Number of pinned open cursors. | DEPENDENT | - | mongodb.cursor.open.pinned |
| MongoDB: Cursor: open total | Number of cursors that MongoDB is maintaining for clients. | DEPENDENT | - | mongodb.cursor.open.total |
| MongoDB: Cursor: timed out, rate | Number of cursors that time out, per second. | DEPENDENT | - | mongodb.cursor.timed_out.rate |
| MongoDB: Architecture | A number, either 64 or 32, that indicates whether the MongoDB instance is compiled for 64-bit or 32-bit architecture. | DEPENDENT | - | mongodb.mem.bits |
| MongoDB: Memory: mapped | Amount of mapped memory by the database. | DEPENDENT | - | mongodb.mem.mapped |
| MongoDB: Memory: mapped with journal | The amount of mapped memory, including the memory used for journaling. | DEPENDENT | - | mongodb.mem.mapped_with_journal |
| MongoDB: Memory: resident | Amount of memory currently used by the database process. | DEPENDENT | - | mongodb.mem.resident |
| MongoDB: Memory: virtual | Amount of virtual memory used by the mongod process. | DEPENDENT | - | mongodb.mem.virtual |
| MongoDB: Cursor: open no timeout | Number of open cursors with the option DBQuery.Option.noTimeout set to prevent timeout after a period of inactivity. | DEPENDENT | - | mongodb.metrics.cursor.open.no_timeout |
| MongoDB: Bytes in, rate | The total number of bytes that the server has received over network connections initiated by clients or other mongod/mongos instances per second. | DEPENDENT | - | mongodb.network.bytes_in.rate |
| MongoDB: Bytes out, rate | The total number of bytes that the server has sent over network connections initiated by clients or other mongod/mongos instances per second. | DEPENDENT | - | mongodb.network.bytes_out.rate |
| MongoDB: Requests, rate | Number of distinct requests that the server has received per second | DEPENDENT | - | mongodb.network.numRequests.rate |
| MongoDB: Operations: command, rate | The number of commands issued to the database the mongod instance per second. Counts all commands except the write commands: insert, update, and delete. | DEPENDENT | - | mongodb.opcounters.command.rate |
| MongoDB: Operations: delete, rate | The number of delete operations the mongod instance per second. | DEPENDENT | - | mongodb.opcounters.delete.rate |
| MongoDB: Operations: getmore, rate | The number of “getmore” operations since the mongod instance per second. This counter can be high even if the query count is low. Secondary nodes send getMore operations as part of the replication process. | DEPENDENT | - | mongodb.opcounters.getmore.rate |
| MongoDB: Operations: insert, rate | The number of insert operations received since the mongod instance per second. | DEPENDENT | - | mongodb.opcounters.insert.rate |
| MongoDB: Operations: query, rate | The number of queries received the mongod instance per second. | DEPENDENT | - | mongodb.opcounters.query.rate |
| MongoDB: Operations: update, rate | The number of update operations the mongod instance per second. | DEPENDENT | - | mongodb.opcounters.update.rate |
| MongoDB: Get oplog stats | Returns status of the replica set, using data polled from the oplog. | - | - | mongodb.oplog.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"] |
| MongoDB: Ping | Test if a connection is alive or not. | - | 30s | mongodb.ping["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"] |
| MongoDB: Get Replica Set status | Returns the replica set status from the point of view of the member where the method is run. | - | - | mongodb.rs.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"] |
| MongoDB: Get server status | Returns a database's state. | - | - | mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"] |
| MongoDB: Uptime | Number of seconds that the mongod process has been active. | DEPENDENT | - | mongodb.uptime |
| MongoDB: MongoDB version | Version of the MongoDB server. | DEPENDENT | - | mongodb.version |
Triggers
| Name | Description | Expression | Priority | Dependencies |
|---|---|---|---|---|
| MongoDB: Too many cursors opened by MongoDB for clients | - | min(/MongoDB node by Zabbix agent 2/mongodb.cursor.open.total,5m)>{$MONGODB.CURSOR.OPEN.MAX.WARN} | WARNING 📢 | MongoDB: Cursor: open total |
| MongoDB: Too many cursors are timing out | - | min(/MongoDB node by Zabbix agent 2/mongodb.cursor.timed_out.rate,5m)>{$MONGODB.CURSOR.TIMEOUT.MAX.WARN} | WARNING 📢 | MongoDB: Cursor: timed out, rate |
| MongoDB: Connection to MongoDB is unavailable | Connection to MongoDB instance is currently unavailable. | last(/MongoDB node by Zabbix agent 2/mongodb.ping["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"])=0 | HIGH ⛔ | MongoDB: Ping |
| MongoDB: Failed to fetch info data | Zabbix has not received data for items for the last 10 minutes | nodata(/MongoDB node by Zabbix agent 2/mongodb.uptime,10m)=1 | WARNING 📢 | MongoDB: Uptime |
| MongoDB: has been restarted | Uptime is less than 10 minutes. | last(/MongoDB node by Zabbix agent 2/mongodb.uptime)<10m | INFO 🔔 | MongoDB: Uptime |
| MongoDB: Version has changed | MongoDB version has changed. Ack to close. | last(/MongoDB node by Zabbix agent 2/mongodb.version,#1)<>last(/MongoDB node by Zabbix agent 2/mongodb.version,#2) and length(last(/MongoDB node by Zabbix agent 2/mongodb.version))>0 | INFO 🔔 | MongoDB: MongoDB version |
Discovery rule №1
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Collection discovery | Collect collections metrics. Note, depending on the number of DBs and collections this discovery operation may be expensive. Use filters with macros {$MONGODB.LLD.FILTER.DB.MATCHES}, {$MONGODB.LLD.FILTER.DB.NOT_MATCHES}, {$MONGODB.LLD.FILTER.COLLECTION.MATCHES}, {$MONGODB.LLD.FILTER.COLLECTION.NOT_MATCHES}. | - | 30m | mongodb.collections.discovery["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"] |
Item prototypes
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| MongoDB {#DBNAME}.{#COLLECTION}: Objects, avg size | The size of the average object in the collection in bytes. | DEPENDENT | - | mongodb.collection.avg_obj_size["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Capped | Whether or not the collection is capped. | DEPENDENT | - | mongodb.collection.capped["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Objects, count | Total number of objects in the collection. | DEPENDENT | - | mongodb.collection.count["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Capped: max number | Maximum number of documents that may be present in a capped collection. | DEPENDENT | - | mongodb.collection.max_number["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Capped: max size | Maximum size of a capped collection in bytes. | DEPENDENT | - | mongodb.collection.max_size["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Indexes | Total number of indices on the collection. | DEPENDENT | - | mongodb.collection.nindexes["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Operations: commands, ms/s | Fraction of time (ms/s) the mongod has spent to operations. | DEPENDENT | - | mongodb.collection.ops.commands.ms["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Operations: commands, rate | The number of operations per second. | DEPENDENT | - | mongodb.collection.ops.commands.rate["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Operations: getmore, ms/s | Fraction of time (ms/s) the mongod has spent to operations. | DEPENDENT | - | mongodb.collection.ops.getmore.ms["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Operations: getmore, rate | The number of operations per second. | DEPENDENT | - | mongodb.collection.ops.getmore.rate["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Operations: insert, ms/s | Fraction of time (ms/s) the mongod has spent to operations. | DEPENDENT | - | mongodb.collection.ops.insert.ms["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Operations: insert, rate | The number of operations per second. | DEPENDENT | - | mongodb.collection.ops.insert.rate["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Operations: queries, ms/s | Fraction of time (ms/s) the mongod has spent to operations. | DEPENDENT | - | mongodb.collection.ops.queries.ms["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Operations: queries, rate | The number of operations per second. | DEPENDENT | - | mongodb.collection.ops.queries.rate["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Operations: remove, ms/s | Fraction of time (ms/s) the mongod has spent to operations. | DEPENDENT | - | mongodb.collection.ops.remove.ms["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Operations: remove, rate | The number of operations per second. | DEPENDENT | - | mongodb.collection.ops.remove.rate["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Operations: total, ms/s | Fraction of time (ms/s) the mongod has spent to operations. | DEPENDENT | - | mongodb.collection.ops.total.ms["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Operations: total, rate | The number of operations per second. | DEPENDENT | - | mongodb.collection.ops.total.rate["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Operations: update, ms/s | Fraction of time (ms/s) the mongod has spent to operations. | DEPENDENT | - | mongodb.collection.ops.update.ms["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Operations: update, rate | The number of operations per second. | DEPENDENT | - | mongodb.collection.ops.update.rate["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Read lock, ms/s | Fraction of time (ms/s) the mongod has spent to operations. | DEPENDENT | - | mongodb.collection.read_lock.ms["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Read lock, rate | The number of operations per second. | DEPENDENT | - | mongodb.collection.read_lock.rate["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Size | The total size in bytes of the data in the collection plus the size of every indexes on the mongodb.collection. | DEPENDENT | - | mongodb.collection.size["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Get collection stats {#DBNAME}.{#COLLECTION} | Returns a variety of storage statistics for a given collection. | - | - | mongodb.collection.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Storage size | Total storage space allocated to this collection for document storage. | DEPENDENT | - | mongodb.collection.storage_size["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Write lock, ms/s | Fraction of time (ms/s) the mongod has spent to operations. | DEPENDENT | - | mongodb.collection.write_lock.ms["{#DBNAME}","{#COLLECTION}"] |
| MongoDB {#DBNAME}.{#COLLECTION}: Write lock, rate | The number of operations per second. | DEPENDENT | - | mongodb.collection.write_lock.rate["{#DBNAME}","{#COLLECTION}"] |
Discovery rule №2
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Database discovery | Collect database metrics. Note, depending on the number of DBs this discovery operation may be expensive. Use filters with macros {$MONGODB.LLD.FILTER.DB.MATCHES}, {$MONGODB.LLD.FILTER.DB.NOT_MATCHES}. | - | 30m | mongodb.db.discovery["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"] |
Item prototypes
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| MongoDB {#DBNAME}: Collections | Contains a count of the number of collections in that database. | DEPENDENT | - | mongodb.db.collections["{#DBNAME}"] |
| MongoDB {#DBNAME}: Size, data | Total size of the data held in this database including the padding factor. | DEPENDENT | - | mongodb.db.data_size["{#DBNAME}"] |
| MongoDB {#DBNAME}: Extents | Contains a count of the number of extents in the database across all collections. | DEPENDENT | - | mongodb.db.extents["{#DBNAME}"] |
| MongoDB {#DBNAME}: Size, file | Total size of the data held in this database including the padding factor (only available with the mmapv1 storage engine). | DEPENDENT | - | mongodb.db.file_size["{#DBNAME}"] |
| MongoDB {#DBNAME}: Size, index | Total size of all indexes created on this database. | DEPENDENT | - | mongodb.db.index_size["{#DBNAME}"] |
| MongoDB {#DBNAME}: Objects, count | Number of objects (documents) in the database across all collections. | DEPENDENT | - | mongodb.db.objects["{#DBNAME}"] |
| MongoDB {#DBNAME}: Objects, avg size | The average size of each document in bytes. | DEPENDENT | - | mongodb.db.size["{#DBNAME}"] |
| MongoDB {#DBNAME}: Get db stats {#DBNAME} | Returns statistics reflecting the database system's state. | - | - | mongodb.db.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}"] |
| MongoDB {#DBNAME}: Size, storage | Total amount of space allocated to collections in this database for document storage. | DEPENDENT | - | mongodb.db.storage_size["{#DBNAME}"] |
Discovery rule №3
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| Replication discovery | Collect metrics by Zabbix agent if it exists | DEPENDENT | 0 | mongodb.rs.discovery |
Item prototypes
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| MongoDB: Apply batches, ms/s | Fraction of time (ms/s) the mongod has spent applying operations from the oplog. | DEPENDENT | - | mongodb.rs.apply.batches.ms.rate[{#RS_NAME}] |
| MongoDB: Apply batches, rate | Number of batches applied across all databases per second. | DEPENDENT | - | mongodb.rs.apply.batches.rate[{#RS_NAME}] |
| MongoDB: Apply ops, rate | Number of oplog operations applied per second. | DEPENDENT | - | mongodb.rs.apply.rate[{#RS_NAME}] |
| MongoDB: Buffer | Number of operations in the oplog buffer. | DEPENDENT | - | mongodb.rs.buffer.count[{#RS_NAME}] |
| MongoDB: Buffer, max size | Maximum size of the buffer. | DEPENDENT | - | mongodb.rs.buffer.max_size[{#RS_NAME}] |
| MongoDB: Buffer, size | Current size of the contents of the oplog buffer. | DEPENDENT | - | mongodb.rs.buffer.size[{#RS_NAME}] |
| MongoDB: Replication lag | Delay between a write operation on the primary and its copy to a secondary. | DEPENDENT | - | mongodb.rs.lag[{#RS_NAME}] |
| MongoDB: Network bytes, rate | Amount of data read from the replication sync source per second. | DEPENDENT | - | mongodb.rs.network.bytes.rate[{#RS_NAME}] |
| MongoDB: Network getmores, ms/s | Fraction of time (ms/s) required to collect data from getmore operations. | DEPENDENT | - | mongodb.rs.network.getmores.ms.rate[{#RS_NAME}] |
| MongoDB: Network getmores, rate | Number of getmore operations per second. | DEPENDENT | - | mongodb.rs.network.getmores.rate[{#RS_NAME}] |
| MongoDB: Network ops, rate | Number of operations read from the replication source per second. | DEPENDENT | - | mongodb.rs.network.ops.rate[{#RS_NAME}] |
| MongoDB: Network readers created, rate | Number of oplog query processes created per second. | DEPENDENT | - | mongodb.rs.network.readers.rate[{#RS_NAME}] |
| MongoDB {#RS_NAME}: Oplog time diff | Oplog window: difference between the first and last operation in the oplog. Only present if there are entries in the oplog. | DEPENDENT | - | mongodb.rs.oplog.timediff[{#RS_NAME}] |
| MongoDB: Preload docs, ms/s | Fraction of time (ms/s) spent loading documents as part of the pre-fetch stage of replication. | DEPENDENT | - | mongodb.rs.preload.docs.ms.rate[{#RS_NAME}] |
| MongoDB: Preload docs, rate | Number of documents loaded per second during the pre-fetch stage of replication. | DEPENDENT | - | mongodb.rs.preload.docs.rate[{#RS_NAME}] |
| MongoDB: Preload indexes, ms/s | Fraction of time (ms/s) spent loading documents as part of the pre-fetch stage of replication. | DEPENDENT | - | mongodb.rs.preload.indexes.ms.rate[{#RS_NAME}] |
| MongoDB: Preload indexes, rate | Number of index entries loaded by members before updating documents as part of the pre-fetch stage of replication. | DEPENDENT | - | mongodb.rs.preload.indexes.rate[{#RS_NAME}] |
| MongoDB: Node state | An integer between 0 and 10 that represents the replica state of the current member. | DEPENDENT | - | mongodb.rs.state[{#RS_NAME}] |
| MongoDB: Number of replicas | The number of replicated nodes in current ReplicaSet. | DEPENDENT | - | mongodb.rs.total_nodes[{#RS_NAME}] |
| MongoDB: Unhealthy replicas | The replicated nodes in current ReplicaSet with member health value = 0. | DEPENDENT | - | mongodb.rs.unhealthy[{#RS_NAME}] |
| MongoDB: Number of unhealthy replicas | The number of replicated nodes with member health value = 0. | DEPENDENT | - | mongodb.rs.unhealthy_count[{#RS_NAME}] |
Trigger prototypes
| Name | Description | Expression | Priority | Dependencies |
|---|---|---|---|---|
| MongoDB: Replication lag with primary is too high | - | min(/MongoDB node by Zabbix agent 2/mongodb.rs.lag[{#RS_NAME}],5m)>{$MONGODB.REPL.LAG.MAX.WARN} | WARNING 📢 | MongoDB: Replication lag |
| MongoDB: Node in ReplicaSet changed the state | Node in ReplicaSet changed the state. Ack to close. | last(/MongoDB node by Zabbix agent 2/mongodb.rs.state[{#RS_NAME}],#1)<>last(/MongoDB node by Zabbix agent 2/mongodb.rs.state[{#RS_NAME}],#2) | WARNING 📢 | MongoDB: Node state |
Discovery rule №4
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| WiredTiger metrics | Collect metrics of WiredTiger Storage Engine if it exists | DEPENDENT | 0 | mongodb.wired_tiger.discovery |
Item prototypes
| Name | Description | Type | Interval | Key and additional info |
|---|---|---|---|---|
| MongoDB: WiredTiger cache: bytes | Size of the data currently in cache. | DEPENDENT | - | mongodb.wired_tiger.cache.bytes_in_cache[{#SINGLETON}] |
| MongoDB: WiredTiger cache: bytes, max | Maximum cache size. | DEPENDENT | - | mongodb.wired_tiger.cache.maximum_bytes_configured[{#SINGLETON}] |
| MongoDB: WiredTiger cache: max page size at eviction | Maximum page size at eviction. | DEPENDENT | - | mongodb.wired_tiger.cache.max_page_size_eviction[{#SINGLETON}] |
| MongoDB: WiredTiger cache: modified pages evicted | Number of pages, that have been modified, evicted from the cache. | DEPENDENT | - | mongodb.wired_tiger.cache.modified_pages_evicted[{#SINGLETON}] |
| MongoDB: WiredTiger cache: pages evicted by application threads, rate | Number of page evicted by application threads per second. | DEPENDENT | - | mongodb.wired_tiger.cache.pages_evicted_threads.rate[{#SINGLETON}] |
| MongoDB: WiredTiger cache: pages held in cache | Number of pages currently held in the cache. | DEPENDENT | - | mongodb.wired_tiger.cache.pages_in_cache[{#SINGLETON}] |
| MongoDB: WiredTiger cache: pages read into cache | Number of pages read into the cache. | DEPENDENT | - | mongodb.wired_tiger.cache.pages_read[{#SINGLETON}] |
| MongoDB: WiredTiger cache: pages written from cache | Number of pages written from the cache. | DEPENDENT | - | mongodb.wired_tiger.cache.pages_written[{#SINGLETON}] |
| MongoDB: WiredTiger cache: in-memory page splits | In-memory page splits. | DEPENDENT | - | mongodb.wired_tiger.cache.splits[{#SINGLETON}] |
| MongoDB: WiredTiger cache: tracked dirty bytes in the cache | Size of the dirty data in the cache. | DEPENDENT | - | mongodb.wired_tiger.cache.tracked_dirty_bytes[{#SINGLETON}] |
| MongoDB: WiredTiger cache: unmodified pages evicted | Number of pages, that were not modified, evicted from the cache. | DEPENDENT | - | mongodb.wired_tiger.cache.unmodified_pages_evicted[{#SINGLETON}] |
| MongoDB: WiredTiger concurrent transactions: read, available | Number of available read tickets (concurrent transactions) remaining. | DEPENDENT | - | mongodb.wired_tiger.concurrent_transactions.read.available[{#SINGLETON}] |
| MongoDB: WiredTiger concurrent transactions: read, out | Number of read tickets (concurrent transactions) in use. | DEPENDENT | - | mongodb.wired_tiger.concurrent_transactions.read.out[{#SINGLETON}] |
| MongoDB: WiredTiger concurrent transactions: read, total tickets | Total number of read tickets (concurrent transactions) available. | DEPENDENT | - | mongodb.wired_tiger.concurrent_transactions.read.totalTickets[{#SINGLETON}] |
| MongoDB: WiredTiger concurrent transactions: write, available | Number of available write tickets (concurrent transactions) remaining. | DEPENDENT | - | mongodb.wired_tiger.concurrent_transactions.write.available[{#SINGLETON}] |
| MongoDB: WiredTiger concurrent transactions: write, out | Number of write tickets (concurrent transactions) in use. | DEPENDENT | - | mongodb.wired_tiger.concurrent_transactions.write.out[{#SINGLETON}] |
| MongoDB: WiredTiger concurrent transactions: write, total tickets | Total number of write tickets (concurrent transactions) available. | DEPENDENT | - | mongodb.wired_tiger.concurrent_transactions.write.totalTickets[{#SINGLETON}] |
Trigger prototypes
| Name | Description | Expression | Priority | Dependencies |
|---|---|---|---|---|
| MongoDB: Available WiredTiger read tickets is low | "Too few available read tickets. When the number of available read tickets remaining reaches zero, new read requests will be queued until a new read ticket is available." | max(/MongoDB node by Zabbix agent 2/mongodb.wired_tiger.concurrent_transactions.read.available[{#SINGLETON}],5m)<{$MONGODB.WIRED_TIGER.TICKETS.AVAILABLE.MIN.WARN} | WARNING 📢 | MongoDB: WiredTiger concurrent transactions: read, available |
| MongoDB: Available WiredTiger write tickets is low | "Too few available write tickets. When the number of available write tickets remaining reaches zero, new write requests will be queued until a new write ticket is available." | max(/MongoDB node by Zabbix agent 2/mongodb.wired_tiger.concurrent_transactions.write.available[{#SINGLETON}],5m)<{$MONGODB.WIRED_TIGER.TICKETS.AVAILABLE.MIN.WARN} | WARNING 📢 | MongoDB: WiredTiger concurrent transactions: write, available |