{"id":27,"date":"2014-09-13T06:59:00","date_gmt":"2014-09-13T06:59:00","guid":{"rendered":"http:\/\/394@jodohost.com\/\/blog\/"},"modified":"2023-01-05T16:16:02","modified_gmt":"2023-01-05T16:16:02","slug":"setting-up-the-check_mk-agent-on-linux","status":"publish","type":"post","link":"http:\/\/www.jodohost.com\/blog\/index.php\/2014\/09\/13\/setting-up-the-check_mk-agent-on-linux\/","title":{"rendered":"Setting up the check_mk agent on Linux"},"content":{"rendered":"<p>\u00a01. Verify if the server already has the check_mk agent installed, using the command below:<br \/>[root@cpannneltest ~]# rpm -qa | grep check_mk<\/p>\n<p>If this returns any matching package name, this means that the check_mk agent is already installed.<\/p>\n<p>2. If no result is returned by the command above, check_mk is missing, and can be set up as per the steps below:<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>[root@cpannneltest ~]# cd \/usr\/local\/src<br \/>[root@cpannneltest ~]# wget http:\/\/mathias-kettner.de\/download\/check_mk-agent-1.1.10p3-1.noarch.rpm OR<\/p>\n<p>[root@cpannneltest ~]# wget http:\/\/mathias-kettner.com\/download\/check_mk-agent-1.2.0p3-1.noarch.rpm<\/p>\n<p>[root@cpannneltest ~]# yum &#8211;nogpgcheck -y localinstall check_mk-agent-1.1.10p2-1.noarch.rpm xinetd<\/p>\n<p>[root@cpannneltest ~]# sed -i &#8217;42 i\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 only_from\u00a0\u00a0\u00a0\u00a0\u00a0 = 17x.x.x.x&#8217; &#8220;\/etc\/xinetd.d\/check_mk&#8221;<\/p>\n<p>[root@cpannneltest ~]# \/etc\/init.d\/xinetd reload<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<p>3. Allow the inbound TCP port 6556 in the firewall.<\/p>\n<p>Now this node can be added in the check_mk admin panel on the Nagios server.<\/p>\n<p> ]]><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00a01. Verify if the server already has the check_mk agent installed, using the command below:[root@cpannneltest ~]# rpm -qa | grep check_mk If this returns any matching package name, this means that the check_mk agent is already installed. 2. If no result is returned by the command above, check_mk is missing, and can be set up [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/27"}],"collection":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":1,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"predecessor-version":[{"id":321,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/27\/revisions\/321"}],"wp:attachment":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}