expression: 'last(/MongoDB node by Zabbix agent 2/mongodb.version["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"],#1)<>last(/MongoDB node by Zabbix agent 2/mongodb.version["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"],#2) and length(last(/MongoDB node by Zabbix agent 2/mongodb.version["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]))>0'
- uuid: 748ad4d098d447d492bb935c907f652f
name: Templates/Databases
- uuid: 81aa8c5ab5594f77a2b26fb7f5094048
template: 'MongoDB node by Zabbix agent 2'
name: 'MongoDB node by Zabbix agent 2'
Get MongoDB metrics from plugin for the zabbix-agent2.
1. Setup and configure zabbix-agent2 compiled with the MongoDB monitoring plugin.
2. Set the {$MONGODB.CONNSTRING} such as <protocol(host:port)> or named session.
3. Set the user name and password in host macros ({$MONGODB.USER}, {$MONGODB.PASSWORD}) if you want to override parameters from the Zabbix agent configuration file.
You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/420659-discussion-thread-for-official-zabbix-template-db-mongodb
Generated by official Zabbix template tool "Templator"
- name: Templates/Databases
- uuid: bfd58d9efaf54e038f96458f68fd48af
name: 'Document: deleted, rate'
key: mongod.document.deleted.rate
description: 'Number of documents deleted per second.'
- $.metrics.document.deleted
- type: CHANGE_PER_SECOND
key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
- uuid: 5ecc078aeda04e3ca34ed42d966cdf40
name: 'Document: inserted, rate'
key: mongod.document.inserted.rate
description: 'Number of documents inserted per second.'
- $.metrics.document.inserted
- type: CHANGE_PER_SECOND
key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
- uuid: 56fc9870503645069a9d937ac21ab7c2
name: 'Document: returned, rate'
key: mongod.document.returned.rate
description: 'Number of documents returned by queries per second.'
- $.metrics.document.returned
- type: CHANGE_PER_SECOND
key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
- uuid: d21a95f1862b4c17b5a4ed83a67ffb1b
name: 'Document: updated, rate'
key: mongod.document.updated.rate
description: 'Number of documents updated per second.'