This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
manual:config:items:itemtypes:zabbix_agent:zabbix_agent2 [2021/02/25 08:17] martins-v fixing imprecise info on smart plugin item keys (ZBXNEXT-6339) |
manual:config:items:itemtypes:zabbix_agent:zabbix_agent2 [2021/03/08 10:58] (current) marinagen [ZBXNEXT-6408] MongoDB plugin |
||
---|---|---|---|
Line 50: | Line 50: | ||
| ||||| | | ||||| | ||
^docker.images.discovery ^^^^^ | ^docker.images.discovery ^^^^^ | ||
- | ^ |A list of images. Used for [[:manual/discovery/low_level_discovery/rules|low-level discovery]]. |JSON object. |- |This item is supported for the Docker plugin.\\ \\ The Agent2 user ('zabbix') must be added to the 'docker' [[https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user|group]] for sufficient privileges. Otherwise the check will fail. | | + | ^ |A list of images. Used for [[:manual/discovery/low_level_discovery|low-level discovery]]. |JSON object. |- |This item is supported for the Docker plugin.\\ \\ The Agent2 user ('zabbix') must be added to the 'docker' [[https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user|group]] for sufficient privileges. Otherwise the check will fail. | |
| ||||| | | ||||| | ||
^docker.info ^^^^^ | ^docker.info ^^^^^ | ||
Line 63: | Line 63: | ||
^memcached.stats[<connString>,<user>,<password>,<type>] ^^^^^ | ^memcached.stats[<connString>,<user>,<password>,<type>] ^^^^^ | ||
^ |Gets the output of the STATS command. |JSON - output is serialized as JSON |**connString** - URI or session name. \\ **user, password** - Memchached login credentials. \\ **type** - stat type to be returned: //items//, //sizes//, //slabs// or //settings// (empty by default, returns general statistics). |This item is supported for the Memchached plugin. | | ^ |Gets the output of the STATS command. |JSON - output is serialized as JSON |**connString** - URI or session name. \\ **user, password** - Memchached login credentials. \\ **type** - stat type to be returned: //items//, //sizes//, //slabs// or //settings// (empty by default, returns general statistics). |This item is supported for the Memchached plugin. | | ||
+ | | ||||| | ||
+ | ^mongodb.collection.stats[<connString>,<user>,<password>,<database>,collection] ^^^^^ | ||
+ | ^ |Returns a variety of storage statistics for a given collection. |JSON object |**connString** - URI or session name. \\ **user, password** - MongoDB login credentials. \\ **database** - database name (default: admin). \\ **collection** — collection name. |This item is supported for the [[:manual/config/items/plugins#plugins_supplied_out-of-the-box|MongoDB plugin]]. | | ||
+ | | ||||| | ||
+ | ^mongodb.collections.discovery[<connString>,<user>,<password>] ^^^^^ | ||
+ | ^ |Returns a list of discovered collections. Used for [[:manual/discovery/low_level_discovery|low-level discovery]]. |JSON object |**connString** - URI or session name. \\ **user, password** - MongoDB login credentials. |This item is supported for the [[:manual/config/items/plugins#plugins_supplied_out-of-the-box|MongoDB plugin]]. | | ||
+ | | ||||| | ||
+ | ^mongodb.collections.usage[<connString>,<user>,<password>] ^^^^^ | ||
+ | ^ |Returns usage statistics for collections. |JSON object |**connString** - URI or session name. \\ **user, password** - MongoDB login credentials. |This item is supported for the [[:manual/config/items/plugins#plugins_supplied_out-of-the-box|MongoDB plugin]]. | | ||
+ | | ||||| | ||
+ | ^mongodb.connpool.stats[<connString>,<user>,<password>] ^^^^^ | ||
+ | ^ |Returns information regarding the open outgoing connections from the current database instance to other members of the sharded cluster or replica set. |JSON object |**connString** - URI or session name. \\ **user, password** - MongoDB login credentials. |This item is supported for the [[:manual/config/items/plugins#plugins_supplied_out-of-the-box|MongoDB plugin]]. | | ||
+ | | ||||| | ||
+ | ^mongodb.db.stats[<connString>,<user>,<password>,<database>] ^^^^^ | ||
+ | ^ |Returns statistics reflecting a given database system state. |JSON object |**connString** - URI or session name. \\ **user, password** - MongoDB login credentials.\\ **database** - database name (default: admin). |This item is supported for the [[:manual/config/items/plugins#plugins_supplied_out-of-the-box|MongoDB plugin]]. | | ||
+ | | ||||| | ||
+ | ^mongodb.db.discovery[<connString>,<user>,<password>] ^^^^^ | ||
+ | ^ |Returns a list of discovered databases. Used for [[:manual/discovery/low_level_discovery|low-level discovery]]. |JSON object |**connString** - URI or session name. \\ **user, password** - MongoDB login credentials.|This item is supported for the [[:manual/config/items/plugins#plugins_supplied_out-of-the-box|MongoDB plugin]]. | | ||
+ | | ||||| | ||
+ | ^mongodb.jumbo_chunks.count[<connString>,<user>,<password>] ^^^^^ | ||
+ | ^ |Returns count of jumbo chunks. |JSON object |**connString** - URI or session name. \\ **user, password** - MongoDB login credentials.|This item is supported for the [[:manual/config/items/plugins#plugins_supplied_out-of-the-box|MongoDB plugin]]. | | ||
+ | | ||||| | ||
+ | ^mongodb.oplog.stats[<connString>,<user>,<password>] ^^^^^ | ||
+ | ^ |Returns a status of the replica set, using data polled from the oplog. |JSON object |**connString** - URI or session name. \\ **user, password** - MongoDB login credentials.|This item is supported for the [[:manual/config/items/plugins#plugins_supplied_out-of-the-box|MongoDB plugin]]. | | ||
+ | | ||||| | ||
+ | ^mongodb.ping[<connString>,<user>,<password>] ^^^^^ | ||
+ | ^ |Tests if a connection is alive or not. |1 - connection is alive\\ \\ 0 - connection is broken (if there is any error presented including AUTH and configuration issues). |**connString** - URI or session name. \\ **user, password** - MongoDB login credentials.|This item is supported for the [[:manual/config/items/plugins#plugins_supplied_out-of-the-box|MongoDB plugin]]. | | ||
+ | | ||||| | ||
+ | ^mongodb.rs.config[<connString>,<user>,<password>] ^^^^^ | ||
+ | ^ |Returns a current configuration of the replica set. |JSON object |**connString** - URI or session name. \\ **user, password** - MongoDB login credentials.|This item is supported for the [[:manual/config/items/plugins#plugins_supplied_out-of-the-box|MongoDB plugin]]. | | ||
+ | | ||||| | ||
+ | ^mongodb.rs.status[<connString>,<user>,<password>] ^^^^^ | ||
+ | ^ |Returns a replica set status from the point of view of the member where the method is run. |JSON object |**connString** - URI or session name. \\ **user, password** - MongoDB login credentials.|This item is supported for the [[:manual/config/items/plugins#plugins_supplied_out-of-the-box|MongoDB plugin]]. | | ||
+ | | ||||| | ||
+ | ^mongodb.server.status[<connString>,<user>,<password>] ^^^^^ | ||
+ | ^ |Returns database state. |JSON object |**connString** - URI or session name. \\ **user, password** - MongoDB login credentials.|This item is supported for the [[:manual/config/items/plugins#plugins_supplied_out-of-the-box|MongoDB plugin]]. | | ||
+ | | ||||| | ||
+ | ^mongodb.sh.discovery[<connString>,<user>,<password>] ^^^^^ | ||
+ | ^ |Returns a list of discovered shards present in the cluster. |JSON object |**connString** - URI or session name. \\ **user, password** - MongoDB login credentials.|This item is supported for the [[:manual/config/items/plugins#plugins_supplied_out-of-the-box|MongoDB plugin]]. | | ||
| ||||| | | ||||| | ||
^mqtt.get[<broker_url>,topic,<username>,<password>] ^^^^^ | ^mqtt.get[<broker_url>,topic,<username>,<password>] ^^^^^ |