{"id":13964,"date":"2021-08-30T12:55:53","date_gmt":"2021-08-30T10:55:53","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/"},"modified":"2021-08-30T12:55:53","modified_gmt":"2021-08-30T10:55:53","slug":"mongodb-monitoring-using-nagios","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/","title":{"rendered":"MongoDB Monitoring using Nagios"},"content":{"rendered":"<p>The question comes frequently: How can I monitor my MongoDB cluster (ReplicaSet or Sharded) in a production environment? To answer this question we need first to get an overview of all potential monitoring solutions, and then compare them one by one. That&#8217;s exactly what we gonna do in this blog post series of MongoDB Monitoring solutions. Actually, a few monitoring solutions exist for MongoDB:<\/p>\n<ul>\n<li>Ops Manager\/Cloud Manager<\/li>\n<li>Nagios<\/li>\n<li>Prometheus\/Grafana<\/li>\n<li>MongoDB Utilities (mongostat, mongotop)<\/li>\n<\/ul>\n<p>For the moment, we are going to leave OPS Manager aside because it can only be used with the MongoDB Enterprise Edition. The power of Nagios is its ability to integrate custom plugins developed by the community. One of the most popular MongoDB plugins for Nagios is the check_mongodb.py available here: <a href=\"https:\/\/github.com\/mzupan\/nagios-plugin-mongodb\/\">https:\/\/github.com\/mzupan\/nagios-plugin-mongodb\/<\/a><\/p>\n<p>In this blog post, we will describe steps by steps on how to install, configure, and monitor MongoDB instances using the check_mongodb.py plugin.<\/p>\n<p>Prerequisites:<\/p>\n<ul>\n<li>MongoDB is installed, up and running<\/li>\n<li>Nagios server is installed<\/li>\n<\/ul>\n<p>For Nagios installation please refer to the official documentation: <a href=\"https:\/\/library.nagios.com\/library\/products\/nagios-core\/documentation\/nagios-core-installing-on-centos- 7\/\" target=\"_blank\" rel=\"noopener\">https:\/\/library.nagios.com\/library\/products\/nagios-core\/documentation\/nagios-core-installing-on-centos- 7\/<\/a><\/p>\n<h3>Create MongoDB user<\/h3>\n<p>You must be logged as an admin user in the admin database:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">[nagios@nosql-primary ~]$ \/opt\/nosql\/admin\/mongodb\/products\/mongodb-linux-x86_64-amazon-4.4.1\/bin\/mongo --host 172.21.9.106 --port 27001 -u admin -p\nMongoDB shell version v4.4.1\nEnter password:\nconnecting to: mongodb:\/\/172.21.9.106:27001\/?compressors=disabled&amp;gssapiServiceName=mongodb\nImplicit session: session { \"id\" : UUID(\"1fa616d7-5d2b-4952-9bab-e75bb6c3f169\") }\nMongoDB server version: 4.4.1\n---<\/pre>\n<p>The first step is to create the monitoring user as follow:<\/p>\n<pre class=\"brush: javascript; gutter: true; first-line: 1\">mongo-replica:PRIMARY&gt; db.getSiblingDB(\"admin\").createUser( {\nuser: \"monitoring\",\npwd: \"test\",\nroles: [ { role: \"clusterMonitor\", db: \"admin\" } ]\n} )<\/pre>\n<h3>Download and Install check_mongodb Nagios Plugin<\/h3>\n<p>Download the full project from here: <a href=\"https:\/\/github.com\/mzupan\/nagios-plugin-mongodb\" rel=\"noopener\" target=\"_blank\">https:\/\/github.com\/mzupan\/nagios-plugin-mongodb<\/a><\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">[mongodb@nosql-primary ~]$ wget --no-check-certificate https:\/\/github.com\/mzupan\/nagios-plugin-mongodb\/archive\/master.zip\n[nagios@nosql-primary ~]$ unzip \/usr\/save\/nagios-plugin-mongodb-master.zip\n[nagios@nosql-primary ~]$ mv \/usr\/save\/nagios-plugin-mongodb-master \/usr\/save\/nagios-plugin- mongodb\n[nagios@nosql-primary ~]$ cd \/usr\/local\/nagios\/libexec\/\n[nagios@nosql-primary ~]$ chown -R nagios:nagios nagios-plugin-mongodb\/<\/pre>\n<p>Test the plugin, to verify it has been installed properly:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">[nagios@nosql-primary ~]$ \/usr\/local\/nagios\/libexec\/nagios-plugin-mongodb\/check_mongodb.py\nNo module named pymongo\nAt this stage, the plugin is installed but needs a dependency: pymongo.<\/pre>\n<h3>Download and Install PyMongo Driver<\/h3>\n<p><strong>Method 1: Download and install PyMongo manually.<\/strong><br \/>\nDownload the MongoDB Python driver from here: <a href=\"https:\/\/github.com\/mongodb\/mongo-python-driver\" rel=\"noopener\" target=\"_blank\">https:\/\/github.com\/mongodb\/mongo-python-driver<\/a>.<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">[nagios@nosql-primary ~]$ cd ~\n[nagios@nosql-primary ~]$ wget --no-check-certificate https:\/\/github.com\/mongodb\/mongo-python- driver\/archive\/master.zip\n[nagios@nosql-primary ~]$ unzip mongo-python-driver-master.zip $ cd mongo-python-driver-master\nInstall pymongo by running the setup.py as shown below :\n# python setup.py install ..\n..\n..\nInstalled \/usr\/lib\/python2.4\/site-packages\/pymongo-2.6-py2.4-linux- i686.egg\nProcessing dependencies for pymongo==2.6\nFinished processing dependencies for pymongo==2.6<\/pre>\n<p><strong>Method 2: Install PyMongo driver using pip.<\/strong><br \/>\nFirst install Python pip:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">[nagios@nosql-primary ~]$ curl \"https:\/\/bootstrap.pypa.io\/get-pip.py\" -o \"get-pip.py\" $ python get-pip.py\n[nagios@nosql-primary ~]$ pip -V\npip 20.0.2 from \/usr\/lib\/python2.7\/site-packages\/pip (python 2.7)<\/pre>\n<p>Inside the MongoDB plugin directory for Nagios execute the following command:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">[nagios@nosql-primary ~]$ cd \/usr\/local\/nagios\/libexec\/nagios-plugin-mongodb\/ \n[nagios@nosql-primary ~]$ pip install -r requirements<\/pre>\n<h4>Test MongoDB Nagios Plugin from Command Line<\/h4>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">[nagios@nosql-primary ~]$ \/usr\/local\/nagios\/libexec\/nagios-plugin-mongodb\/check_mongodb.py -H 192.168.0.50\nOK - Connection took 1 second\nThe MongoDB Nagios plugin works properly, we can now start configuring services and commands.<\/pre>\n<h3>Command definition<\/h3>\n<p>Add the following command to the command.cfg file.<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">[nagios@nosql-primary ~]$ vi \/usr\/local\/nagios\/etc\/objects\/commands.cfg\n\n\n################################################################################\n#\n# MONGODB CHECK COMMANDS\n#\n################################################################################\n\ndefine command {\n    command_name    check_mongodb\n    command_line    $USER1$\/nagios-plugin-mongodb\/check_mongodb.py -H $HOSTADDRESS$ -A $ARG1$ -P $ARG2$ -W $ARG3$ -C $ARG4$\n}\n\ndefine command {\n    command_name    check_mongodb_database\n    command_line    $USER1$\/nagios-plugin-mongodb\/check_mongodb.py -H $HOSTADDRESS$ -A $ARG1$ -P $ARG2$ -W $ARG3$ -C $ARG4$ -d $ARG5$\n}\n\ndefine command {\n    command_name    check_mongodb_collection\n    command_line    $USER1$\/nagios-plugin-mongodb\/check_mongodb.py -H $HOSTADDRESS$ -A $ARG1$ -P $ARG2$ -W $ARG3$ -C $ARG4$ -d $ARG5$ -c $ARG6$\n}\n\ndefine command {\n    command_name    check_mongodb_replicaset\n    command_line    $USER1$\/nagios-plugin-mongodb\/check_mongodb.py -H $HOSTADDRESS$ -A $ARG1$ -P $ARG2$ -W $ARG3$ -C $ARG4$ -r $ARG5$\n}\n\ndefine command {\n    command_name    check_mongodb_query\n    command_line    $USER1$\/nagios-plugin-mongodb\/check_mongodb.py -H $HOSTADDRESS$ -A $ARG1$ -P $ARG2$ -W $ARG3$ -C $ARG4$ -q $ARG5$\n}<\/pre>\n<h3>Nagios Service Definition for MongoDB Commands<\/h3>\n<p>Create a service definition and place it under the \/usr\/local\/nagios\/etc directory.<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">[nagios@mdb03 etc]$ vi \/usr\/local\/nagios\/etc\/mongodb-prod-server.cfg\n\ndefine host{\n        use           linux-server\n        host_name     mdb01\n        alias         mdb01\n        address       192.168.56.105\n}\ndefine host{\n        use           linux-server\n        host_name     mdb02\n        alias         mdb02\n        address       192.168.56.106\n}\ndefine host{\n        use           linux-server\n        host_name     mdb03\n        alias         mdb03\n        address       192.168.56.107\n}\ndefine hostgroup{\n        hostgroup_name          Mongo Servers\n        alias                   Mongo Servers\n        members                 mdb01,mdb02,mdb03\n}\n######################################################################## \n######## SERVICES DEFINITIONS ########\n########################################################################\ndefine service {\n    use                 generic-service\n    hostgroup_name          Mongo Servers\n    service_description     Mongo Connect Check\n    check_command           check_mongodb!connect!27017!2!4\n}\ndefine service {\n    use                 generic-service\n    hostgroup_name          Mongo Servers\n    service_description     Mongo Free Connections\n    check_command           check_mongodb!connections!27017!70!80\n}\n....\n## All services definition can be found here: https:\/\/github.com\/mzupan\/nagios-plugin-mongodb<\/pre>\n<p>Now add the MongoDB configuration file in the central Nagios configuration file:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">[nagios@mdb03 etc]$ vi \/usr\/local\/nagios\/etc\/nagios.cfg\n# Definitions for Monitoring MongoDB Hosts and Services\ncfg_dir=\/usr\/local\/nagios\/etc\/objects\/mongodb-prod-server<\/pre>\n<p>Save and exit<\/p>\n<p>Test Service Check before restarting Nagios Service<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">[nagios@mdb03 etc]$ \/usr\/local\/nagios\/bin\/nagios -v \/usr\/local\/nagios\/etc\/nagios.cfg Running pre-flight check on configuration data...\n...\nTotal Warnings: 0 Total Errors: 0\nThings look okay - No serious problems were detected during the pre-flight check<\/pre>\n<p>Then, restart the Nagios service:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">[nagios@mdb03 etc]$ systemctl restart nagios &amp;&amp; systemctl status nagios<\/pre>\n<p>Connect to the Nagios web interface a see all services running:<\/p>\n<pre class=\"brush: bash; gutter: true; first-line: 1\">[nagios@mdb03 etc]$ open http:\/\/IP\/nagios<\/pre>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Screenshot-2020-04-16-at-15.50.02.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Screenshot-2020-04-16-at-15.50.02.png\" alt=\"\" width=\"1024\" height=\"539\" class=\"aligncenter size-large wp-image-51355\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The question comes frequently: How can I monitor my MongoDB cluster (ReplicaSet or Sharded) in a production environment? To answer this question we need first to get an overview of all potential monitoring solutions, and then compare them one by one. That&#8217;s exactly what we gonna do in this blog post series of MongoDB Monitoring [&hellip;]<\/p>\n","protected":false},"author":109,"featured_media":13965,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[229,1739],"tags":[534,677],"type_dbi":[],"class_list":["post-13964","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database-administration-monitoring","category-nosql","tag-nagios","tag-nosql-mongodb"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>MongoDB Monitoring using Nagios - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MongoDB Monitoring using Nagios\" \/>\n<meta property=\"og:description\" content=\"The question comes frequently: How can I monitor my MongoDB cluster (ReplicaSet or Sharded) in a production environment? To answer this question we need first to get an overview of all potential monitoring solutions, and then compare them one by one. That&#8217;s exactly what we gonna do in this blog post series of MongoDB Monitoring [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-30T10:55:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Screenshot-2020-04-16-at-15.50.02.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2048\" \/>\n\t<meta property=\"og:image:height\" content=\"1077\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"DevOps\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DevOps\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/\"},\"author\":{\"name\":\"DevOps\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/4cd1b5f8a3de93f05a16ab8d7d2b7735\"},\"headline\":\"MongoDB Monitoring using Nagios\",\"datePublished\":\"2021-08-30T10:55:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/\"},\"wordCount\":366,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Screenshot-2020-04-16-at-15.50.02.png\",\"keywords\":[\"Nagios\",\"NoSQL MongoDB\"],\"articleSection\":[\"Database Administration &amp; Monitoring\",\"NoSQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/\",\"name\":\"MongoDB Monitoring using Nagios - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Screenshot-2020-04-16-at-15.50.02.png\",\"datePublished\":\"2021-08-30T10:55:53+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/4cd1b5f8a3de93f05a16ab8d7d2b7735\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Screenshot-2020-04-16-at-15.50.02.png\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Screenshot-2020-04-16-at-15.50.02.png\",\"width\":2048,\"height\":1077},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MongoDB Monitoring using Nagios\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/4cd1b5f8a3de93f05a16ab8d7d2b7735\",\"name\":\"DevOps\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/cdd2dd7441774355062c0f0f68612296b059cd1e2ff6c7af0b15dba0ed64a85f?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cdd2dd7441774355062c0f0f68612296b059cd1e2ff6c7af0b15dba0ed64a85f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cdd2dd7441774355062c0f0f68612296b059cd1e2ff6c7af0b15dba0ed64a85f?s=96&d=mm&r=g\",\"caption\":\"DevOps\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/devops\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"MongoDB Monitoring using Nagios - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/","og_locale":"en_US","og_type":"article","og_title":"MongoDB Monitoring using Nagios","og_description":"The question comes frequently: How can I monitor my MongoDB cluster (ReplicaSet or Sharded) in a production environment? To answer this question we need first to get an overview of all potential monitoring solutions, and then compare them one by one. That&#8217;s exactly what we gonna do in this blog post series of MongoDB Monitoring [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/","og_site_name":"dbi Blog","article_published_time":"2021-08-30T10:55:53+00:00","og_image":[{"width":2048,"height":1077,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Screenshot-2020-04-16-at-15.50.02.png","type":"image\/png"}],"author":"DevOps","twitter_card":"summary_large_image","twitter_misc":{"Written by":"DevOps","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/"},"author":{"name":"DevOps","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/4cd1b5f8a3de93f05a16ab8d7d2b7735"},"headline":"MongoDB Monitoring using Nagios","datePublished":"2021-08-30T10:55:53+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/"},"wordCount":366,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Screenshot-2020-04-16-at-15.50.02.png","keywords":["Nagios","NoSQL MongoDB"],"articleSection":["Database Administration &amp; Monitoring","NoSQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/","url":"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/","name":"MongoDB Monitoring using Nagios - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Screenshot-2020-04-16-at-15.50.02.png","datePublished":"2021-08-30T10:55:53+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/4cd1b5f8a3de93f05a16ab8d7d2b7735"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Screenshot-2020-04-16-at-15.50.02.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/Screenshot-2020-04-16-at-15.50.02.png","width":2048,"height":1077},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/mongodb-monitoring-using-nagios\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"MongoDB Monitoring using Nagios"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/4cd1b5f8a3de93f05a16ab8d7d2b7735","name":"DevOps","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/cdd2dd7441774355062c0f0f68612296b059cd1e2ff6c7af0b15dba0ed64a85f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/cdd2dd7441774355062c0f0f68612296b059cd1e2ff6c7af0b15dba0ed64a85f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cdd2dd7441774355062c0f0f68612296b059cd1e2ff6c7af0b15dba0ed64a85f?s=96&d=mm&r=g","caption":"DevOps"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/devops\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/13964","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/109"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=13964"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/13964\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/13965"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=13964"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=13964"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=13964"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=13964"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}