Giter Site home page Giter Site logo

zabbix-mongodb's Introduction

Zabbix-MongoDB

A Zabbix plugin for monitoring MongoDB.

Installation

  1. Import the mongodb template to zabbix and link it to the zabbix mongodb host.
  2. Copy the scripts to mongodb host in /usr/local/bin .
  3. Copy mongodb zabbix agent configuration to /etc/zabbix-agent/zabbix_agentd.d and restart zabbix agent.

Note:

  • Zabbix sender uses zabbix agent configuration to send the metrics, please check the hostname is set in the zabbix agent config /etc/zabbix/zabbix_agentd.conf, by default the hostname may be commented out.

The following metrics are collected on mongodb version 3.0 by using python mongodb client, and then sent by zabbix sender.

Server Stats

  • mongodb.ismaster
  • mongodb.version
  • mongodb.storageEngine
  • mongodb.uptime
  • mongodb.okstatus
  • mongodb.asserts.msg
  • mongodb.asserts.rollovers
  • mongodb.asserts.regular
  • mongodb.asserts.warning
  • mongodb.asserts.user
  • mongodb.backgroundFlushing.flushes
  • mongodb.backgroundFlushing.total_ms
  • mongodb.operation.getmore
  • mongodb.operation.insert
  • mongodb.operation.update
  • mongodb.operation.command
  • mongodb.operation.query
  • mongodb.operation.delete
  • mongodb.memory.resident
  • mongodb.memory.virtual
  • mongodb.memory.mapped
  • mongodb.memory.mappedWithJournal
  • mongodb.connection.current
  • mongodb.connection.available
  • mongodb.connection.totalCreated
  • mongodb.network.numRequests
  • mongodb.network.bytesOut
  • mongodb.network.bytesIn
  • mongodb.heap.size
  • mongodb.page.faults
  • mongodb.globalLock.totalTime
  • mongodb.globalLock.currentQueue.total
  • mongodb.globalLock.currentQueue.writers
  • mongodb.globalLock.currentQueue.readers
  • mongodb.globalLock.activeClients.total
  • mongodb.globalLock.activeClients.writers
  • mongodb.globalLock.activeClients.readers

DB Stats

  • mongodb.stats.storageSize[db]
  • mongodb.stats.ok[db]
  • mongodb.stats.avgObjSize[db]
  • mongodb.stats.indexes[db]
  • mongodb.stats.objects[db]
  • mongodb.stats.collections[db]
  • mongodb.stats.fileSize[db]
  • mongodb.stats.numExtents[db]
  • mongodb.stats.dataSize[db]
  • mongodb.stats.indexSize[db]
  • mongodb.stats.nsSizeMB[db]

License

MIT

zabbix-mongodb's People

Contributors

dahlinpl avatar flover97 avatar longc avatar omegazeng avatar omni-lchen avatar usualstuff avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.