{"id":1100,"date":"2013-06-26T15:38:02","date_gmt":"2013-06-26T20:38:02","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=1100"},"modified":"2013-06-26T15:38:02","modified_gmt":"2013-06-26T20:38:02","slug":"nrpe-on-xenserver","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2013\/06\/nrpe-on-xenserver\/","title":{"rendered":"NRPE on XenServer"},"content":{"rendered":"<p>I wanted to install NRPE on XenServer (6.1)<br \/>\nFound http:\/\/www.linuxbrigade.com\/install-nrpe-on-xenserver\/, but I wanted to have my own copy of the procedure.<\/p>\n<p><strong>Add the Fedora repository<\/strong><br \/>\n<code>wget http:\/\/dl.fedoraproject.org\/pub\/epel\/5\/$(uname -i)\/epel-release-5-4.noarch.rpm<\/code><br \/>\n<code>rpm -Uvh epel-release-*.rpm<\/code><br \/>\n<code>sed -i 's\/enabled=1\/enabled=0\/g' \/etc\/yum.repos.d\/epel.repo<\/code><\/p>\n<p><strong>Install NRPE<\/strong><br \/>\n<code>yum install --enablerepo=epel nrpe<\/code><\/p>\n<p><strong>Set the auto start function<\/strong><br \/>\n<code>chkconfig nrpe on<\/code><\/p>\n<p><strong>Install the Nagios Plugins<\/strong><br \/>\n<code>yum install --enablerepo=epel nagios-plugins-users nagios-plugins-disk nagios-plugins-swap nagios-plugins-procs nagios-plugins-load<\/code><\/p>\n<p><strong>Edit the IPTables Firewall<\/strong><br \/>\n<code>nano \/etc\/sysconfig\/iptables<\/code><br \/>\nBefore the last REJECT line:<br \/>\n<code>-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5666 -j ACCEPT<\/code><\/p>\n<p><strong>Restart the IPTables Firewall<\/strong><br \/>\n<code>service iptables restart<\/code><\/p>\n<p><strong>Edit your NRPE configuration<\/strong><br \/>\n<code>nano \/etc\/nagios\/nrpe.cfg<\/code><br \/>\nAllow the IP address of your Nagios host!<\/p>\n<p><strong>Start the NRPE service<\/strong><br \/>\n<code>service nrpe start<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I wanted to install NRPE on XenServer (6.1) Found http:\/\/www.linuxbrigade.com\/install-nrpe-on-xenserver\/, but I wanted to have my own copy of the procedure. Add the Fedora repository wget http:\/\/dl.fedoraproject.org\/pub\/epel\/5\/$(uname -i)\/epel-release-5-4.noarch.rpm rpm -Uvh epel-release-*.rpm sed -i &#8216;s\/enabled=1\/enabled=0\/g&#8217; \/etc\/yum.repos.d\/epel.repo Install NRPE yum install &#8211;enablerepo=epel nrpe Set the auto start function chkconfig nrpe on Install the Nagios Plugins yum install &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2013\/06\/nrpe-on-xenserver\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">NRPE on XenServer<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-1100","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=1100"}],"version-history":[{"count":1,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1100\/revisions"}],"predecessor-version":[{"id":1101,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1100\/revisions\/1101"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=1100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=1100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=1100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}