{"id":626,"date":"2016-04-29T19:30:44","date_gmt":"2016-04-29T14:00:44","guid":{"rendered":"http:\/\/www.middlewareprimer.com\/blog\/?p=626"},"modified":"2016-04-29T19:30:44","modified_gmt":"2016-04-29T14:00:44","slug":"check_nrpe-received-0-bytes-daemon","status":"publish","type":"post","link":"http:\/\/www.middlewareprimer.com\/blog\/2016\/04\/29\/check_nrpe-received-0-bytes-daemon\/","title":{"rendered":"CHECK_NRPE: Received 0 Bytes From Daemon"},"content":{"rendered":"<p>CHECK_NRPE: Received 0 Bytes From Daemon error pops up during Linux server configuration in Nagios XI using a NRPE agent.<\/p>\n<p>With several issues that I faced last week in setting up NRPE agent in linux so that I can Monitor linux server, one more issue that I found was,\u00a0CHECK_NRPE: Received 0 Bytes From Daemon message that pops up in Nagios XI console.<\/p>\n<p><span style=\"text-decoration: underline;\">Solution<\/span><\/p>\n<p>1. Make sure that NRPE services are started properly before further troubleshooting.<\/p>\n<p>2. Make sure that the values in nrpe.cfg file are properly declared and are allowing Nagios IP for performing the request.<\/p>\n<p>3. Log into Linux server where NRPE is available and check below command,<\/p>\n<p>cat \/usr\/local\/nagios\/etc\/nrpe.cfg | grep blame<\/p>\n<p>4. Output for above command should be,<\/p>\n<p>dont_blame_nrpe=1<\/p>\n<p>5. Without this directive set to a value of \u201c1\u201d, arguments will not be accepted for any checks other than those specified in the nrpe.cfg file itself. If the \u201cdont_blame_nrpe\u201d directive is set to \u201c0\u201d, you will need to edit \/usr\/local\/nagios\/etc\/nrpe.cfg and set dont_blame_nrpe=1.<\/p>\n<p>6. Make sure that the arguments that you are checking are done through command prompt first and then through Nagios XI console.<\/p>\n<p>If you are checking for memory, use check_mem command first without any check_nrpe command. If you checking for users who are logged in on Linux, you first check the users command separately and then use check_nrpe. Nagios <a href=\"https:\/\/exchange.nagios.org\/directory\/Documentation\/Nagios-XI-Documentation\/NRPE-Troubleshooting-and-Common-Solutions\/details\">Link<\/a> for reference.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CHECK_NRPE: Received 0 Bytes From Daemon error pops up during Linux server configuration in Nagios XI using a NRPE agent. With several issues that I faced last week in setting up NRPE agent in linux so that I can Monitor linux server, one more issue that I found was,\u00a0CHECK_NRPE: Received 0 Bytes From Daemon message [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[153],"tags":[168,118,174],"class_list":["post-626","post","type-post","status-publish","format-standard","hentry","category-nagios","tag-check_nrpe","tag-nagios","tag-nrpe"],"_links":{"self":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/626","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/comments?post=626"}],"version-history":[{"count":2,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/626\/revisions"}],"predecessor-version":[{"id":645,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/626\/revisions\/645"}],"wp:attachment":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/media?parent=626"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/categories?post=626"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/tags?post=626"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}