{"id":2296,"date":"2015-08-17T11:47:46","date_gmt":"2015-08-17T11:47:46","guid":{"rendered":"http:\/\/kedar.nitty-witty.com\/?p=2296"},"modified":"2024-01-27T17:29:44","modified_gmt":"2024-01-27T17:29:44","slug":"how-to-add-remote-mysql-server-to-nagios-monitoring","status":"publish","type":"post","link":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-add-remote-mysql-server-to-nagios-monitoring","title":{"rendered":"How to Add Remote MySQL Server to Nagios Monitoring"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">We already have seen two articles for setting up MySQL Monitoring with <a href=\"kedar.nitty-witty.com\/10-steps-mysql-monitoring-nagios-installation-configuration\" target=\"_blank\" rel=\"nofollow noopener\">Nagios<\/a> and <a href=\"kedar.nitty-witty.com\/install-percona-monitoring-tools-for-nagios-mysql-plugins\" target=\"_blank\" rel=\"nofollow noopener\">Percona Monitoring Tools for Nagios<\/a>. Those posts covers configuration of nagios on single instance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Though following questions came to me: Do you need to setup Nagios again on all servers that we want to monitor? How do you add another MySQL server to this monitoring?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This post is an answer to those questions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To add remote server to nagios monitoring, We need NRPE (Nagios Remote Plugin Executor) along with Xinetd (Extended Internet Daemon) and Nagios Plugins to be setup.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(This assumes you have already setup the nagios server and adding new host. Refer links in first line of the article)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Steps to add Remote MySQL server to Nagios Monitoring:<\/h3>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8211; Create MySQL user for Nagios Server to connect (on Remote Server):<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">GRANT USAGE, REPLICATION CLIENT ON *.* TO 'nagios'@'' IDENTIFIED BY 'nagios';\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8211; Install required dependencies:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">yum install xinetd openssl openssl-devel\n# OR apt-get install openssl xinetd libssl-dev\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8211; Download &amp; Install Nagios Plugins on remote MySQL Server:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget http:\/\/nagios-plugins.org\/download\/nagios-plugins-2.0.3.tar.gz\ntar xzf nagios-plugins-2.0.3.tar.gz\ncd nagios-plugins-2.0.3\nsudo .\/configure --with-nagios-user=nagios --with-nagios-group=nagios\nsudo make\nsudo make install\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8211; Download &amp; Install NRPE:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget http:\/\/garr.dl.sourceforge.net\/project\/nagios\/nrpe-2.x\/nrpe-2.15\/nrpe-2.15.tar.gz\ntar xzf nrpe-2.15.tar.gz\ncd nrpe-2.15\n\n##Compile and install the NRPE addon.\n.\/configure\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You may face following error:<br><b>&#8220;checking for SSL libraries&#8230; configure: error: Cannot find ssl libraries&#8221;<\/b><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Try specifying ssl &amp; lib path as follows:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">.\/configure --with-ssl=\/usr\/bin\/openssl --with-ssl-lib=\/usr\/lib\/i386-linux-gnu\/\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If this still doesn&#8217;t get resolved make sure you have required openssl and dependencies sorted.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8211; Proceed further for the NRPE setup:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">make all\nmake install-plugin\nmake install-daemon\nmake install-daemon-config\nmake install-xinetd\nservice xinetd restart\nvi  \/etc\/xinetd.d\/nrpe # Verify following content (Note only_from)\n\n<i># default: on\n\t# description: NRPE (Nagios Remote Plugin Executor)\n\tservice nrpe\n\t{\n\t\tflags           = REUSE\n\t\tsocket_type     = stream\n\t\tport            = 5666\n\t\twait            = no\n\t\tuser            = nagios\n\t\tgroup           = nagios\n\t\tserver          = \/usr\/local\/nagios\/bin\/nrpe\n\t\tserver_args     = -c \/usr\/local\/nagios\/etc\/nrpe.cfg --inetd\n\t\tlog_on_failure  += USERID\n\t\tdisable         = no\n\t\t<b>only_from       = 127.0.0.1 192.168.86.129<\/b>\n\t}<\/i>\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">As we&#8217;re going to run NRPE daemon xinetd, we&#8217;ll need to add the IP\/hostname to the only_from directive.<br>We need to update allowed_hosts in the file \/usr\/local\/nagios\/etc\/nrpe.cfg if we&#8217;re not going to use NRPE with Xinetd.<br><strong>Note<\/strong> that <em>allowed_hosts is a comma-delimited list while only_from is space separated.<\/em><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">vi \/etc\/services # Add following line.\n\tnrpe            5666\/tcp                 NRPE\n\nservice xinetd restart\nnetstat -at | grep nrpe # Confirm that the nrpe is listening.\n\ntcp        0      0 *:nrpe                  *:*                     LISTEN     \n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8211; Once setup is done you can check the NRPE:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">MySQL-Server]# \/usr\/local\/nagios\/libexec\/check_nrpe -H localhost\nNRPE v2.15\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">and also from the Nagios server (replace the IP with that of remote server):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@Nagios-Server:# \/usr\/local\/nagios\/libexec\/check_nrpe -H 192.168.86.129 -p 5666 \nNRPE v2.15\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Some debugging:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you receive errors as follows:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@Nagios-Server:# \/usr\/local\/nagios\/libexec\/check_nrpe -H 192.168.86.129 -p 5666 \nCHECK_NRPE: Error - Could not complete SSL handshake.\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">&#8230; make sure to confirm the configuration (only_from), connectivity or the firewall are not blocking the communication.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">See to configure firewall. I did a &#8220;dirty&#8221; stop.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><i># Stop iptables<\/i>\n\/etc\/init.d\/iptables stop\n\n<i># Set SELinux permissive<\/i>\nsetenforce 0\n<i># Note: To make SElinux changes permanent update \/etc\/sysconfig\/selinux.<\/i>\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>&#8211; Restart xinetd<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@MySQL-Server nrpe-2.15]# \/etc\/init.d\/xinetd restart\nStopping xinetd:                                           [  OK  ]\nStarting xinetd:                                           [  OK  ]\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Configuration on Nagios Server:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8211; On <strong>Nagios Server<\/strong> add following to the hosts definition and update hostgroup to include another MySQL server:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">define host{\nuse mysql-server\nhost_name mysqldb01\nalias MySQLServer\naddress 192.168.86.129\ncontact_groups admin\n}\n\ndefine hostgroup{\n        hostgroup_name mysql-servers\n        alias MySQL Servers\n<b>        members localhost, mysqldb01<\/b>\n}\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">&#8211; Restart nagios and all done!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hope that helps.<\/p>\n","protected":false},"excerpt":{"rendered":"We already have seen two articles for setting up MySQL Monitoring with Nagios and Percona Monitoring Tools for Nagios. Those posts covers configuration of nagios on single instance. Though following&hellip;\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[8,870,377],"tags":[578,427,577,146],"class_list":["post-2296","post","type-post","status-publish","format-standard","category-mysql","category-mysql-tools","category-mysql-articles","tag-monitor-mysql-with-nagios","tag-mysql","tag-mysql-monitoring","tag-nagios"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Adding remote mysql server to Nagios monitoring step by step.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Kedar\"\/>\n\t<meta name=\"google-site-verification\" content=\"_Bu1h5r0PxIC0D2jBVdmYN45RTeG9ogcX85XLkbG1qA\" \/>\n\t<meta name=\"msvalidate.01\" content=\"116B62074CBCA1BA99B8CCE09CCF2FB8\" \/>\n\t<meta name=\"keywords\" content=\"nagios monitoring,mysql monitoring,nagios,setup,step by step,nrpe,xinetd,monitor mysql with nagios,mysql\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/kedar.nitty-witty.com\/blog\/how-to-add-remote-mysql-server-to-nagios-monitoring\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Change Is Inevitable | Kedar Vaijanapurkar&#039;s Blog for MySQL, technology and various subjects\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to Add Remote MySQL Server to Nagios Monitoring | Change Is Inevitable\" \/>\n\t\t<meta property=\"og:description\" content=\"Adding remote mysql server to Nagios monitoring step by step.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/kedar.nitty-witty.com\/blog\/how-to-add-remote-mysql-server-to-nagios-monitoring\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2015-08-17T11:47:46+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-01-27T17:29:44+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to Add Remote MySQL Server to Nagios Monitoring | Change Is Inevitable\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Adding remote mysql server to Nagios monitoring step by step.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-add-remote-mysql-server-to-nagios-monitoring#article\",\"name\":\"How to Add Remote MySQL Server to Nagios Monitoring | Change Is Inevitable\",\"headline\":\"How to Add Remote MySQL Server to Nagios Monitoring\",\"author\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-add-remote-mysql-server-to-nagios-monitoring#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kedar\"},\"datePublished\":\"2015-08-17T11:47:46+00:00\",\"dateModified\":\"2024-01-27T17:29:44+00:00\",\"inLanguage\":\"en-US\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-add-remote-mysql-server-to-nagios-monitoring#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-add-remote-mysql-server-to-nagios-monitoring#webpage\"},\"articleSection\":\"MySQL, MySQL tools, MySQL-Articles, Monitor MySQL with Nagios, MySQL, MySQL Monitoring, nagios\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-add-remote-mysql-server-to-nagios-monitoring#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql#listItem\",\"name\":\"MySQL\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql#listItem\",\"position\":2,\"name\":\"MySQL\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/mysql-articles#listItem\",\"name\":\"MySQL-Articles\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/mysql-articles#listItem\",\"position\":3,\"name\":\"MySQL-Articles\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/mysql-articles\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-add-remote-mysql-server-to-nagios-monitoring#listItem\",\"name\":\"How to Add Remote MySQL Server to Nagios Monitoring\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql#listItem\",\"name\":\"MySQL\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-add-remote-mysql-server-to-nagios-monitoring#listItem\",\"position\":4,\"name\":\"How to Add Remote MySQL Server to Nagios Monitoring\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/mysql-articles#listItem\",\"name\":\"MySQL-Articles\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\",\"name\":\"Kedar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-add-remote-mysql-server-to-nagios-monitoring#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kedar\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin\",\"name\":\"Kedar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-add-remote-mysql-server-to-nagios-monitoring#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kedar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-add-remote-mysql-server-to-nagios-monitoring#webpage\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-add-remote-mysql-server-to-nagios-monitoring\",\"name\":\"How to Add Remote MySQL Server to Nagios Monitoring | Change Is Inevitable\",\"description\":\"Adding remote mysql server to Nagios monitoring step by step.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/how-to-add-remote-mysql-server-to-nagios-monitoring#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"datePublished\":\"2015-08-17T11:47:46+00:00\",\"dateModified\":\"2024-01-27T17:29:44+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/\",\"name\":\"..::CHANGE is INEVITABLE::..\",\"description\":\"Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to Add Remote MySQL Server to Nagios Monitoring | Change Is Inevitable","description":"Adding remote mysql server to Nagios monitoring step by step.","canonical_url":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-add-remote-mysql-server-to-nagios-monitoring","robots":"max-image-preview:large","keywords":"nagios monitoring,mysql monitoring,nagios,setup,step by step,nrpe,xinetd,monitor mysql with nagios,mysql","webmasterTools":{"google-site-verification":"_Bu1h5r0PxIC0D2jBVdmYN45RTeG9ogcX85XLkbG1qA","msvalidate.01":"116B62074CBCA1BA99B8CCE09CCF2FB8","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-add-remote-mysql-server-to-nagios-monitoring#article","name":"How to Add Remote MySQL Server to Nagios Monitoring | Change Is Inevitable","headline":"How to Add Remote MySQL Server to Nagios Monitoring","author":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"publisher":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-add-remote-mysql-server-to-nagios-monitoring#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kedar"},"datePublished":"2015-08-17T11:47:46+00:00","dateModified":"2024-01-27T17:29:44+00:00","inLanguage":"en-US","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-add-remote-mysql-server-to-nagios-monitoring#webpage"},"isPartOf":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-add-remote-mysql-server-to-nagios-monitoring#webpage"},"articleSection":"MySQL, MySQL tools, MySQL-Articles, Monitor MySQL with Nagios, MySQL, MySQL Monitoring, nagios"},{"@type":"BreadcrumbList","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-add-remote-mysql-server-to-nagios-monitoring#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/kedar.nitty-witty.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql#listItem","name":"MySQL"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql#listItem","position":2,"name":"MySQL","item":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-articles#listItem","name":"MySQL-Articles"},"previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-articles#listItem","position":3,"name":"MySQL-Articles","item":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-articles","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-add-remote-mysql-server-to-nagios-monitoring#listItem","name":"How to Add Remote MySQL Server to Nagios Monitoring"},"previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql#listItem","name":"MySQL"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-add-remote-mysql-server-to-nagios-monitoring#listItem","position":4,"name":"How to Add Remote MySQL Server to Nagios Monitoring","previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-articles#listItem","name":"MySQL-Articles"}}]},{"@type":"Person","@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person","name":"Kedar","image":{"@type":"ImageObject","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-add-remote-mysql-server-to-nagios-monitoring#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kedar"}},{"@type":"Person","@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author","url":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin","name":"Kedar","image":{"@type":"ImageObject","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-add-remote-mysql-server-to-nagios-monitoring#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kedar"}},{"@type":"WebPage","@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-add-remote-mysql-server-to-nagios-monitoring#webpage","url":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-add-remote-mysql-server-to-nagios-monitoring","name":"How to Add Remote MySQL Server to Nagios Monitoring | Change Is Inevitable","description":"Adding remote mysql server to Nagios monitoring step by step.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-add-remote-mysql-server-to-nagios-monitoring#breadcrumblist"},"author":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"creator":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"datePublished":"2015-08-17T11:47:46+00:00","dateModified":"2024-01-27T17:29:44+00:00"},{"@type":"WebSite","@id":"https:\/\/kedar.nitty-witty.com\/blog\/#website","url":"https:\/\/kedar.nitty-witty.com\/blog\/","name":"..::CHANGE is INEVITABLE::..","description":"Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects","inLanguage":"en-US","publisher":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"Change Is Inevitable | Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects","og:type":"article","og:title":"How to Add Remote MySQL Server to Nagios Monitoring | Change Is Inevitable","og:description":"Adding remote mysql server to Nagios monitoring step by step.","og:url":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-add-remote-mysql-server-to-nagios-monitoring","article:published_time":"2015-08-17T11:47:46+00:00","article:modified_time":"2024-01-27T17:29:44+00:00","twitter:card":"summary","twitter:title":"How to Add Remote MySQL Server to Nagios Monitoring | Change Is Inevitable","twitter:description":"Adding remote mysql server to Nagios monitoring step by step."},"aioseo_meta_data":{"post_id":"2296","title":"How to Add Remote MySQL Server to Nagios Monitoring | #site_title","description":"Adding remote mysql server to Nagios monitoring step by step.","keywords":[{"label":"nagios monitoring","value":"nagios monitoring"},{"label":"mysql monitoring","value":"mysql monitoring"},{"label":"nagios","value":"nagios"},{"label":"setup","value":"setup"},{"label":"step by step","value":"step by step"},{"label":"nrpe","value":"nrpe"},{"label":"xinetd","value":"xinetd"}],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-03-24 17:40:44","updated":"2025-08-16 19:16:14","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\" title=\"MySQL\">MySQL<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-articles\" title=\"MySQL-Articles\">MySQL-Articles<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to Add Remote MySQL Server to Nagios Monitoring\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/kedar.nitty-witty.com\/blog"},{"label":"MySQL","link":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql"},{"label":"MySQL-Articles","link":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-articles"},{"label":"How to Add Remote MySQL Server to Nagios Monitoring","link":"https:\/\/kedar.nitty-witty.com\/blog\/how-to-add-remote-mysql-server-to-nagios-monitoring"}],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/2296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/comments?post=2296"}],"version-history":[{"count":3,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/2296\/revisions"}],"predecessor-version":[{"id":2875,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/2296\/revisions\/2875"}],"wp:attachment":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/media?parent=2296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/categories?post=2296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/tags?post=2296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}