{"id":711,"date":"2015-04-15T07:56:06","date_gmt":"2015-04-15T16:56:06","guid":{"rendered":"http:\/\/blog.box.kr\/?p=711"},"modified":"2015-04-15T07:56:06","modified_gmt":"2015-04-15T16:56:06","slug":"how-to-install-sensu-on-centos7","status":"publish","type":"post","link":"https:\/\/blog.box.kr\/?p=711","title":{"rendered":"HOW TO INSTALL SENSU ON CENTOS7"},"content":{"rendered":"<p><a href=\"https:\/\/garage.godaddy.com\/tech\/config\/install-sensu-centos7\/\">https:\/\/garage.godaddy.com\/tech\/config\/install-sensu-centos7\/<\/a><\/p>\n<p class=\"selectionShareable\">Sensu is a monitoring router for Linux operating systems such as CentOS 7. It monitors \u201ccheck\u201d scripts and passes their results to the corresponding handler scripts when the specified conditions are met. Checking the status of a service such as Apache is one of the most common uses of Sensu. Installing Sensu requires you to install its supporting applications, which include Erlang, RabbitMQ and Redis. You\u2019ll also need to view Sensu data with an application such as Uchiwa, which is a web-based dashboard for Sensu. The primary challenge with this procedure is locating the current software packages for your system.<\/p>\n<p class=\"selectionShareable\">To set this up, you\u2019ll need a live Linux server (that you can tweak) with a dedicated IP address and a way to connect to it. We recommend a<a href=\"https:\/\/www.godaddy.com\/pro\/managed-vps?isc=cardigan\"> GoDaddy Virtual Private Server<\/a> if you\u2019re just getting started, or a <a href=\"https:\/\/www.godaddy.com\/pro\/dedicated-server?isc=cardigan\">full dedicated server<\/a> if you\u2019re ready to take total control. To connect to your server, you\u2019ll need some kind of an SSH client. Google it, or try <a href=\"http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/download.html\">PuTTY<\/a> (Windows) or <a href=\"http:\/\/kb.mediatemple.net\/questions\/1599\/Using+SSH+in+Terminal.app+%28Mac+OS+X%29#gs\">Terminal<\/a> (Mac).<\/p>\n<div class=\"difficulty-time-requirements\">\n<div class=\"difficulty-requirement\">\n<div class=\"requirement-label\">DIFFICULTY: ADVANCED\n<\/div>\n<div class=\"progress\">\n<div class=\"progress-bar progress-bar-danger\"><span class=\"sr-only\">Advanced<\/span>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"time-requirement\">\n<div class=\"requirement-label\">TIME REQUIRED: 20 MIN\n<\/div>\n<div class=\"progress\">\n<div class=\"progress-bar progress-bar-success\"><span class=\"sr-only\">20 Min<\/span>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h4>Install the EPEL-7 yum repository.1. Install the supporting software.<\/h4>\n<div id=\"crayon-552e6d422c14b914619777\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c14b914619777-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c14b914619777-1\" class=\"crayon-line\"><span class=\"crayon-p\"># rpm -Uvh http:\/\/archive.linux.duke.edu\/pub\/epel\/7\/x86_64\/e\/epel-release-7-2.noarch.rpm<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p class=\"selectionShareable\">Install Erlang.<\/p>\n<div id=\"crayon-552e6d422c157921162138\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c157921162138-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c157921162138-1\" class=\"crayon-line\"><span class=\"crayon-p\"># yum -y install erlang<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p class=\"selectionShareable\">Add the key for RabbitMQ.<\/p>\n<div id=\"crayon-552e6d422c15d280501588\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c15d280501588-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c15d280501588-1\" class=\"crayon-line\"><span class=\"crayon-p\"># rpm &#8211;import http:\/\/www.rabbitmq.com\/rabbitmq-signing-key-public.asc<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p class=\"selectionShareable\">Install RabbitMQ RMP.<\/p>\n<div id=\"crayon-552e6d422c162921504872\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c162921504872-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c162921504872-1\" class=\"crayon-line\"><span class=\"crayon-p\"># rpm -Uvh http:\/\/www.rabbitmq.com\/releases\/rabbitmq-server\/v3.4.1\/rabbitmq-server-3.4.1-1.noarch.rpm<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p class=\"selectionShareable\">Install the RabbitMQ management console.<\/p>\n<div id=\"crayon-552e6d422c167683331396\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c167683331396-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c167683331396-1\" class=\"crayon-line\"><span class=\"crayon-p\"># rabbitmq-plugins enable rabbitmq_management<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p class=\"selectionShareable\">Install Redis and start its services.<\/p>\n<div id=\"crayon-552e6d422c16b924633623\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c16b924633623-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c16b924633623-1\" class=\"crayon-line\"><span class=\"crayon-p\"># yum -y install redis<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<div id=\"crayon-552e6d422c170515309850\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c170515309850-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c170515309850-1\" class=\"crayon-line\"><span class=\"crayon-p\"># chkconfig redis on<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<div id=\"crayon-552e6d422c174821111283\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c174821111283-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c174821111283-1\" class=\"crayon-line\"><span class=\"crayon-p\"># \/etc\/init.d\/redis start<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h4>2. Start and configure RabbitMQ.<\/h4>\n<p class=\"selectionShareable\">Start the RabbitMQ server.<\/p>\n<div id=\"crayon-552e6d422c178424730419\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c178424730419-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c178424730419-1\" class=\"crayon-line\"><span class=\"crayon-p\"># chkconfig rabbitmq-server on<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<div id=\"crayon-552e6d422c17d034373273\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c17d034373273-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c17d034373273-1\" class=\"crayon-line\"><span class=\"crayon-p\"># \/etc\/init.d\/rabbitmq-server start<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p class=\"selectionShareable\">Create the RabbitMQ vhost and user\/password.<\/p>\n<div id=\"crayon-552e6d422c182882020881\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c182882020881-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c182882020881-1\" class=\"crayon-line\"><span class=\"crayon-p\"># rabbitmqctl add_vhost \/sensu<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<div id=\"crayon-552e6d422c186625084903\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c186625084903-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c186625084903-1\" class=\"crayon-line\"><span class=\"crayon-p\"># rabbitmqctl add_user sensu sensu<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<div id=\"crayon-552e6d422c18a714326623\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c18a714326623-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c18a714326623-1\" class=\"crayon-line\"><span class=\"crayon-p\"># rabbitmqctl set_permissions -p \/sensu sensu &#8220;.*&#8221; &#8220;.*&#8221; &#8220;.*&#8221;<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h4>3. Register the Sensu repository<\/h4>\n<p class=\"selectionShareable\">Create the file \/etc\/yum.repos.d\/sensu.repo with the following contents:<\/p>\n<div id=\"crayon-552e6d422c18f199717956\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c18f199717956-1\">1\n<\/div>\n<div class=\"crayon-num crayon-striped-num\" data-line=\"crayon-552e6d422c18f199717956-2\">2\n<\/div>\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c18f199717956-3\">3\n<\/div>\n<div class=\"crayon-num crayon-striped-num\" data-line=\"crayon-552e6d422c18f199717956-4\">4\n<\/div>\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c18f199717956-5\">5\n<\/div>\n<div class=\"crayon-num crayon-striped-num\" data-line=\"crayon-552e6d422c18f199717956-6\">6\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c18f199717956-1\" class=\"crayon-line\"><span class=\"crayon-sy\">[<\/span><span class=\"crayon-v\">sensu<\/span><span class=\"crayon-sy\">]<\/span>\n<\/div>\n<div id=\"crayon-552e6d422c18f199717956-2\" class=\"crayon-line crayon-striped-line\"><span class=\"crayon-v\">name<\/span><span class=\"crayon-o\">=<\/span><span class=\"crayon-v\">sensu<\/span><span class=\"crayon-o\">&#8211;<\/span><span class=\"crayon-e\">main<\/span>\n<\/div>\n<div id=\"crayon-552e6d422c18f199717956-3\" class=\"crayon-line\"><span class=\"crayon-v\">baseurl<\/span><span class=\"crayon-o\">=<\/span><span class=\"crayon-v\">http<\/span><span class=\"crayon-o\">:<\/span><span class=\"crayon-c\">\/\/repos.sensuapp.org\/yum\/el\/6\/x86_64\/<\/span>\n<\/div>\n<div id=\"crayon-552e6d422c18f199717956-4\" class=\"crayon-line crayon-striped-line\"><span class=\"crayon-v\">gpgcheck<\/span><span class=\"crayon-o\">=<\/span><span class=\"crayon-cn\">0<\/span>\n<\/div>\n<div id=\"crayon-552e6d422c18f199717956-5\" class=\"crayon-line\"><span class=\"crayon-v\">enabled<\/span><span class=\"crayon-o\">=<\/span><span class=\"crayon-cn\">1<\/span>\n<\/div>\n<div id=\"crayon-552e6d422c18f199717956-6\" class=\"crayon-line crayon-striped-line\"><span class=\"crayon-v\">EOM<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h4>4. Install and start the Sensu services.<\/h4>\n<p class=\"selectionShareable\">Install Sensu.<\/p>\n<div id=\"crayon-552e6d422c193413344478\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c193413344478-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c193413344478-1\" class=\"crayon-line\"><span class=\"crayon-p\"># yum -y install sensu<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p class=\"selectionShareable\">Create a sample Sensu configuration file.<\/p>\n<div id=\"crayon-552e6d422c198433352352\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c198433352352-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c198433352352-1\" class=\"crayon-line\"><span class=\"crayon-p\"># mv \/etc\/sensu\/config.json.example \/etc\/sensu\/config.json<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p class=\"selectionShareable\">Enable the Sensu services.<\/p>\n<div id=\"crayon-552e6d422c19c479003981\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c19c479003981-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c19c479003981-1\" class=\"crayon-line\"><span class=\"crayon-p\"># chkconfig sensu-server on<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<div id=\"crayon-552e6d422c1a1428924303\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c1a1428924303-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c1a1428924303-1\" class=\"crayon-line\"><span class=\"crayon-p\"># chkconfig sensu-client on<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p class=\"selectionShareable\">Start the Sensu services.<\/p>\n<div id=\"crayon-552e6d422c1a5819660491\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c1a5819660491-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c1a5819660491-1\" class=\"crayon-line\"><span class=\"crayon-p\"># \/etc\/init.d\/sensu-server start<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<div id=\"crayon-552e6d422c1a9212174255\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c1a9212174255-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c1a9212174255-1\" class=\"crayon-line\"><span class=\"crayon-p\"># \/etc\/init.d\/sensu-client start<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h4>5. Install and start the Uchiwa services.<\/h4>\n<p class=\"selectionShareable\">Install Uchiwa.<\/p>\n<div id=\"crayon-552e6d422c1ae625327912\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c1ae625327912-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c1ae625327912-1\" class=\"crayon-line\"><span class=\"crayon-p\">#yum install -y uchiwa<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p class=\"selectionShareable\">Enable the Uchiwa service.<\/p>\n<div id=\"crayon-552e6d422c1b2552864320\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c1b2552864320-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c1b2552864320-1\" class=\"crayon-line\"><span class=\"crayon-p\">#chkconfig uchiwa on<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p class=\"selectionShareable\">Start the Uchiwa service.<\/p>\n<div id=\"crayon-552e6d422c1b7177428581\" class=\"crayon-syntax crayon-theme-github crayon-font-consolas crayon-os-pc print-yes notranslate crayon-wrapped\" data-settings=\" no-popup minimize scroll-always disable-anim wrap\">\n<div class=\"crayon-plain-wrap\">\n<\/div>\n<div class=\"crayon-main\">\n<table class=\"crayon-table\">\n<tbody>\n<tr class=\"crayon-row\">\n<td class=\"crayon-nums \" data-settings=\"show\">\n<div class=\"crayon-nums-content\">\n<div class=\"crayon-num\" data-line=\"crayon-552e6d422c1b7177428581-1\">1\n<\/div>\n<\/div>\n<\/td>\n<td class=\"crayon-code\">\n<div class=\"crayon-pre\">\n<div id=\"crayon-552e6d422c1b7177428581-1\" class=\"crayon-line\"><span class=\"crayon-p\">#\/etc\/init.d\/uchiwa start<\/span>\n<\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h4>6. Verify that Sensu is running.<\/h4>\n<p class=\"selectionShareable\">Open a browser window and enter the default address and port number for Sensu, which is localhost:3000. This page should appear similar to the following screenshot if Sensu is running:<\/p>\n<p class=\"selectionShareable\"><a href=\"https:\/\/i0.wp.com\/www.writeraccess.com\/upload\/ecd374b91c24f9a6123cb67bb10b2b55.png\" data-slb-group=\"5330\" data-slb-active=\"1\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-5375 size-full\" src=\"https:\/\/i0.wp.com\/garage.godaddy.com\/wp-content\/uploads\/2015\/01\/Uchiwa.png?resize=623%2C449&#038;ssl=1\" alt=\"Uchiwa\" width=\"623\" height=\"449\" data-recalc-dims=\"1\" \/><\/a><\/p>\n<p class=\"selectionShareable\"><em>As a courtesy, we provide information about how to use certain third-party products, but we do not endorse or directly support third-party products and we are not responsible for the functions or reliability of such products. Third-party marks and logos are registered trademarks of their respective owners. All rights reserved.<\/em><\/p>\n<p class=\"illustrated-by selectionShareable\"><em>Image by <a href=\"https:\/\/www.flickr.com\/photos\/53326337@N00\/2884224443\/\">quinn.anya<\/a> via <a href=\"http:\/\/compfight.com\/\">Compfight<\/a> <a href=\"https:\/\/creativecommons.org\/licenses\/by-sa\/2.0\/\">cc<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/garage.godaddy.com\/tech\/config\/install-sensu-centos7\/ Sensu is a monitoring router for Linux operating systems such as CentOS 7. It monitors \u201ccheck\u201d scripts and passes their results to the corresponding handler scripts when the specified conditions are met. Checking the status of a service such as Apache is one of the most common uses of Sensu. Installing Sensu requires you to install its supporting applications, which include Erlang, RabbitMQ and Redis. You\u2019ll also need to view Sensu data with an application such as Uchiwa, which is a web-based dashboard for Sensu. The primary challenge with this procedure is locating the current software packages for your system. To set this up, you\u2019ll need a live Linux server (that you can tweak) with a dedicated IP address and a way to connect to it. We recommend a GoDaddy Virtual Private Server if you\u2019re just getting started, or a full dedicated server if you\u2019re ready to take total control. To connect to your server, you\u2019ll need some kind of an SSH client. Google it, or try PuTTY (Windows) or Terminal (Mac). DIFFICULTY: ADVANCED Advanced TIME REQUIRED: 20 MIN 20 Min Install the EPEL-7 yum repository.1. Install the supporting software. 1 # rpm -Uvh http:\/\/archive.linux.duke.edu\/pub\/epel\/7\/x86_64\/e\/epel-release-7-2.noarch.rpm Install Erlang. 1 # [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"ngg_post_thumbnail":0,"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[5,7],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5q9Zn-bt","jetpack-related-posts":[{"id":714,"url":"https:\/\/blog.box.kr\/?p=714","url_meta":{"origin":711,"position":0},"title":"HOW TO INSTALL PUPPET ON CENTOS7","date":"2015-04-15","format":false,"excerpt":"https:\/\/garage.godaddy.com\/tech\/config\/install-puppet-centos7\/ Puppet is a configuration management tool designed to allow users to define the state of complex IT infrastructures in the easiest way possible. Once those definitions are created, Puppet will automatically enforce those rules across each node. After installation, a Puppet agent is placed on every server, device and\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":781,"url":"https:\/\/blog.box.kr\/?p=781","url_meta":{"origin":711,"position":1},"title":"Install Telegram-cli on Centos7","date":"2015-05-13","format":false,"excerpt":"1. lua package install yum -y install lua-devel openssl-devel libconfig-devel readline-devel libevent-devel 1. git clone git clone --recursive https:\/\/github.com\/vysheng\/tg.git telegram 2. configure and make .\/configure \u00a0 \u00a0 \u00a0make \u00a0 \u00a0","rel":"","context":"In &quot;\uae30\uc220&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":678,"url":"https:\/\/blog.box.kr\/?p=678","url_meta":{"origin":711,"position":2},"title":"[Linux] Installing Tomcat 8 on a CentOS 7","date":"2015-04-13","format":false,"excerpt":"UPDATE SYSTEM First thing to do is to SSH to your CentOS 7 VPS, fire up a screen session and update your system using yum: ## screen -U -S tomcat8-centos7 ## yum update You may also want to install a text editor like nano or vim ## yum install vim\u2026","rel":"","context":"In &quot;\uae30\uc220\uc790\ub8cc&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":729,"url":"https:\/\/blog.box.kr\/?p=729","url_meta":{"origin":711,"position":3},"title":"install PostgreSQL on CentOS7","date":"2015-04-21","format":false,"excerpt":"1.\u00a0Install ( \u00a02015-04-21 > \ucd5c\uc2e0 \ubc84\uc804\uc740 9.4\u00a0 ) [root@localhost ~]# rpm -Uvh http:\/\/yum.postgresql.org\/9.4\/redhat\/rhel-7-x86_64\/pgdg-centos94-9.4-1.noarch.rpm http:\/\/yum.postgresql.org\/9.4\/redhat\/rhel-7-x86_64\/pgdg-centos94-9.4-1.noarch.rpm(\uc744)\ub97c \ubcf5\uad6c\ud569\ub2c8\ub2e4 \uacbd\uace0: \/var\/tmp\/rpm-tmp.z0BMz8: Header V4 DSA\/SHA1 Signature, key ID 442df0f8: NOKEY \uc900\ube44 \uc911...\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ################################# [100%] Updating \/ installing... 1:pgdg-centos94-9.4-1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ################################# [100%] [root@localhost ~]# yum install postgresql94 postgresql94-server postgresql94-libs postgresql94-contrib postgresql94 Loaded plugins: fastestmirror, langpacks http:\/\/linuxdownload.adobe.com\/linux\/x86_64\/repodata\/repomd.xml: [Errno\u2026","rel":"","context":"In &quot;\uae30\uc220&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1174,"url":"https:\/\/blog.box.kr\/?p=1174","url_meta":{"origin":711,"position":4},"title":"centos7] Adding to Firwwall rules","date":"2017-02-04","format":false,"excerpt":"Adding to Firwwall rules sudo iptables -I INPUT -p tcp --dport 3030 -j ACCEPT sudo service iptables save","rel":"","context":"In &quot;Linux&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":766,"url":"https:\/\/blog.box.kr\/?p=766","url_meta":{"origin":711,"position":5},"title":"install bugzilla with nginx on centos7","date":"2015-05-11","format":false,"excerpt":"Set the Hostname Before you begin installing and configuring the components described in this guide, please make sure you\u2019ve followed our instructions for setting your hostname. Issue the following commands to make sure it is set properly: hostname hostname -f The first command should show your short hostname, and the\u2026","rel":"","context":"In &quot;Linux&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/711"}],"collection":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=711"}],"version-history":[{"count":0,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/711\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}