<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>monitoring tools Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/monitoring-tools/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 06 Dec 2019 19:18:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install the Doppler monitoring tool on Debian 10?</title>
		<link>https://www.osradar.com/doppler-monitoring-tool-debian-10/</link>
					<comments>https://www.osradar.com/doppler-monitoring-tool-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 11 Dec 2019 00:11:00 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[monitoring tools]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16015</guid>

					<description><![CDATA[<p>There are plenty of monitoring tools on Linux. From the more advanced ones that focus on the business environment to other simpler tools. Some of them are enough for the goals set either in home environments or very small. Well, today we will tell you about a tool that has simplicity as its main feature [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/doppler-monitoring-tool-debian-10/">How to install the Doppler monitoring tool on Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>There are plenty of monitoring tools on Linux. From the more advanced ones that focus on the business environment to other simpler tools. Some of them are enough for the goals set either in home environments or very small. Well, today we will tell you about a tool that has simplicity as its main feature and does not need configuration to start working. <strong>In this post, we will show you how to install the Doppler monitoring tool on Debian 10.</strong></p>



<p>Designed to be efficient and quite simple, Doppler comes to us. <strong>Doppler is an open-source tool to monitor our system, either remotely or locally</strong>. Of course, it is born with the objective of being used in small servers where the information to obtain is very precise and that does not consume so many resources.</p>



<p> But let&#8217;s not deceive ourselves, it is a very well done project and with it, we will be able to obtain basic information from our computer without spending any resources on a very nice web interface.</p>



<h2>What can I monitor with Doppler?</h2>



<p>Using Doppler we will get some basic data like:</p>



<ul><li>CPU temperature. It is necessary to install the <code>lm-sensors</code> package.</li><li>CPU Load.</li><li>RAM usage (Mb).</li><li>Swap usage (Mb) In case your system does not have swap configured or available the value will always be 0.</li><li>Disk usage (Mb) If you connect a new hard disk, it will automatically be reflected in the graph.</li><li>Network I/O (kb/s)</li></ul>



<p>As you can see is the basic information about the performance of the system. However, there is other information we may be able to obtain.</p>



<ul><li>Hostname</li><li>Operating system</li><li>CPU core count</li><li>Uptime</li><li>Process count</li></ul>



<p>The project looks interesting and in the future, it is planned to incorporate other features such as log support and GPU temperature monitoring.</p>



<p>So, let&#8217;s install it.</p>



<h2>How to install the Doppler monitoring tool on Debian 10?</h2>



<p> First, we will have to install lm-sensors so that the application is able to show the CPU temperature. So let&#8217;s go for it.</p>



<p>Open a terminal and run the following:</p>



<pre class="wp-block-preformatted"> :~$ sudo apt install lm-sensors</pre>



<p>Now we can install Doppler by downloading its binary compiled for Linux. For that, we&#8217;ll use <a href="https://www.osradar.com/the-wget-command/" target="_blank" rel="noreferrer noopener" aria-label="wget (opens in a new tab)">wget</a>. The latest version is 0.1.0.</p>



<pre class="wp-block-preformatted">:~$ wget https://github.com/EnKrypt/Doppler/releases/download/v0.1.0/doppler-0.1.0-linux-x64 -O doppler</pre>



<p>So, if you want to use doppler as a command inside Linux, move it to <code>/usr/local/bin</code>. It is the most comfortable to work with.</p>



<pre class="wp-block-preformatted"> :~$ sudo cp doppler /usr/local/bin</pre>



<p>The next step is to give permission to execute the downloaded binary. So we&#8217;ll use this other command:</p>



<pre class="wp-block-preformatted">:~$ sudo chmod +x /usr/local/bin/doppler</pre>



<p>Now we can launch it using the doppler command.</p>



<p>By default the application runs using port 3456, so make sure that port is available in the firewall. However, we can change it.</p>



<p>Also by default the time interval in which Doppler works is 2.5 seconds. A fairly adequate refresh time but we can also change it.</p>



<p>In case you want to change the port and data refresh time, you can use this command:</p>



<pre class="wp-block-preformatted">:~$ doppler p [port] i [intervale]
:~$ doppler -p 1234 -i 6000</pre>



<p> This will make Doppler available at Port <code>1234</code> with a 6-second interval.</p>



<p>Then, open your favorite web browser and go to <code>http://your-server:1234</code> you will see this:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2019/11/1-19-1024x506.png" alt="1.- Doppler monitoring tool on Debian 10" class="wp-image-16018" srcset="https://www.osradar.com/wp-content/uploads/2019/11/1-19-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/1-19-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/1-19-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/1-19-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/11/1-19-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/1-19-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/1-19-850x420.png 850w, https://www.osradar.com/wp-content/uploads/2019/11/1-19.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Doppler monitoring tool on Debian 10</figcaption></figure>



<p>As you can see, everything is very simple and well organized. Ideal for modest computers and home servers. <strong>It&#8217;s the beauty of the variety: we have a lot to choose from.</strong></p>



<h2>Conclusion</h2>



<p>There are many applications in Linux and every day they are more efficient and oriented to many diverse needs. Proof of this we have Doppler that is profiled as an alternative to more powerful tools but with options that many times we do not need. Simple, fast and without configuration problems, Doppler is a great application to monitor small servers.</p>



<p>We thank the developer of the application for making it available to everyone, and we will follow closely and invite you to visit the <a href="https://github.com/EnKrypt/Doppler" target="_blank" rel="noreferrer noopener" aria-label="Github repository of the project (opens in a new tab)">Github repository of the project</a> for more information.</p>



<p>So, check other monitoring tools on <a href="http://www.osradar.com/tag/monitoring" target="_blank" rel="noreferrer noopener" aria-label="this (opens in a new tab)">this</a> link.</p>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/doppler-monitoring-tool-debian-10/">How to install the Doppler monitoring tool on Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/doppler-monitoring-tool-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Setup Icinga 2 Web interface on Centos / RHEL 8.</title>
		<link>https://www.osradar.com/how-to-setup-icinga-2-web-interface-on-centos-rhel-8/</link>
					<comments>https://www.osradar.com/how-to-setup-icinga-2-web-interface-on-centos-rhel-8/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Thu, 07 Nov 2019 14:50:44 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Icinga2]]></category>
		<category><![CDATA[install icinga in Centos 8]]></category>
		<category><![CDATA[monitoring tools]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15365</guid>

					<description><![CDATA[<p>Prerequisites: Web Server PHP 5.6.0 and above with cURL, gettext,intl,mbstring,OpenSSL, and XML support. LDAP libray(PHP) or Active Directory Authentication. PHP libraries for MySQL or PostgreSQL Installing PHP and its Extensions As stated above you must have PHP version 5.6 or above. You should consider the latest version available on Centos / Redhat base repositories. You [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-setup-icinga-2-web-interface-on-centos-rhel-8/">How to Setup Icinga 2 Web interface on Centos / RHEL 8.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3><strong>Prerequisites:</strong></h3>



<ul><li>Web Server</li><li>PHP 5.6.0 and above with cURL, gettext,intl,mbstring,OpenSSL, and XML support.</li><li>LDAP libray(PHP)  or Active Directory Authentication.</li><li>PHP libraries for MySQL or PostgreSQL</li></ul>



<h3><strong> Installing PHP and its Extensions</strong></h3>



<p>As stated above you must have PHP version 5.6 or above. You should consider the latest version available on Centos / Redhat base repositories. You would need to enable SCL repository and server respectively.<br> For Centos</p>



<p class="has-background has-cyan-bluish-gray-background-color"> yum install -y centos-release-scl</p>



<p> For RHEL</p>



<p class="has-background has-cyan-bluish-gray-background-color"> subscription-manager repos &#8211;enable rhel-8-server-optional-rpms<br> subscription-manager repos &#8211;enable rhel-server-rhscl-7-rpms</p>



<p> For Centos</p>



<pre class="wp-block-verse"> yum -y install rh-php71-php-json rh-php71-php-pgsql rh-php71-php-xml rh-php71-php-intl rh-php71-php-common rh-php71-php-pdo rh-php71-php-mysqlnd rh-php71-php-cli rh-php71-php-mbstring rh-php71-php-fpm rh-php71-php-gd rh-php71-php-zip rh-php71-php-ldap rh-php71-php-imagick</pre>



<p> For RHEL</p>



<pre class="wp-block-verse"> yum -y install rh-php71-php-json rh-php71-php-pgsql rh-php71-php-xml rh-php71-php-intl rh-php71-php-common rh-php71-php-pdo rh-php71-php-mysqlnd rh-php71-php-cli rh-php71-php-mbstring rh-php71-php-fpm rh-php71-php-gd rh-php71-php-zip rh-php71-php-ldap</pre>



<p> Make sure to configure time zone in the php.ini<br> Now, restart php-fpm services.<br> Enable Php-fpm services.</p>



<h3> <strong>Adding Icinga2 Repository</strong></h3>



<p> Make sure to add Icinga2 repository if you&#8217;ve not already set up it.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> rpm &#8211;import https://packages.icinga.com/icinga.key<br> yum install https://packages.icinga.com/epel/icinga-rpm-release-8-latest.noarch.rpm</p>



<h2> <strong>Installing Icinga2 Web </strong></h2>



<p> yum command can be used on Centos/RHEL to install Icinga web package alongwith Icinga CLI &amp; Apache server.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> yum -y install icingaweb2 icingacli httpd</p>



<p> Enable Apache Services</p>



<p class="has-background has-cyan-bluish-gray-background-color"> systemctl enable httpd</p>



<p> Set up SELinux<br> Allow Firewall</p>



<p class="has-background has-cyan-bluish-gray-background-color"> firewall-cmd &#8211;permanent &#8211;add-service=http<br> firewall-cmd &#8211;reload</p>



<h3><strong> Prepare Icinga Web Setup</strong></h3>



<p> Icinga CLI is used for adminstration in command line. Icinga web and CLI must have access to logs&amp;configuration.  Add user for web server.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> groupadd -r icingaweb2<br> usermod -a -G icingaweb2 apache</p>



<h3><strong> Create Icinga Web 2 configuration directory.</strong></h3>



<p class="has-background has-cyan-bluish-gray-background-color"> icingacli setup config directory &#8211;group icingaweb2</p>



<p> Restart Php-fpm and Apache services.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> systemctl restart httpd<br> systemctl restart rh-php71-php-fpm</p>



<p> For first visit Icinga web setup wizard will guide you through all these steps for the successfull installation.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> http://youripaddress/icingaweb2/setup</p>



<p> A token needed to be generated for security reasons. Use this command to generate token.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> icingacli setup token create.</p>



<p> Output:<br> The newly generated setup token is: 04fa4ea1baf4f0b9<br> use token and click Next.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="918" height="553" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/icinga2-web.png" alt="" class="wp-image-15435" srcset="https://www.osradar.com/wp-content/uploads/2019/11/icinga2-web.png 918w, https://www.osradar.com/wp-content/uploads/2019/11/icinga2-web-300x181.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/icinga2-web-768x463.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/icinga2-web-696x419.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/icinga2-web-697x420.png 697w" sizes="(max-width: 918px) 100vw, 918px" /></figure></div>



<p><a href="https://www.osradar.com/?p=15058&amp;preview=true">Choose the modules you&#8217;ve installed in Icinga 2</a></p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="915" height="554" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/icinga2-modules.png" alt="" class="wp-image-15438" srcset="https://www.osradar.com/wp-content/uploads/2019/11/icinga2-modules.png 915w, https://www.osradar.com/wp-content/uploads/2019/11/icinga2-modules-300x182.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/icinga2-modules-768x465.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/icinga2-modules-696x421.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/icinga2-modules-694x420.png 694w" sizes="(max-width: 915px) 100vw, 915px" /></figure></div>



<p>Next screen shows the info timezone and PHP extensions.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="914" height="525" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/php-extensions.png" alt="" class="wp-image-15440" srcset="https://www.osradar.com/wp-content/uploads/2019/11/php-extensions.png 914w, https://www.osradar.com/wp-content/uploads/2019/11/php-extensions-300x172.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/php-extensions-768x441.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/php-extensions-696x400.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/php-extensions-731x420.png 731w" sizes="(max-width: 914px) 100vw, 914px" /></figure></div>



<p>Check out all requirements are fulfilled.<br> A warning of missing PHP Image magic extensions on RHEL 8.<br> You can install it from Centos repository.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> yum -y install http://mirror.centos.org/centos/7/sclo/x86_64/sclo/sclo-php71/sclo-php71-php-pecl-imagick-3.4.3-2.el7.x86_64.rpm<br> systemctl restart httpd<br> systemctl restart rh-php71-php-fpm</p>



<p>On next step create Icinga Web 2 user accoutn. Select Database and move to Next.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="917" height="349" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/icinga-authentication.png" alt="" class="wp-image-15442" srcset="https://www.osradar.com/wp-content/uploads/2019/11/icinga-authentication.png 917w, https://www.osradar.com/wp-content/uploads/2019/11/icinga-authentication-300x114.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/icinga-authentication-768x292.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/icinga-authentication-696x265.png 696w" sizes="(max-width: 917px) 100vw, 917px" /></figure></div>



<p>Login to MySQL server.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> mysql -u root -p</p>



<p> Create Database to store Authenication Information.</p>



<p class="has-background has-cyan-bluish-gray-background-color"> CREATE DATABASE icingawebdb;<br> GRANT ALL privileges on icingawebdb.* to icingaweb@localhost IDENTIFIED by &#8216;icinga123&#8217;;<br> quit</p>



<p> Enter details to proceed.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="903" height="524" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/icinga-user-details.png" alt="" class="wp-image-15443" srcset="https://www.osradar.com/wp-content/uploads/2019/11/icinga-user-details.png 903w, https://www.osradar.com/wp-content/uploads/2019/11/icinga-user-details-300x174.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/icinga-user-details-768x446.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/icinga-user-details-696x404.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/icinga-user-details-724x420.png 724w" sizes="(max-width: 903px) 100vw, 903px" /></figure></div>



<p>Choose Authentication backend and move to Next step</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="918" height="305" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/backend-authentication-icinga2.png" alt="" class="wp-image-15444" srcset="https://www.osradar.com/wp-content/uploads/2019/11/backend-authentication-icinga2.png 918w, https://www.osradar.com/wp-content/uploads/2019/11/backend-authentication-icinga2-300x100.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/backend-authentication-icinga2-768x255.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/backend-authentication-icinga2-696x231.png 696w" sizes="(max-width: 918px) 100vw, 918px" /></figure></div>



<p>Enter the domain account details and remember them for future use.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="917" height="376" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/icinga-domain-config.png" alt="" class="wp-image-15445" srcset="https://www.osradar.com/wp-content/uploads/2019/11/icinga-domain-config.png 917w, https://www.osradar.com/wp-content/uploads/2019/11/icinga-domain-config-300x123.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/icinga-domain-config-768x315.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/icinga-domain-config-696x285.png 696w" sizes="(max-width: 917px) 100vw, 917px" /></figure></div>



<p>Select where to save the application and other details and move Next.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="920" height="537" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/application-config-icinga2.png" alt="" class="wp-image-15447" srcset="https://www.osradar.com/wp-content/uploads/2019/11/application-config-icinga2.png 920w, https://www.osradar.com/wp-content/uploads/2019/11/application-config-icinga2-300x175.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/application-config-icinga2-768x448.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/application-config-icinga2-696x406.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/application-config-icinga2-720x420.png 720w" sizes="(max-width: 920px) 100vw, 920px" /></figure></div>



<p>Review your settings on the coming screen and move Next.<br> Configure monitoring module for Icinga Web2. Provide required informations alongwith </p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="917" height="274" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/monitoring-module-icinga2.png" alt="" class="wp-image-15449" srcset="https://www.osradar.com/wp-content/uploads/2019/11/monitoring-module-icinga2.png 917w, https://www.osradar.com/wp-content/uploads/2019/11/monitoring-module-icinga2-300x90.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/monitoring-module-icinga2-768x229.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/monitoring-module-icinga2-696x208.png 696w" sizes="(max-width: 917px) 100vw, 917px" /></figure></div>



<h3><strong>Command Transport Setup</strong></h3>



<p>These will help you to send commands to monitoring assistances. Icinga Web supports Local Command File, Remote Command File, and Icinga 2 API as a Command Transport.<br> You can also design your own.<br> We use here Local Command file for demo. You can choose your required one.</p>



<figure class="wp-block-image"><img loading="lazy" width="902" height="343" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/icinga-command.png" alt="" class="wp-image-15454" srcset="https://www.osradar.com/wp-content/uploads/2019/11/icinga-command.png 902w, https://www.osradar.com/wp-content/uploads/2019/11/icinga-command-300x114.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/icinga-command-768x292.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/icinga-command-696x265.png 696w" sizes="(max-width: 902px) 100vw, 902px" /></figure>



<p> Run the below command to set up API.</p>



<h3><strong>Icinga2 API</strong></h3>



<p class="has-background has-cyan-bluish-gray-background-color">icinga2 api setup</p>



<p><br><strong>Output:</strong></p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="912" height="358" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/api-setup.png" alt="" class="wp-image-15450" srcset="https://www.osradar.com/wp-content/uploads/2019/11/api-setup.png 912w, https://www.osradar.com/wp-content/uploads/2019/11/api-setup-300x118.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/api-setup-768x301.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/api-setup-696x273.png 696w" sizes="(max-width: 912px) 100vw, 912px" /></figure></div>



<p>View API user detail from /etc/icinga2/conf.d/api-users.conf file</p>



<p class="has-background has-cyan-bluish-gray-background-color"> cat /etc/icinga2/conf.d/api-users.conf </p>



<p> Output:</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="880" height="196" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/user-details.png" alt="" class="wp-image-15452" srcset="https://www.osradar.com/wp-content/uploads/2019/11/user-details.png 880w, https://www.osradar.com/wp-content/uploads/2019/11/user-details-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/user-details-768x171.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/user-details-696x155.png 696w" sizes="(max-width: 880px) 100vw, 880px" /></figure></div>



<p>Rstart icinga2 services.</p>



<p class="has-background has-cyan-bluish-gray-background-color">systemctl restart icinga2</p>



<p>Now use user &amp; password from above file.<br>
Make sure to protect from bad ones.</p>



<figure class="wp-block-image"><img loading="lazy" width="915" height="307" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/monitoring-security.png" alt="" class="wp-image-15453" srcset="https://www.osradar.com/wp-content/uploads/2019/11/monitoring-security.png 915w, https://www.osradar.com/wp-content/uploads/2019/11/monitoring-security-300x101.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/monitoring-security-768x258.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/monitoring-security-696x234.png 696w" sizes="(max-width: 915px) 100vw, 915px" /></figure>



<p>Review your configuration and you are all set up.<br> Click on Login to Icinga Web 2.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="920" height="490" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/icinga-successfuly-installed.png" alt="" class="wp-image-15455" srcset="https://www.osradar.com/wp-content/uploads/2019/11/icinga-successfuly-installed.png 920w, https://www.osradar.com/wp-content/uploads/2019/11/icinga-successfuly-installed-300x160.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/icinga-successfuly-installed-768x409.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/icinga-successfuly-installed-696x371.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/icinga-successfuly-installed-789x420.png 789w" sizes="(max-width: 920px) 100vw, 920px" /></figure></div>



<p> Now login to see dashboard.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="919" height="511" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/dashboard-icinga2.png" alt="" class="wp-image-15456" srcset="https://www.osradar.com/wp-content/uploads/2019/11/dashboard-icinga2.png 919w, https://www.osradar.com/wp-content/uploads/2019/11/dashboard-icinga2-300x167.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/dashboard-icinga2-768x427.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/dashboard-icinga2-696x387.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/dashboard-icinga2-755x420.png 755w" sizes="(max-width: 919px) 100vw, 919px" /></figure></div>



<p>Congratulations! you have done installing Icinga Web 2.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-setup-icinga-2-web-interface-on-centos-rhel-8/">How to Setup Icinga 2 Web interface on Centos / RHEL 8.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-setup-icinga-2-web-interface-on-centos-rhel-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Linux Nmap network scanning tool installation and use</title>
		<link>https://www.osradar.com/linux-nmap-network-scanning-tool-installation-and-use/</link>
					<comments>https://www.osradar.com/linux-nmap-network-scanning-tool-installation-and-use/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Thu, 03 Oct 2019 07:27:26 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[linux tool]]></category>
		<category><![CDATA[monitoring tools]]></category>
		<category><![CDATA[network]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=14148</guid>

					<description><![CDATA[<p>This paper introduces the installation and use of the Nmap network scanning tool under centos. NMAP is a popular network scanning and sniffing tools is also a powerful tool for port scanning type safety assessment, is widely used in the security scan, NMAP is a useful online tool, also is often used in the production [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/linux-nmap-network-scanning-tool-installation-and-use/">Linux Nmap network scanning tool installation and use</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This paper introduces the installation and use of the Nmap network scanning tool under centos.</p>



<p>NMAP is a popular network scanning and sniffing tools is also a powerful tool for port scanning type safety assessment, is widely used in the security scan, NMAP is a useful online tool, also is often used in the production and development, mainly for port open view of detection and LAN information collection, etc., different Linux distributions generally also with NMAP package management tool, can also choose to go to the website to <a href="https://nmap.org/">download </a>the source code package compiled installation.</p>



<h3><strong> Install nmap</strong></h3>



<p> In case, you are unable to use nmap command, use below command to install it </p>



<pre class="wp-block-preformatted"> centos：yum install nmap
 ubuntu：apt-get install nmap  </pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="171" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/install-1024x171.png" alt="centos install nmap" class="wp-image-14156" srcset="https://www.osradar.com/wp-content/uploads/2019/10/install-1024x171.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/install-300x50.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/install-768x128.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/install-696x116.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/install-1068x178.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/install.png 1285w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>centos install nmap</figcaption></figure>



<p>Check that the installation is successful</p>



<pre class="wp-block-preformatted"> nmap -v</pre>



<figure class="wp-block-image"><img loading="lazy" width="971" height="113" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/check.png" alt="" class="wp-image-14157" srcset="https://www.osradar.com/wp-content/uploads/2019/10/check.png 971w, https://www.osradar.com/wp-content/uploads/2019/10/check-300x35.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/check-768x89.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/check-696x81.png 696w" sizes="(max-width: 971px) 100vw, 971px" /><figcaption> Check </figcaption></figure>



<h4><strong>Nmap usage method</strong></h4>



<ul><li>Scan IP  which common TCP port and UDP port are open</li></ul>



<pre class="wp-block-preformatted">nmap 127.0.0.1 or nmap -sS -sU -p 1-65535 127.0.0.1</pre>



<figure class="wp-block-image"><img loading="lazy" width="816" height="225" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/ip.png" alt="" class="wp-image-14158" srcset="https://www.osradar.com/wp-content/uploads/2019/10/ip.png 816w, https://www.osradar.com/wp-content/uploads/2019/10/ip-300x83.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/ip-768x212.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/ip-696x192.png 696w" sizes="(max-width: 816px) 100vw, 816px" /><figcaption> Scan IP </figcaption></figure>



<ul><li>Scan multiple IP addresses or  subnet </li></ul>



<pre class="wp-block-preformatted">nmap 127.0.0.1 172.16.6.1
nmap 172.16.6.1-100
nmap 172.16.6.0/24  </pre>



<p>In the scan result, if the state column is open, it means the state is open; if it is filtered, it may be filtered by a firewall; if it is closed, it means the port is closed.</p>



<ul><li>Scans  which hosts are alive in the subnet</li></ul>



<pre class="wp-block-preformatted">nmap -n -sP 172.16.6.0/24</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="493" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/subnet-1-1024x493.png" alt="" class="wp-image-14160" srcset="https://www.osradar.com/wp-content/uploads/2019/10/subnet-1-1024x493.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/subnet-1-300x144.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/subnet-1-768x370.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/subnet-1-696x335.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/subnet-1-1068x514.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/subnet-1-872x420.png 872w, https://www.osradar.com/wp-content/uploads/2019/10/subnet-1.png 1296w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption> Scan subnet  alive </figcaption></figure>



<ul><li>Nmap route trace</li></ul>



<pre class="wp-block-preformatted">namp –traceroute 8.8.8.8  </pre>



<figure class="wp-block-image is-resized"><img loading="lazy" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/企业微信截图_15700149568763.png" alt="" class="wp-image-14168" width="708" height="337" srcset="https://www.osradar.com/wp-content/uploads/2019/10/企业微信截图_15700149568763.png 664w, https://www.osradar.com/wp-content/uploads/2019/10/企业微信截图_15700149568763-300x143.png 300w" sizes="(max-width: 708px) 100vw, 708px" /><figcaption>traceroute</figcaption></figure>



<ul><li>Scans IP or subnet hosts for port</li></ul>



<pre class="wp-block-preformatted">nmap -p 12598 127.0.0.1
nmap -p 12598 172.16.6.0/24</pre>



<figure class="wp-block-image"><img loading="lazy" width="1021" height="488" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/port.png" alt="" class="wp-image-14161" srcset="https://www.osradar.com/wp-content/uploads/2019/10/port.png 1021w, https://www.osradar.com/wp-content/uploads/2019/10/port-300x143.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/port-768x367.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/port-696x333.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/port-879x420.png 879w" sizes="(max-width: 1021px) 100vw, 1021px" /><figcaption> Scans port</figcaption></figure>



<ul><li>An option that goes one step further and gives you more information about the services running on a specific host is ‘-A’. </li></ul>



<pre class="wp-block-preformatted">nmap -A 127.0.0.1</pre>



<figure class="wp-block-image"><img loading="lazy" width="814" height="459" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/all.png" alt="" class="wp-image-14162" srcset="https://www.osradar.com/wp-content/uploads/2019/10/all.png 814w, https://www.osradar.com/wp-content/uploads/2019/10/all-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/all-768x433.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/all-696x392.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/all-745x420.png 745w" sizes="(max-width: 814px) 100vw, 814px" /><figcaption> all information </figcaption></figure>



<ul><li>Nmap scans the operating system type using the -O option</li></ul>



<pre class="wp-block-preformatted">nmap -O 12598 127.0.0.1</pre>



<figure class="wp-block-image"><img loading="lazy" width="757" height="239" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/10/企业微信截图_157001514422.png" alt="" class="wp-image-14169" srcset="https://www.osradar.com/wp-content/uploads/2019/10/企业微信截图_157001514422.png 757w, https://www.osradar.com/wp-content/uploads/2019/10/企业微信截图_157001514422-300x95.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/企业微信截图_157001514422-696x220.png 696w" sizes="(max-width: 757px) 100vw, 757px" /><figcaption> operating system type </figcaption></figure>



<ul><li> For an in-depth understanding of the use of the nmap command, use it to examine the man pages </li></ul>



<pre class="wp-block-preformatted">man nmap</pre>



<h4><strong>Conclusions</strong></h4>



<p style="text-align:left"><g class="gr_ gr_5 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" id="5" data-gr-id="5">nmap</g> is one of those utilities that have so many options and capabilities, it can actually be overwhelming. As is the case with those types of utilities, you will end up using only a fraction of its capabilities to help get a specific job done. If you want to use it at its full potential, you’re in for a lot of trial and error and some hands-on experience with real networks. </p>



<p>So, you can read our post abour networks in <a href="https://www.osradar.com/tag/network/" target="_blank" rel="noreferrer noopener" aria-label="this (opens in a new tab)">this</a> link.</p>



<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener" aria-label="our Telegram Channel (opens in a new tab)">our Telegram Channel</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/linux-nmap-network-scanning-tool-installation-and-use/">Linux Nmap network scanning tool installation and use</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/linux-nmap-network-scanning-tool-installation-and-use/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Centos7 and 8 uses docker-compose to install zabbix</title>
		<link>https://www.osradar.com/centos7-uses-docker-compose-to-install-zabbix/</link>
					<comments>https://www.osradar.com/centos7-uses-docker-compose-to-install-zabbix/#comments</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Mon, 30 Sep 2019 16:22:19 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Docker compose]]></category>
		<category><![CDATA[linux. mysql]]></category>
		<category><![CDATA[monitoring tools]]></category>
		<category><![CDATA[zabbix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=14072</guid>

					<description><![CDATA[<p>Build and run a zabbix system through docker&#8217;s basic operation command, which involves zabbix-server, zabbix-web-Nginx-mysq, and mysql container. Operation up relatively tedious, and every time to run to come again is very inconvenient. Here&#8217;s how to deploy zabbix with a docker-compose Install Docker and Docker-compose The first thing to do is to install Docker and [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/centos7-uses-docker-compose-to-install-zabbix/">Centos7 and 8 uses docker-compose to install zabbix</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Build and run a <a href="https://www.osradar.com/install-zabbix-server-centos-8-rhel-oracle-linux/">zabbix</a> system through docker&#8217;s basic operation command, which involves zabbix-server, zabbix-web-Nginx-mysq, and mysql container. Operation up relatively tedious, and every time to run to come again is very inconvenient. Here&#8217;s how to deploy zabbix with a docker-compose </p>



<p></p>



<h4><strong>Install Docker and Docker-compose </strong></h4>



<p>The first thing to do is to install Docker and Docker compose in our system. For centos7, use the following command.</p>



<p>For the rest of the releases, it&#8217;s best to read the official Docker documentation.</p>



<pre class="wp-block-preformatted">[root@localhost ~]# yum install docker python-pip docker-compose -y</pre>



<p>Check that the installation is successful</p>



<pre class="wp-block-preformatted"> [root@localhost ~]# docker-compose -v &amp;&amp; docker -v</pre>



<figure class="wp-block-image"><img loading="lazy" width="1000" height="152" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/check-docker.png" alt="Check docker and docker-compose" class="wp-image-14076" srcset="https://www.osradar.com/wp-content/uploads/2019/09/check-docker.png 1000w, https://www.osradar.com/wp-content/uploads/2019/09/check-docker-300x46.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/check-docker-768x117.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/check-docker-696x106.png 696w" sizes="(max-width: 1000px) 100vw, 1000px" /><figcaption> Check docker and docker-compose</figcaption></figure>



<h4><strong>Deploy zabbix using Docker-compose</strong></h4>



<ul><li>First, create a folder and then create docker-compose.yml files in it</li></ul>



<pre class="wp-block-preformatted">[root@localhost ~]# mkdir zabbix
[root@localhost ~]# cd zabbix/
[root@localhost zabbix]# touch docker-compose.yml</pre>



<ul><li>Edit docker-compose.yml  file</li></ul>



<pre class="wp-block-preformatted">[root@localhost zabbix]# vim docker-compose.yml 
 version: '3'
 services:
   zabbix-mysql:
     image: mysql:5.6
     container_name: zabbix-mysql
     ports:
       - '3306:3306'
     environment:
       MYSQL_ROOT_PASSWORD: zabbix
     volumes:
       - /root/zabbix/mysql-data:/var/lib/mysql
 zabbix-server:
     image: zabbix/zabbix-server-mysql:ubuntu-3.0.4
     container_name: zabbix-server
     environment:
       DB_SERVER_HOST: "zabbix-mysql"
       MYSQL_USER: root
       MYSQL_PASSWORD: zabbix
     ports:
       - '10051:10051'
     links:
       - zabbix-mysql
     depends_on:
       - zabbix-mysql
 zabbix-web:
     image: zabbix/zabbix-web-nginx-mysql:ubuntu-3.0.4
     container_name: zabbix-web
     environment:
       DB_SERVER_HOST: zabbix-mysql
       MYSQL_USER: root
       MYSQL_PASSWORD: zabbix
       ZBX_SERVER_HOST: "zabbix-server"
       PHP_TZ: Asia/Shanghai
     ports:
       - '80:80'
       - '443:443'
     links:
       - zabbix-mysql
       - zabbix-server
     depends_on:
       - zabbix-mysql
       - zabbix-server</pre>



<h4><strong>Important environment variable Settings</strong></h4>



<ul><li>Zabbix-web-nginx-mysql and zabbix-web-nginx-mysql image versions remain consistent (ubuntu-3.0.4 or other)</li><li>MYSQL_ROOT_PASSWORD:  mysql root password </li><li>MYSQL_USER: Connect the mysql user</li><li>MYSQL_PASSWORD: Connect the mysql  password</li></ul>



<h4><strong>Running and testing zabbix</strong></h4>



<pre class="wp-block-preformatted">[root@localhost ~]# docker-compose up -d
[root@localhost ~]# docker-compose ps</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="507" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/run-1024x507.png" alt="Deploy zabbix using docker-compose" class="wp-image-14083" srcset="https://www.osradar.com/wp-content/uploads/2019/09/run-1024x507.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/run-300x149.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/run-768x380.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/run-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/09/run-696x345.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/run-1068x529.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/run-848x420.png 848w, https://www.osradar.com/wp-content/uploads/2019/09/run.png 1510w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption> <em>Deploy zabbix using docker-compose</em> </figcaption></figure>



<p>Wait 2 minutes for the database initialization to complete </p>



<p>Next, open your web browser and go to your server using the port 80. </p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="353" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/zabbixlogin-1024x353.png" alt="zabbix login" class="wp-image-14084" srcset="https://www.osradar.com/wp-content/uploads/2019/09/zabbixlogin-1024x353.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/zabbixlogin-300x103.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/zabbixlogin-768x265.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/zabbixlogin-696x240.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/zabbixlogin-1068x368.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/zabbixlogin-1218x420.png 1218w, https://www.osradar.com/wp-content/uploads/2019/09/zabbixlogin.png 1728w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>zabbix login</figcaption></figure>



<p>Log in using Zabbix&#8217;s default user and password <br>user: Admin  password:zabbix  <br>After that, you will see the dashboard  </p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="439" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/login-1024x439.png" alt="zabbix  dashboard " class="wp-image-14085" srcset="https://www.osradar.com/wp-content/uploads/2019/09/login-1024x439.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/login-300x129.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/login-768x329.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/login-696x298.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/login-1068x458.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/login-980x420.png 980w, https://www.osradar.com/wp-content/uploads/2019/09/login.png 1862w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>zabbix  dashboard </figcaption></figure>



<p> In a nutshell with Docker Compose, you no longer need to use shell scripts to start the container. In the configuration file, all containers are defined through the services, and then the application is started, stopped, and restarted using the docker-compose script, along with the services in the application and all containers that depend on the services. Docker Compose is a tool for defining and running multi-container Docker applications. it USES YAML files to configure the service of the application and a single command to perform the creation and startup of all containers. The <a href="https://docs.docker.com/compose/reference/create/">docker-compose</a> cli tool allows users to run commands for multiple containers simultaneously. </p>


<p class="wp-block-tag-cloud"><a href="https://www.osradar.com/tag/android/" class="tag-cloud-link tag-link-62 tag-link-position-1" style="font-size: 16.87323943662pt;" aria-label="android (260 items)">android<span class="tag-link-count"> (260)</span></a>
<a href="https://www.osradar.com/tag/apache/" class="tag-cloud-link tag-link-127 tag-link-position-2" style="font-size: 10.366197183099pt;" aria-label="Apache (56 items)">Apache<span class="tag-link-count"> (56)</span></a>
<a href="https://www.osradar.com/tag/bionic/" class="tag-cloud-link tag-link-1101 tag-link-position-3" style="font-size: 10.267605633803pt;" aria-label="bionic (55 items)">bionic<span class="tag-link-count"> (55)</span></a>
<a href="https://www.osradar.com/tag/buster/" class="tag-cloud-link tag-link-1945 tag-link-position-4" style="font-size: 11.943661971831pt;" aria-label="Buster (83 items)">Buster<span class="tag-link-count"> (83)</span></a>
<a href="https://www.osradar.com/tag/centos/" class="tag-cloud-link tag-link-72 tag-link-position-5" style="font-size: 14.30985915493pt;" aria-label="CentOS (145 items)">CentOS<span class="tag-link-count"> (145)</span></a>
<a href="https://www.osradar.com/tag/centos-8/" class="tag-cloud-link tag-link-1987 tag-link-position-6" style="font-size: 9.9718309859155pt;" aria-label="Centos 8 (51 items)">Centos 8<span class="tag-link-count"> (51)</span></a>
<a href="https://www.osradar.com/tag/database/" class="tag-cloud-link tag-link-785 tag-link-position-7" style="font-size: 10.366197183099pt;" aria-label="database (57 items)">database<span class="tag-link-count"> (57)</span></a>
<a href="https://www.osradar.com/tag/databases/" class="tag-cloud-link tag-link-1492 tag-link-position-8" style="font-size: 10.760563380282pt;" aria-label="Databases (62 items)">Databases<span class="tag-link-count"> (62)</span></a>
<a href="https://www.osradar.com/tag/debian/" class="tag-cloud-link tag-link-404 tag-link-position-9" style="font-size: 15.098591549296pt;" aria-label="debian (171 items)">debian<span class="tag-link-count"> (171)</span></a>
<a href="https://www.osradar.com/tag/desktop/" class="tag-cloud-link tag-link-1984 tag-link-position-10" style="font-size: 8.1971830985915pt;" aria-label="desktop (34 items)">desktop<span class="tag-link-count"> (34)</span></a>
<a href="https://www.osradar.com/tag/fedora/" class="tag-cloud-link tag-link-246 tag-link-position-11" style="font-size: 9.8732394366197pt;" aria-label="fedora (50 items)">fedora<span class="tag-link-count"> (50)</span></a>
<a href="https://www.osradar.com/tag/focal/" class="tag-cloud-link tag-link-2874 tag-link-position-12" style="font-size: 12.830985915493pt;" aria-label="focal (102 items)">focal<span class="tag-link-count"> (102)</span></a>
<a href="https://www.osradar.com/tag/focal-fossa/" class="tag-cloud-link tag-link-2873 tag-link-position-13" style="font-size: 13.028169014085pt;" aria-label="Focal Fossa (106 items)">Focal Fossa<span class="tag-link-count"> (106)</span></a>
<a href="https://www.osradar.com/tag/google/" class="tag-cloud-link tag-link-225 tag-link-position-14" style="font-size: 15pt;" aria-label="google (168 items)">google<span class="tag-link-count"> (168)</span></a>
<a href="https://www.osradar.com/tag/howto/" class="tag-cloud-link tag-link-792 tag-link-position-15" style="font-size: 18.056338028169pt;" aria-label="howto (346 items)">howto<span class="tag-link-count"> (346)</span></a>
<a href="https://www.osradar.com/tag/how-to/" class="tag-cloud-link tag-link-84 tag-link-position-16" style="font-size: 17.859154929577pt;" aria-label="How to (330 items)">How to<span class="tag-link-count"> (330)</span></a>
<a href="https://www.osradar.com/tag/how-to-tutorials/" class="tag-cloud-link tag-link-3150 tag-link-position-17" style="font-size: 8.7887323943662pt;" aria-label="how to tutorials (39 items)">how to tutorials<span class="tag-link-count"> (39)</span></a>
<a href="https://www.osradar.com/tag/java/" class="tag-cloud-link tag-link-134 tag-link-position-18" style="font-size: 9.8732394366197pt;" aria-label="java (50 items)">java<span class="tag-link-count"> (50)</span></a>
<a href="https://www.osradar.com/tag/linux/" class="tag-cloud-link tag-link-210 tag-link-position-19" style="font-size: 22pt;" aria-label="Linux (864 items)">Linux<span class="tag-link-count"> (864)</span></a>
<a href="https://www.osradar.com/tag/linux-mint/" class="tag-cloud-link tag-link-443 tag-link-position-20" style="font-size: 8.5915492957746pt;" aria-label="linux mint (37 items)">linux mint<span class="tag-link-count"> (37)</span></a>
<a href="https://www.osradar.com/tag/mariadb/" class="tag-cloud-link tag-link-951 tag-link-position-21" style="font-size: 9.6760563380282pt;" aria-label="mariadb (48 items)">mariadb<span class="tag-link-count"> (48)</span></a>
<a href="https://www.osradar.com/tag/monitoring/" class="tag-cloud-link tag-link-801 tag-link-position-22" style="font-size: 8.4929577464789pt;" aria-label="monitoring (36 items)">monitoring<span class="tag-link-count"> (36)</span></a>
<a href="https://www.osradar.com/tag/mysql/" class="tag-cloud-link tag-link-1235 tag-link-position-23" style="font-size: 9.1830985915493pt;" aria-label="mysql (43 items)">mysql<span class="tag-link-count"> (43)</span></a>
<a href="https://www.osradar.com/tag/network/" class="tag-cloud-link tag-link-1102 tag-link-position-24" style="font-size: 8.3943661971831pt;" aria-label="network (35 items)">network<span class="tag-link-count"> (35)</span></a>
<a href="https://www.osradar.com/tag/news/" class="tag-cloud-link tag-link-1341 tag-link-position-25" style="font-size: 10.56338028169pt;" aria-label="News (59 items)">News<span class="tag-link-count"> (59)</span></a>
<a href="https://www.osradar.com/tag/new-version/" class="tag-cloud-link tag-link-1428 tag-link-position-26" style="font-size: 10.859154929577pt;" aria-label="New version (64 items)">New version<span class="tag-link-count"> (64)</span></a>
<a href="https://www.osradar.com/tag/opensuse/" class="tag-cloud-link tag-link-561 tag-link-position-27" style="font-size: 9.2816901408451pt;" aria-label="opensuse (44 items)">opensuse<span class="tag-link-count"> (44)</span></a>
<a href="https://www.osradar.com/tag/php/" class="tag-cloud-link tag-link-135 tag-link-position-28" style="font-size: 11.056338028169pt;" aria-label="PHP (66 items)">PHP<span class="tag-link-count"> (66)</span></a>
<a href="https://www.osradar.com/tag/programming/" class="tag-cloud-link tag-link-776 tag-link-position-29" style="font-size: 14.211267605634pt;" aria-label="Programming (139 items)">Programming<span class="tag-link-count"> (139)</span></a>
<a href="https://www.osradar.com/tag/rhel/" class="tag-cloud-link tag-link-69 tag-link-position-30" style="font-size: 9.5774647887324pt;" aria-label="RHEL (47 items)">RHEL<span class="tag-link-count"> (47)</span></a>
<a href="https://www.osradar.com/tag/security/" class="tag-cloud-link tag-link-137 tag-link-position-31" style="font-size: 12.929577464789pt;" aria-label="Security (103 items)">Security<span class="tag-link-count"> (103)</span></a>
<a href="https://www.osradar.com/tag/server/" class="tag-cloud-link tag-link-848 tag-link-position-32" style="font-size: 16.774647887324pt;" aria-label="server (259 items)">server<span class="tag-link-count"> (259)</span></a>
<a href="https://www.osradar.com/tag/sql/" class="tag-cloud-link tag-link-1441 tag-link-position-33" style="font-size: 10.957746478873pt;" aria-label="SQL (65 items)">SQL<span class="tag-link-count"> (65)</span></a>
<a href="https://www.osradar.com/tag/tools/" class="tag-cloud-link tag-link-800 tag-link-position-34" style="font-size: 9.9718309859155pt;" aria-label="tools (52 items)">tools<span class="tag-link-count"> (52)</span></a>
<a href="https://www.osradar.com/tag/tutorial/" class="tag-cloud-link tag-link-86 tag-link-position-35" style="font-size: 19.535211267606pt;" aria-label="Tutorial (485 items)">Tutorial<span class="tag-link-count"> (485)</span></a>
<a href="https://www.osradar.com/tag/ubuntu/" class="tag-cloud-link tag-link-71 tag-link-position-36" style="font-size: 17.169014084507pt;" aria-label="ubuntu (282 items)">ubuntu<span class="tag-link-count"> (282)</span></a>
<a href="https://www.osradar.com/tag/unix/" class="tag-cloud-link tag-link-1170 tag-link-position-37" style="font-size: 8pt;" aria-label="unix (32 items)">unix<span class="tag-link-count"> (32)</span></a>
<a href="https://www.osradar.com/tag/web/" class="tag-cloud-link tag-link-132 tag-link-position-38" style="font-size: 8.887323943662pt;" aria-label="web (40 items)">web<span class="tag-link-count"> (40)</span></a>
<a href="https://www.osradar.com/tag/web-server/" class="tag-cloud-link tag-link-1253 tag-link-position-39" style="font-size: 8.0985915492958pt;" aria-label="web server (33 items)">web server<span class="tag-link-count"> (33)</span></a>
<a href="https://www.osradar.com/tag/windows/" class="tag-cloud-link tag-link-98 tag-link-position-40" style="font-size: 17.661971830986pt;" aria-label="Windows (315 items)">Windows<span class="tag-link-count"> (315)</span></a>
<a href="https://www.osradar.com/tag/windows-10/" class="tag-cloud-link tag-link-83 tag-link-position-41" style="font-size: 16.183098591549pt;" aria-label="Windows 10 (222 items)">Windows 10<span class="tag-link-count"> (222)</span></a>
<a href="https://www.osradar.com/tag/windows-11/" class="tag-cloud-link tag-link-4007 tag-link-position-42" style="font-size: 11.450704225352pt;" aria-label="windows 11 (73 items)">windows 11<span class="tag-link-count"> (73)</span></a>
<a href="https://www.osradar.com/tag/windows-server/" class="tag-cloud-link tag-link-65 tag-link-position-43" style="font-size: 9.4788732394366pt;" aria-label="Windows server (46 items)">Windows server<span class="tag-link-count"> (46)</span></a>
<a href="https://www.osradar.com/tag/windows-server-2019/" class="tag-cloud-link tag-link-2144 tag-link-position-44" style="font-size: 10.464788732394pt;" aria-label="Windows server 2019 (58 items)">Windows server 2019<span class="tag-link-count"> (58)</span></a>
<a href="https://www.osradar.com/tag/xiaomi/" class="tag-cloud-link tag-link-3291 tag-link-position-45" style="font-size: 8.4929577464789pt;" aria-label="Xiaomi (36 items)">Xiaomi<span class="tag-link-count"> (36)</span></a></p><p>The post <a rel="nofollow" href="https://www.osradar.com/centos7-uses-docker-compose-to-install-zabbix/">Centos7 and 8 uses docker-compose to install zabbix</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/centos7-uses-docker-compose-to-install-zabbix/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Glances on CentOS 7?</title>
		<link>https://www.osradar.com/how-to-install-glances-centos-7/</link>
					<comments>https://www.osradar.com/how-to-install-glances-centos-7/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 28 Dec 2018 18:58:21 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Linuc]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[monitoring tools]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=8763</guid>

					<description><![CDATA[<p>We already know that monitoring your server is something basic like sysadmin. But it is not only limited to those professionals in server administration but we can do it ourselves. For it, they count on diverse light tools and open source that, they help us with it. In addition, we like monitoring because it helps [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-glances-centos-7/">How to install Glances on CentOS 7?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>We already know that monitoring your server is something basic like sysadmin. But it is not only limited to those professionals in server administration but we can do it ourselves. For it, they count on diverse light tools and open source that, they help us with it. In addition, we like monitoring because it helps to be attentive to any eventuality that arises in the computer. So, that&#8217;s why today I&#8217;ll show you how to install Glances on <a href="https://www.osradar.com/how-to-install-nodejs-on-centos-7/">CentOS</a> 7.</p>
<p>Glances is a cross-platform system monitoring tool written in Python. Glances helps us keep an eye on our system, just the <a href="https://nicolargo.github.io/glances/" rel="noopener">website</a> project says.</p>
<p>Among its main features, we have that it is possible to choose to display system information on the terminal or remotely through a web interface. It also has an API that allows third-party applications to use Glances.</p>
<p>Some of the parameters that Glance allows you to monitor are there:</p>
<ul>
<li>CPU.</li>
<li>Memory.</li>
<li>Load.</li>
<li>Process list.</li>
<li>Network interface.</li>
<li>Disk I/O.</li>
<li>IRQ / Raid.</li>
<li>Sensors.</li>
<li>Filesystem (and folders).</li>
<li>Docker.</li>
</ul>
<p>As you can see, the information you can get by using it is varied. So, let&#8217;s install Glances.</p>
<h1>1. Check the Python version</h1>
<p>In this first step, you must verify which version of python your CentOS 7 system has. This is because Glances requires at least Python 2.7 or Python 3.4. So run this command:</p>
<pre class="">:~$ su
:~# python -version</pre>
<p><figure id="attachment_8764" aria-describedby="caption-attachment-8764" style="width: 837px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8764" src="https://www.osradar.com/wp-content/uploads/2018/12/1-19.png" alt="1.- Check the python version" width="837" height="137" srcset="https://www.osradar.com/wp-content/uploads/2018/12/1-19.png 837w, https://www.osradar.com/wp-content/uploads/2018/12/1-19-300x49.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/1-19-768x126.png 768w" sizes="(max-width: 837px) 100vw, 837px" /><figcaption id="caption-attachment-8764" class="wp-caption-text">1.- Check the python version</figcaption></figure></p>
<p>At the moment I&#8217;m using CentOS 7 and I&#8217;ve always updated it. However, in case you don&#8217;t have a valid version of python, you can use <a href="https://www.osradar.com/get-the-latest-python-on-linux/" rel="noopener">this</a> tutorial.</p>
<p>So, let&#8217;s continue.</p>
<h1>2. Install Glances on CentOS 7</h1>
<p>Now it&#8217;s the turn to install Glances. We have several ways to do this. Both are very easy so I&#8217;ll tell you how it is.</p>
<p>The first way to install Glances is to do it through the auto install script. To do this, you can use <a href="https://www.osradar.com/how-to-use-curl-command-linux/" rel="noopener">CURL</a> or <em>wget</em> to download the script and run it with bash.</p>
<pre class="">:~# curl -L https://bit.ly/glances | /bin/bash</pre>
<p>or</p>
<pre class="">:~# wget -O- https://bit.ly/glances | /bin/bash</pre>
<p>It&#8217;s really simple and this method guarantees you to have the last version ready for production, i.e. the master branch.</p>
<p>However, we are using CentOS 7 and that means stability, right? then we are going to install the latest stable version of Glances and for that, I will use pip.</p>
<pre class="">:~# yum install python-devel</pre>
<p><figure id="attachment_8765" aria-describedby="caption-attachment-8765" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8765" src="https://www.osradar.com/wp-content/uploads/2018/12/2-18.png" alt="2.- Installing some required packages" width="1365" height="563" srcset="https://www.osradar.com/wp-content/uploads/2018/12/2-18.png 1365w, https://www.osradar.com/wp-content/uploads/2018/12/2-18-300x124.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/2-18-768x317.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/2-18-1024x422.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/2-18-1068x441.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/2-18-1018x420.png 1018w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-8765" class="wp-caption-text">2.- Installing some required packages</figcaption></figure></p>
<p>Then, install pip from the EPEL repository.</p>
<pre class="">:~# yum install epel-release</pre>
<p><figure id="attachment_8766" aria-describedby="caption-attachment-8766" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8766" src="https://www.osradar.com/wp-content/uploads/2018/12/3-18.png" alt="3.- Enabling the EPEL repository" width="1365" height="561" srcset="https://www.osradar.com/wp-content/uploads/2018/12/3-18.png 1365w, https://www.osradar.com/wp-content/uploads/2018/12/3-18-300x123.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/3-18-768x316.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/3-18-1024x421.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/3-18-1068x439.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/3-18-1022x420.png 1022w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-8766" class="wp-caption-text">3.- Enabling the EPEL repository</figcaption></figure></p>
<p>Now, install pip.</p>
<p><figure id="attachment_8767" aria-describedby="caption-attachment-8767" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8767" src="https://www.osradar.com/wp-content/uploads/2018/12/4-18.png" alt="4.- Install python-pip" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/4-18.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/4-18-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/4-18-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/4-18-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/4-18-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/4-18-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8767" class="wp-caption-text">4.- Install python-pip</figcaption></figure></p>
<p>Now, upgrade pip.</p>
<pre class="">:~# pip install --upgrade pip</pre>
<p>When the installation is finished, it is necessary to install gcc.</p>
<pre class="">:~# yum install gcc</pre>
<p><figure id="attachment_8768" aria-describedby="caption-attachment-8768" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8768" src="https://www.osradar.com/wp-content/uploads/2018/12/5-16.png" alt="5.- install gcc" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/5-16.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/5-16-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/5-16-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/5-16-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/5-16-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/5-16-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8768" class="wp-caption-text">5.- install gcc</figcaption></figure></p>
<p>Next, install <em>psutil</em> using pip.</p>
<pre class="">:~# pip install psutil</pre>
<p><figure id="attachment_8770" aria-describedby="caption-attachment-8770" style="width: 1362px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8770" src="https://www.osradar.com/wp-content/uploads/2018/12/6-653.png" alt="6.- Install psutil" width="1362" height="208" srcset="https://www.osradar.com/wp-content/uploads/2018/12/6-653.png 1362w, https://www.osradar.com/wp-content/uploads/2018/12/6-653-300x46.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/6-653-768x117.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/6-653-1024x156.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/6-653-1068x163.png 1068w" sizes="(max-width: 1362px) 100vw, 1362px" /><figcaption id="caption-attachment-8770" class="wp-caption-text">6.- Install psutil</figcaption></figure></p>
<p>Finally, install glances.</p>
<pre class="">:~# pip installa glances</pre>
<p><figure id="attachment_8771" aria-describedby="caption-attachment-8771" style="width: 1364px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8771" src="https://www.osradar.com/wp-content/uploads/2018/12/7-7777.png" alt="7.- Install glances using pip" width="1364" height="256" srcset="https://www.osradar.com/wp-content/uploads/2018/12/7-7777.png 1364w, https://www.osradar.com/wp-content/uploads/2018/12/7-7777-300x56.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/7-7777-768x144.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/7-7777-1024x192.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/7-7777-1068x200.png 1068w" sizes="(max-width: 1364px) 100vw, 1364px" /><figcaption id="caption-attachment-8771" class="wp-caption-text">7.- Install glances using pip</figcaption></figure></p>
<p>If you want to use additional libraries to enable other features of glans, you can use this command as well.</p>
<pre class="">:~# pip install glances[action,browser,cloud,cpuinfo,chart,docker,export,folders,gpu,ip,raid,snmp,web,wifi]</pre>
<p><figure id="attachment_8772" aria-describedby="caption-attachment-8772" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8772" src="https://www.osradar.com/wp-content/uploads/2018/12/8-9888.png" alt="8.- Installing other packages" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/8-9888.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/8-9888-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/8-9888-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/8-9888-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/8-9888-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/8-9888-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8772" class="wp-caption-text">8.- Installing other packages</figcaption></figure></p>
<p>And that&#8217;s it.</p>
<h1>3. Using Glances</h1>
<p>Now let&#8217;s use it. Execute the command <code>glances</code> to initialize the monitoring locally.</p>
<pre class="">:~# glances</pre>
<p><figure id="attachment_8773" aria-describedby="caption-attachment-8773" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8773" src="https://www.osradar.com/wp-content/uploads/2018/12/9-9999932.png" alt="9.- Glances" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/9-9999932.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/9-9999932-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/9-9999932-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/9-9999932-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/9-9999932-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/9-9999932-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8773" class="wp-caption-text">9.- Glances</figcaption></figure></p>
<p>If you are running glances in a server, you can run.</p>
<pre class="">:~# glances -s</pre>
<p>&nbsp;</p>
<p><figure id="attachment_8774" aria-describedby="caption-attachment-8774" style="width: 858px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8774" src="https://www.osradar.com/wp-content/uploads/2018/12/10-11444.png" alt="10.- Running glances in a server mode" width="858" height="161" srcset="https://www.osradar.com/wp-content/uploads/2018/12/10-11444.png 858w, https://www.osradar.com/wp-content/uploads/2018/12/10-11444-300x56.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/10-11444-768x144.png 768w" sizes="(max-width: 858px) 100vw, 858px" /><figcaption id="caption-attachment-8774" class="wp-caption-text">10.- Running glances in a server modeReplace IP for the server IP.</figcaption></figure></p>
<p>In the client machine, just run.</p>
<p>&nbsp;</p>
<pre class="">:~# glances -c IP</pre>
<p>Finally, if you nat to use the web interface run on the server.</p>
<pre class="">:~# glances -w</pre>
<p><figure id="attachment_8775" aria-describedby="caption-attachment-8775" style="width: 643px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8775" src="https://www.osradar.com/wp-content/uploads/2018/12/11-112323.png" alt="11.- Running Glances to allow web interface" width="643" height="206" srcset="https://www.osradar.com/wp-content/uploads/2018/12/11-112323.png 643w, https://www.osradar.com/wp-content/uploads/2018/12/11-112323-300x96.png 300w" sizes="(max-width: 643px) 100vw, 643px" /><figcaption id="caption-attachment-8775" class="wp-caption-text">11.- Running Glances to allow web interface</figcaption></figure></p>
<p>On the client machine, open the web browser and go to http://IP_SERVER:61208.</p>
<p><figure id="attachment_8776" aria-describedby="caption-attachment-8776" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8776" src="https://www.osradar.com/wp-content/uploads/2018/12/12-1222222.png" alt="12.- Glances in a web browser" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2018/12/12-1222222.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/12-1222222-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/12-1222222-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/12-1222222-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/12-1222222-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/12/12-1222222-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/12-1222222-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8776" class="wp-caption-text">12.- Glances in a web browser</figcaption></figure></p>
<p>Of course, don&#8217;t forget to add the rules to the firewall to open the glances port.</p>
<pre class="">:~# firewall-cmd --zone=public --add-port=61208/tcp --permanent
:~# firewall-cmd --reload</pre>
<p><figure id="attachment_8777" aria-describedby="caption-attachment-8777" style="width: 845px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8777" src="https://www.osradar.com/wp-content/uploads/2018/12/13-3333.png" alt="13.- Open the glances port" width="845" height="151" srcset="https://www.osradar.com/wp-content/uploads/2018/12/13-3333.png 845w, https://www.osradar.com/wp-content/uploads/2018/12/13-3333-300x54.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/13-3333-768x137.png 768w" sizes="(max-width: 845px) 100vw, 845px" /><figcaption id="caption-attachment-8777" class="wp-caption-text">13.- Open the glances port</figcaption></figure></p>
<p>And that&#8217;s it.</p>
<h1>Conclusion</h1>
<p>Glances is a pretty good tool to monitor your CentOS 7 server. It is built in Python and its memory consumption is quite efficient. Its installation in CentOS is something simple for a user accustomed to terminal commands.</p>
<p>Please share this article in your social networks.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-glances-centos-7/">How to install Glances on CentOS 7?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-glances-centos-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Hegemon. A system monitor for Linux.</title>
		<link>https://www.osradar.com/how-to-install-hegemon-a-system-monitor-for-linux/</link>
					<comments>https://www.osradar.com/how-to-install-hegemon-a-system-monitor-for-linux/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 25 Dec 2018 19:17:09 +0000</pubDate>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[monitoring tools]]></category>
		<category><![CDATA[rust]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=8512</guid>

					<description><![CDATA[<p>There are several tools to monitor your Linux system. Some more or less complex, today I will present you a light but powerful tool to verify your system. I&#8217;m talking about Hegemon. In this post, you will learn how to install Hegemon on Linux. To monitor the processes and the memory of your computer, there [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-hegemon-a-system-monitor-for-linux/">How to install Hegemon. A system monitor for Linux.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>There are several tools to monitor your Linux system. Some more or less complex, today I will present you a light but powerful tool to verify your system. I&#8217;m talking about Hegemon. In this post, you will learn how to install Hegemon on Linux.</p>
<p>To monitor the processes and the memory of your computer, there are tools such as top and <a href="https://www.osradar.com/htop-how-to-install-it-and-use-it/">htop</a>, however, <a href="https://github.com/p-e-w/hegemon">Hegemon</a> is presented as a modular alternative to them. It is also written in <a href="https://www.rust-lang.org/">Rust</a>, which guarantees that its consumption will be very fair.</p>
<p>Some of its features are:</p>
<ul>
<li>Monitor CPU and memory usage, temperatures, and fan speeds.</li>
<li>Expand any data stream to reveal a more detailed graph and additional information Adjustable update interval.</li>
<li>Clean MVC architecture with good code quality.</li>
<li>Unit tests.</li>
</ul>
<p>For now, it only supports <a href="https://www.osradar.com/uniq-on-linux/">Linux</a>, but in the future, the development team has in mind to include support for Mac OS and <a href="https://www.osradar.com/set-a-static-ip-address-in-freebsd/">BSD</a>.</p>
<p>So, let&#8217;s install Hegemon.</p>
<h1>1. Install Rust Language</h1>
<p>Hegemon is a tool built in Rust. Therefore, you must install it and configure it properly in order to run it.</p>
<p>We recently taught you <a href="https://www.osradar.com/install-rust-programming-language-linux/">how to do it</a>, so there won&#8217;t be any problems.</p>
<h1>2. Install Hegemon</h1>
<p>One of the dependencies is Rust, but when its installation is complete, it is now necessary to install the system&#8217;s sensors. With this, Hegemon will be able to measure the temperature of your processors and show information closer to reality.</p>
<p>For RHEL and CentOS:</p>
<pre class="">:~# yum install lm_sensors-devel</pre>
<p>If you use Fedora:</p>
<pre class="">:~$ sudo dnf install lm_sensors-devel7</pre>
<p>In case you are using Debian, Ubuntu and Linux Mint.</p>
<pre class="">:~$ sudo apt install libsensors4-dev</pre>
<p><figure id="attachment_8702" aria-describedby="caption-attachment-8702" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8702" src="https://www.osradar.com/wp-content/uploads/2018/12/1-17.png" alt="1.- Install libsensors" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/1-17.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/1-17-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/1-17-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/1-17-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/1-17-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/1-17-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8702" class="wp-caption-text">1.- Install libsensors</figcaption></figure></p>
<p>Now using the Rust cargo package manager, you can install Hegemon without problems.</p>
<pre class="">:~$ cargo install hegemon</pre>
<p><figure id="attachment_8704" aria-describedby="caption-attachment-8704" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8704" src="https://www.osradar.com/wp-content/uploads/2018/12/2-2222.png" alt="2.- Install hegemon using cargo" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/2-2222.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/2-2222-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/2-2222-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/2-2222-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/2-2222-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/2-2222-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8704" class="wp-caption-text">2.- Install hegemon using cargo</figcaption></figure></p>
<p>Then, run it.</p>
<pre class="">:~$ hegemon</pre>
<p>And you will see.</p>
<p><figure id="attachment_8706" aria-describedby="caption-attachment-8706" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8706" src="https://www.osradar.com/wp-content/uploads/2018/12/3-333.png" alt="3.- Running hegemon" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/3-333.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/3-333-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/3-333-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/3-333-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/3-333-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/3-333-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8706" class="wp-caption-text">3.- Running hegemon</figcaption></figure></p>
<p>As you can see in the image, you can expand the information shown by pressing the space keyboard. In addition, you can change the default monitoring frequency to 3.</p>
<p>To exit, <strong>press</strong> <strong>q</strong>.</p>
<h1>Conclusion</h1>
<p>While Hegemon is at an early stage of development, the fact that it is modular makes it interesting. In other words, you can expand its functionality on your own. Being programmed in Rust gives us the opportunity to have a good tool without sacrificing resources.</p>
<p>Please share this post with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-hegemon-a-system-monitor-for-linux/">How to install Hegemon. A system monitor for Linux.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-hegemon-a-system-monitor-for-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install LibreNMS on Debian 9?</title>
		<link>https://www.osradar.com/how-to-install-librenms-on-debian-9/</link>
					<comments>https://www.osradar.com/how-to-install-librenms-on-debian-9/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 19 Oct 2018 01:11:43 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[monitoring tools]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Stretch]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=6541</guid>

					<description><![CDATA[<p>This article is intended to teach you how to install LibreNMS on Debian 9. For any system administrator it is essential to monitor the network it manages. At the same time, it is very important to have the right tool to do that task. LibreNMS is a tool with a web interface for monitoring services [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-librenms-on-debian-9/">How to install LibreNMS on Debian 9?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This article is intended to teach you how to install LibreNMS on Debian 9.</p>
<p>For any system administrator it is essential to monitor the network it manages. At the same time, it is very important to have the right tool to do that task.</p>
<p><a href="https://www.librenms.org/" target="_blank" rel="noopener">LibreNMS</a> is a tool with a web interface for monitoring services within a network. It is released under <a href="https://www.gnu.org/licenses/gpl-3.0.html" target="_blank" rel="noopener">GPLV3</a>, so it is open source. It includes support for a wide range of network hardware and operating systems including Cisco, Linux, FreeBSD, Juniper, Brocade, Foundry, HP and many more.</p>
<p>You can install it in the main Linux distributions oriented to it, for example, Debian, Ubuntu Server, CentOS, Suse and RHEL. It requires a web server, PHP and a database manager like MariaDB.</p>
<p>Let&#8217;s start.</p>
<h2>0.- What you need</h2>
<p>Installing LibreNMS is not as complicated as it may seem, but the following must be taken into account:</p>
<ul>
<li>It is necessary to have knowledge about the Linux terminal.</li>
<li>You must be able to access through ssh.</li>
<li>Commands must be run as root user. So your user must be able to have that privilege.</li>
</ul>
<p>Let&#8217;s get to work.</p>
<h2>1.- Upgrade the system</h2>
<p>It&#8217;s always a good idea to have your operating system updated when you start an installation like this one. With this you will have the latest security patches on your system and it will be safer.</p>
<pre class="">:~$ su
:~# apt update &amp;&amp; apt upgrade</pre>
<p><figure id="attachment_6565" aria-describedby="caption-attachment-6565" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6565" src="https://www.osradar.com/wp-content/uploads/2018/10/1-14.png" alt="1.- Upgrading the system" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/1-14.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/1-14-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/1-14-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/1-14-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/1-14-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/1-14-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/1-14-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6565" class="wp-caption-text">1.- Upgrading the system</figcaption></figure></p>
<p>And with this it&#8217;s done.</p>
<h2>2.- Install Apache Web server</h2>
<p>The second step to install LibreNMS in Debian is to install a web server. In this case, I will use Apache Web server.</p>
<pre class="">:~# apt install apache2</pre>
<p><figure id="attachment_6566" aria-describedby="caption-attachment-6566" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6566" src="https://www.osradar.com/wp-content/uploads/2018/10/2-14.png" alt="2.- Installing apache2" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/2-14.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/2-14-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/2-14-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/2-14-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/2-14-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/2-14-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/2-14-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6566" class="wp-caption-text">2.- Installing apache2</figcaption></figure></p>
<p>Then enable the service to start with the system.</p>
<pre class="">:~# systemctl enable apache2</pre>
<p>Finally, go to your web browser and access from the IP address of the server. <code>http://IP_SERVER</code></p>
<p><figure id="attachment_6567" aria-describedby="caption-attachment-6567" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6567" src="https://www.osradar.com/wp-content/uploads/2018/10/3-15.png" alt="3.- Apache default page on Debian 9" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/10/3-15.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/3-15-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/3-15-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/3-15-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/3-15-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/10/3-15-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/3-15-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/3-15-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6567" class="wp-caption-text">3.- Apache default page on Debian 9</figcaption></figure></p>
<p>If you see the image above, apache web server is correctly installed.</p>
<h2>2. Install PHP</h2>
<p>In order to run LibreNMS you need to install PHP.</p>
<pre class="">:~# apt install php7.0-cli php7.0-curl php7.0-mbstring php7.0-gd libapache2-mod-php7.0 php7.0-snmp php7.0-xml php7.0-mysql php7.0-zip php7.0-json</pre>
<p><figure id="attachment_6568" aria-describedby="caption-attachment-6568" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6568" src="https://www.osradar.com/wp-content/uploads/2018/10/4-11.png" alt="4.- Installing PHP" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/4-11.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/4-11-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/4-11-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/4-11-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/4-11-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/4-11-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/4-11-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6568" class="wp-caption-text">4.- Installing PHP</figcaption></figure></p>
<p>At the end of the installation, you must test the installation. Create a file in <code>/var/www/html/</code> and put some simple PHP code like this.</p>
<pre class="">:~# nano /var/www/html/test.php</pre>
<pre class="">&lt;?php
echo "PHP IS WORKING";
?&gt;</pre>
<p><figure id="attachment_6569" aria-describedby="caption-attachment-6569" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6569" src="https://www.osradar.com/wp-content/uploads/2018/10/5-11.png" alt="5.- Testing PHP" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/5-11.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/5-11-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/5-11-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/5-11-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/5-11-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/5-11-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/5-11-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6569" class="wp-caption-text">5.- Testing PHP</figcaption></figure></p>
<p>Now, try open it from the browser.</p>
<p><figure id="attachment_6570" aria-describedby="caption-attachment-6570" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6570" src="https://www.osradar.com/wp-content/uploads/2018/10/6-10.png" alt="6.- PHP is installed" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/10/6-10.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/6-10-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/6-10-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/6-10-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/6-10-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/10/6-10-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/6-10-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/6-10-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6570" class="wp-caption-text">6.- PHP is installed</figcaption></figure></p>
<p>If the code works then PHP is correctly installed.</p>
<h2>3. Install MariaDB</h2>
<p>In order to continue installing LibreNMS you have to install MariaDB. LibreNMS requires a database manager and MariaDB is simple, powerful and free.</p>
<pre class="">:~# apt install mariadb-server</pre>
<p><figure id="attachment_6571" aria-describedby="caption-attachment-6571" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6571" src="https://www.osradar.com/wp-content/uploads/2018/10/7-10.png" alt="7.- Installing MariaDB" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/7-10.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/7-10-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/7-10-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/7-10-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/7-10-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/7-10-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/7-10-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6571" class="wp-caption-text">7.- Installing MariaDB</figcaption></figure></p>
<p>Now start, and enable the MariaDB service.</p>
<pre class="">:~# systemctl enable mariadb
:~# systemctl start mariadb</pre>
<p><figure id="attachment_6573" aria-describedby="caption-attachment-6573" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6573" src="https://www.osradar.com/wp-content/uploads/2018/10/8-10.png" alt="8.- Enabling the MariaDB service" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/8-10.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/8-10-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/8-10-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/8-10-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/8-10-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/8-10-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/8-10-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6573" class="wp-caption-text">8.- Enabling the MariaDB service</figcaption></figure></p>
<p>Now you have to configure MariaDB. So, run the <code>mysql_secure_installation</code> script. There you will be able to define the password and other things.</p>
<pre class="">:~# mysql_secure_installation</pre>
<p><figure id="attachment_6575" aria-describedby="caption-attachment-6575" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6575" src="https://www.osradar.com/wp-content/uploads/2018/10/9-11.png" alt="9.- Running the mysql_secure_installation " width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/9-11.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/9-11-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/9-11-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/9-11-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/9-11-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/9-11-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/9-11-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6575" class="wp-caption-text">9.- Running the mysql_secure_installation</figcaption></figure></p>
<p>After defining the password, you will be asked other questions. Answer as you like, I did it <strong>Y, N, Y, Y.</strong></p>
<p>The next step to install LibreMNS in Debian 9 is to create a database dedicated to the tool. It is also necessary to create a new user and assign necessary permissions.</p>
<pre class="">:~# mysql -u root -p</pre>
<pre class="">CREATE DATABASE librenms;
USE librenms;
GRANT ALL PRIVILEGES ON librenms.* TO 'librenmsuser'@'localhost' IDENTIFIED BY 'librenmspss';
FLUSH PRIVILEGES;
exit;</pre>
<p><figure id="attachment_6576" aria-describedby="caption-attachment-6576" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6576" src="https://www.osradar.com/wp-content/uploads/2018/10/10-11.png" alt="10.- Creating the new database for Librenms" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/10-11.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/10-11-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/10-11-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/10-11-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/10-11-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/10-11-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/10-11-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6576" class="wp-caption-text">10.- Creating the new database for Librenms</figcaption></figure></p>
<p>Obviously, it replaces the data with what you consider appropriate. Choose a secure password.</p>
<p>Finally, edit the file /etc/mysql/mariadb.conf.d/50-server.cnf and leave it as in the image. You just nedd to add the following in <em>mysqld </em>section.</p>
<pre class="">:~# nano /etc/mysql/mariadb.conf.d/50-server.cnf</pre>
<pre class="">innodb_file_per_table=1
sql-mode=""
lower_case_table_names=0</pre>
<p><figure id="attachment_6577" aria-describedby="caption-attachment-6577" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6577" src="https://www.osradar.com/wp-content/uploads/2018/10/11-10.png" alt="11.- Editing the mariadb configuration file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/11-10.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/11-10-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/11-10-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/11-10-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/11-10-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/11-10-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/11-10-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6577" class="wp-caption-text">11.- Editing the mariadb configuration file</figcaption></figure></p>
<p>Then, restart the service:</p>
<pre class="">:~# systemctl restart mariadb</pre>
<p>MariaDB is done.</p>
<h2>4. Install some required packages</h2>
<p>In order for the installation to be ideally achieved, it is necessary to install some extra packages. Run:</p>
<pre class="">:~# apt install composer fping git graphviz imagemagick mtr-tiny nmap python-memcache python-mysqldb rrdtool snmp snmpd whois</pre>
<p><figure id="attachment_6578" aria-describedby="caption-attachment-6578" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6578" src="https://www.osradar.com/wp-content/uploads/2018/10/12-10.png" alt="12.- Installing some required packages" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/12-10.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/12-10-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/12-10-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/12-10-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/12-10-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/12-10-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/12-10-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6578" class="wp-caption-text">12.- Installing some required packages</figcaption></figure></p>
<h2>5. Install LibreNMS</h2>
<p>Now it is the turn to install LibreNMS. First, create a system user with home located at <code>/opt/librenms</code></p>
<pre class="">:~# useradd librenms -d /opt/librenms -M -r
:~# usermod -a -G librenms www-data</pre>
<p><figure id="attachment_6580" aria-describedby="caption-attachment-6580" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6580" src="https://www.osradar.com/wp-content/uploads/2018/10/13-5.png" alt="13.- Creating a new system user" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/13-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/13-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/13-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/13-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/13-5-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/13-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/13-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6580" class="wp-caption-text">13.- Creating a new system user</figcaption></figure></p>
<p>You can now download LibreNMS cloning its repository thanks to Git.</p>
<pre class="">:~# cd /opt/
:~# git clone https://github.com/librenms/librenms.git librenms</pre>
<p><figure id="attachment_6586" aria-describedby="caption-attachment-6586" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6586" src="https://www.osradar.com/wp-content/uploads/2018/10/14-4.png" alt="14.- Cloning the LibreNMS repository" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/14-4.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/14-4-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/14-4-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/14-4-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/14-4-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/14-4-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/14-4-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6586" class="wp-caption-text">14.- Cloning the LibreNMS repository</figcaption></figure></p>
<p>Now, change the owner of the folder.</p>
<pre class="">:~# chown -R librenms:librenms /opt/librenms</pre>
<p>It is now necessary to copy the initial configuration file.</p>
<pre class="">:~# cp /opt/librenms/snmpd.conf.example /etc/snmp/snmpd.conf</pre>
<p><figure id="attachment_6588" aria-describedby="caption-attachment-6588" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6588" src="https://www.osradar.com/wp-content/uploads/2018/10/15-2.png" alt="15.- Configuring LibreNMS" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/15-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/15-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/15-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/15-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/15-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/15-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/15-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6588" class="wp-caption-text">15.- Configuring LibreNMS</figcaption></figure></p>
<p>Replace RANDOMSTRINGGOESHERE line and set your own.</p>
<pre class="">:~# nano /etc/snmp/snmpd.conf</pre>
<p><figure id="attachment_6589" aria-describedby="caption-attachment-6589" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6589" src="https://www.osradar.com/wp-content/uploads/2018/10/16-2.png" alt="16.- Replacing the ramdom string" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/16-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/16-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/16-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/16-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/16-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/16-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/16-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6589" class="wp-caption-text">16.- Replacing the random string</figcaption></figure></p>
<p>Then, you must download a distro detection script.</p>
<pre class="">:~# curl -o /usr/bin/distro https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/distro</pre>
<p>The next thing is to make the script executable and then restart the snmpd service.</p>
<pre class="">:~# chmod +x /usr/bin/distro
:~# systemctl restart snmpd</pre>
<p><figure id="attachment_6590" aria-describedby="caption-attachment-6590" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6590" src="https://www.osradar.com/wp-content/uploads/2018/10/17-1.png" alt="17.- Downloading the distro script" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/17-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/17-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/17-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/17-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/17-1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/17-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/17-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6590" class="wp-caption-text">17.- Downloading the distro script:</figcaption></figure></p>
<p>Next, copy the cron script provided by LibreNMS to the <code>/ect/cron.d</code> directory.</p>
<pre class="">:~# cp /opt/librenms/librenms.nonroot.cron /etc/cron.d/librenms</pre>
<p>And finally, Copy the logrotate script too.</p>
<pre class="">:~# cp /opt/librenms/misc/librenms.logrotate /etc/logrotate.d/librenms</pre>
<p><figure id="attachment_6591" aria-describedby="caption-attachment-6591" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6591" src="https://www.osradar.com/wp-content/uploads/2018/10/18-1.png" alt="18.- Copying the script" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/18-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/18-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/18-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/18-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/18-1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/18-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/18-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6591" class="wp-caption-text">18.- Copying the script</figcaption></figure></p>
<p>Next, move the folder from<code> /opt</code>/ to<code> /var/www/html</code></p>
<pre class="">:~# mv librenms/ /var/www/html/</pre>
<p>Finally run:</p>
<pre class="">:~# cd /var/www/html/libremns
:~# ./scripts/composer_wrapper.php install --no-dev</pre>
<p><figure id="attachment_6592" aria-describedby="caption-attachment-6592" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6592" src="https://www.osradar.com/wp-content/uploads/2018/10/19.png" alt="19.- Running composer" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/19.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/19-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/19-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/19-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/19-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/19-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/19-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6592" class="wp-caption-text">19.- Running composer</figcaption></figure></p>
<h2>6. Access from the web browser</h2>
<p>Now you must complete the installation from the web. Go to <code>http://IP_SERVER/libremns/html/</code></p>
<p>You will see this:</p>
<p><figure id="attachment_6593" aria-describedby="caption-attachment-6593" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6593" src="https://www.osradar.com/wp-content/uploads/2018/10/20.png" alt="20.- Completing the Librenms Installation" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/10/20.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/20-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/20-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/20-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/20-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/10/20-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/20-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/20-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6593" class="wp-caption-text">20.- Completing the Librenms Installation</figcaption></figure></p>
<p>Now enter the parameters of the database you configured previously.</p>
<p><figure id="attachment_6595" aria-describedby="caption-attachment-6595" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6595" src="https://www.osradar.com/wp-content/uploads/2018/10/21.png" alt="21.- Setting the Database Parameters" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/10/21.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/21-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/21-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/21-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/21-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/10/21-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/21-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/21-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6595" class="wp-caption-text">21.- Setting the Database Parameters</figcaption></figure></p>
<p>Then, it will start the configuration of the database. If you don&#8217;t see any errors, you can continue.</p>
<p><figure id="attachment_6596" aria-describedby="caption-attachment-6596" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6596" src="https://www.osradar.com/wp-content/uploads/2018/10/22.png" alt="22.- Database without errors" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/10/22.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/22-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/22-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/22-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/22-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/10/22-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/22-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/22-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6596" class="wp-caption-text">22.- Database without errors</figcaption></figure></p>
<p>Now you have to configure your username and password.</p>
<p><figure id="attachment_6597" aria-describedby="caption-attachment-6597" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6597" src="https://www.osradar.com/wp-content/uploads/2018/10/23.png" alt="23.- Creating the new user" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/10/23.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/23-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/23-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/23-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/23-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/10/23-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/23-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/23-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6597" class="wp-caption-text">23.- Creating the new user</figcaption></figure></p>
<p>If all goes well, you&#8217;ll see this. Click on generate config.</p>
<p><figure id="attachment_6598" aria-describedby="caption-attachment-6598" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6598" src="https://www.osradar.com/wp-content/uploads/2018/10/24.png" alt="24.- User created" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2018/10/24.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/24-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/24-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/24-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/24-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/10/24-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/24-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/24-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6598" class="wp-caption-text">24.- User created</figcaption></figure></p>
<p>After creating the whole process. You access the log in screen. <code>http://IP_SERVER/librenms/html/index.php/login</code></p>
<p><figure id="attachment_6599" aria-describedby="caption-attachment-6599" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6599" src="https://www.osradar.com/wp-content/uploads/2018/10/25.png" alt="25.- LibreNMS log in screen" width="1366" height="397" srcset="https://www.osradar.com/wp-content/uploads/2018/10/25.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/25-300x87.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/25-768x223.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/25-1024x298.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/25-696x202.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/25-1068x310.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6599" class="wp-caption-text">25.- LibreNMS log in screen</figcaption></figure></p>
<p>That&#8217;s it.</p>
<h2>Conclusion</h2>
<p>This type of tool is of great help to system administrators. LibreNMS is easy to install but you have to have a certain level of knowledge.</p>
<p>Spread this article on your social networks.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-librenms-on-debian-9/">How to install LibreNMS on Debian 9?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-librenms-on-debian-9/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Nagios vs. Cacti</title>
		<link>https://www.osradar.com/nagios-vs-cacti/</link>
					<comments>https://www.osradar.com/nagios-vs-cacti/#respond</comments>
		
		<dc:creator><![CDATA[Mel K]]></dc:creator>
		<pubDate>Wed, 27 Dec 2017 12:19:26 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[monitoring tools]]></category>
		<category><![CDATA[nagios vs cacti]]></category>
		<category><![CDATA[Opensource]]></category>
		<guid isPermaLink="false">http://osradar.com/?p=518</guid>

					<description><![CDATA[<p>Monitoring (monitoring status of services), along with backup, is probably one of the oldest and most popular tasks for a system administrator. Of course, there are many different tools for its implementation. In this voluminous splendor, even experienced specialists feel it hard to choose. In this text I have collected two popular monitoring systems with a brief description [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/nagios-vs-cacti/">Nagios vs. Cacti</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Monitoring (monitoring status of services), along with backup, is probably one of the oldest and most popular tasks for a system administrator. Of course, there are many different tools for its implementation. In this voluminous splendor, even experienced specialists feel it hard to choose. In this text I have collected two popular monitoring systems with a brief description and comparison of pros, cons, and features.</p>
<h2 id="nagios--icinga"><strong>Nagios</strong></h2>
<p>Quite an ancient tool, originally called Nagios (author Ethan Galstadt). During the development process, a split occurred in the developer&#8217;s camp and a fork (Icinga) appeared. Now these systems develop independently, but there is much more in common than differences. Nagios exists in the free (core) and paid editions, Icinga is an honest Open source. Initially, a server-oriented daemon on bare C, the daemon is managed through a C-like config (looks like ISC BIND config). All checks are collected in a live queue and executed in strict order. This imposes certain limitations on scalability &#8211; the server will keep a large number of checks without difficulty, but the more of them, the more time passes between them. A couple of thousand checks (400 servers x 5 checks per server) makes the monitoring system virtually meaningless &#8211; there is too much time between checks. As an option, there is a client application called NRPE, it allows you to test locally, on the client (for those cases when it is not possible to check the service remotely), but this is an option. In addition, the checks through the client are conducted on the initiative of the server, so this does not affect the scalability. Nagios extends very well, plugins are written very simply (and there are a lot of them). Nagios is famous for its powerful and flexible system of readings &#8211; in the database it can write letters and send sms and messages to a pager, but there is a whole set of plug-ins &#8211; from an automatic call to a traffic light (not figuratively, but literally &#8211; this joy is controlled via ModBus). Icinga has two web interfaces to choose from &#8211; classic CGI and more modern in PHP. Subjectively, CGI is more convenient, although less flexible. The progenitor (nagios core) has only a CGI-version of the interface. It is important to note that Nagios does not know how and does not want to collect the statistics of answers, therefore it is meaningless to expect beautiful graphs in the style of Munin / Ganglia / Cacti from it. There is a bridge for Icinga connection with Ganglia, this is a fairly popular tandem in which Icinga responds primarily to the network map, hosts overview and notifications.</p>
<p><strong>Main advantages of Nagios</strong></p>
<ul>
<li>Simple file format. It can be easily configured using any self-written utilities</li>
<li>Allows to leave comments with a timestamp</li>
<li>There are plug-ins for all cases from third-party manufacturers</li>
</ul>
<p><strong>Disadvantages of Nagios</strong></p>
<ul>
<li>There are no built-in visualization tools (except the network map)</li>
<li>The complexity of scaling without the use of third-party plug-ins</li>
<li>There is no way to monitor performance</li>
<li>Can not be configured via interface</li>
<li>You need to restart the server to take effect of the configuration changes</li>
<li>Each plug-in runs as a separate process</li>
</ul>
<h2 id="cacti"><strong>Cacti</strong></h2>
<p>Initially, this tool is positioned to quickly and easily build SNMP statistics, but with the use of plugins (notify + treshold), it acquires the capabilities of a monitoring system. This PHP application, settings and configurations are stored in the MySQL database (the statistics are stored in RRD, which has a beneficial effect on the performance of the service). Very simple installation and initial setup (everything is done via the web interface), in general, scales well (especially if you use spine with a multithreaded SNMP questionnaire), a large number of basic templates for testing different types of devices. The main disadvantage of the application is its SNMP-centricity. This service is well suited for data collection from equipment, tolerable for collecting typical statistics of service performance (disk space, load CPU, etc.) and disgusting to collect complex and atypical metrics. Customization is poor.</p>
<p><strong>Main advantages of Cacti</strong></p>
<ul>
<li>High deployment speed with minimal additional coding</li>
<li>Simplicity and convenience of the diagram browsing interface and their settings (do not immediately learn something complicated)</li>
</ul>
<p><strong>Disadvantages of Cacti</strong></p>
<ul>
<li>A fairly rapid increase in the number of similar settings in the case of a large number of environments and Java application servers.</li>
<li>Limited performance of non-native JMX solutions for Cacti.</li>
</ul>
<p>The post <a rel="nofollow" href="https://www.osradar.com/nagios-vs-cacti/">Nagios vs. Cacti</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/nagios-vs-cacti/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
