<?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>how to install OpenNMS on Ubuntu 20.04 Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/how-to-install-opennms-on-ubuntu-20-04/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 07 Dec 2020 16:13:25 +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 OpenNMS On Ubutnu 20.04</title>
		<link>https://www.osradar.com/how-to-install-opennms-on-ubutnu-20-04/</link>
					<comments>https://www.osradar.com/how-to-install-opennms-on-ubutnu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Tue, 08 Dec 2020 08:51:00 +0000</pubDate>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[how to install OpenNMS on Ubuntu 20.04]]></category>
		<category><![CDATA[how to tutorials]]></category>
		<category><![CDATA[Opennms installation ubuntu]]></category>
		<category><![CDATA[ubuntu 20.04 tu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=26172</guid>

					<description><![CDATA[<p>Today we are going to learn that how to install OpenNMS Network Monitoring Tool on Ubuntu 20.04. OpenNMS is an open source network management tool that can be used to see the critical problems of remote devices. It supports many functions like Provisioning, Services Monitoring, Event managing, chart support &#38; many other features. The main [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-opennms-on-ubutnu-20-04/">How To Install OpenNMS On Ubutnu 20.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Today we are going to learn that how to install OpenNMS Network Monitoring Tool on Ubuntu 20.04. OpenNMS is an open source network management tool that can be used to see the critical problems of remote devices. It supports many functions like Provisioning, Services Monitoring, Event managing, chart support &amp; many other features. The main feature is that it operates from the central location &amp; handles unlimited devices. Simply follow the below steps for an easy and optimal installation of OpenNMS on Ubuntu 20.04.</p>



<h2>Step 1: Update Your System</h2>



<p>Make sure that your system is updated before starting the installation.</p>



<pre class="wp-block-preformatted">sudo apt update &amp;&amp; sudo apt upgrade -y</pre>



<p>Reboot your system if needed.</p>



<pre class="wp-block-preformatted">sudo reboot</pre>



<p>And then install the other required packages by typing.</p>



<pre class="wp-block-preformatted">sudo apt install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y</pre>



<p>After resolving the dependencies, move towards the next step.</p>



<h3>Step 2: Install Docker &amp; Docker Compose on Ubuntu 20.04</h3>



<p>To install docker on Ubuntu 20.04, add the repostiory &amp; then install the latest version as latest version is not present on Ubuntu default repository.</p>



<pre class="wp-block-preformatted">curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -<br>add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"</pre>



<p>After adding the repo hit the below command to install the docker &amp; docker compose.</p>



<pre class="wp-block-preformatted">sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose -y</pre>



<p>Verify the status by typing</p>



<pre class="wp-block-preformatted">sabi@Ubuntu20:~$ <strong>sudo systemctl status docker</strong>
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor prese&gt;
Active: active (running) since Tue 2020-12-01 11:24:04 PKT; 23s ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Main PID: 40347 (dockerd)
Tasks: 13
Memory: 48.9M
CGroup: /system.slice/docker.service
└─40347 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/co&gt;
دسمبر 01 11:24:01 Ubuntu20 dockerd[40347]: time="2020-12-01T11:24:01.635102089&gt;
دسمبر 01 11:24:01 Ubuntu20 dockerd[40347]: time="2020-12-01T11:24:01.635109806&gt;
دسمبر 01 11:24:01 Ubuntu20 dockerd[40347]: time="2020-12-01T11:24:01.635117110&gt;
دسمبر 01 11:24:01 Ubuntu20 dockerd[40347]: time="2020-12-01T11:24:01.635344751&gt;
دسمبر 01 11:24:03 Ubuntu20 dockerd[40347]: time="2020-12-01T11:24:03.538423340&gt;
دسمبر 01 11:24:03 Ubuntu20 dockerd[40347]: time="2020-12-01T11:24:03.870371403&gt;
دسمبر 01 11:24:04 Ubuntu20 dockerd[40347]: time="2020-12-01T11:24:04.205068138&gt;
دسمبر 01 11:24:04 Ubuntu20 dockerd[40347]: time="2020-12-01T11:24:04.205249608&gt;
دسمبر 01 11:24:04 Ubuntu20 systemd[1]: Started Docker Application Container En&gt;
دسمبر 01 11:24:04 Ubuntu20 dockerd[40347]: time="2020-12-01T11:24:04.245907850&gt;
lines 1-21/21 (END)</pre>



<p>See the installed version of docker by running</p>



<pre class="wp-block-preformatted">sabi@Ubuntu20:~$ <strong>docker -v</strong>
Docker version 19.03.13, build 4484c46d9d</pre>



<p>For docker compose</p>



<pre class="wp-block-preformatted">sabi@Ubuntu20:~$ <strong>docker-compose -v</strong>
docker-compose version 1.25.0, build unknown</pre>



<h3>Step 3: Install OpenNMS On Ubuntu 20.04</h3>



<p>Run the given command to create a project folder for OpenNMS.</p>



<pre class="wp-block-preformatted">sudo mkdir opennms</pre>



<p>Now, switch to the created directory &amp; create a new docker-compose.yml file in order to install OpenNMS.</p>



<pre class="wp-block-preformatted">cd opennms<br>sudo nano docker-compose.yml</pre>



<p>Paste the below content into the file.</p>



<pre class="wp-block-preformatted">version: '3'
volumes:
data-postgres: {}
data-opennms: {}
services:
database:
image: postgres:12
container_name: database
environment:
- TZ=Europe/Berlin
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- data-postgres:/var/lib/postgresql/data
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 10s
timeout: 30s
retries: 3
horizon:
image: opennms/horizon:26.1.1
container_name: horizon
environment:
- TZ=Europe/Berlin
- POSTGRES_HOST=database
- POSTGRES_PORT=5432
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- OPENNMS_DBNAME=opennms
- OPENNMS_DBUSER=opennms
- OPENNMS_DBPASS=opennms
volumes:
- data-opennms:/opt/opennms/share/rrd
- ./overlay:/opt/opennms-overlay
command: ["-s"]
ports:
- "8980:8980/tcp"
- "8101:8101/tcp"
- "61616:61616/tcp"
healthcheck:
test: [ "CMD", "curl", "-f", "-I", "http://localhost:8980/opennms/login.jsp" ]
interval: 1m
timeout: 5s
retries: 3</pre>



<p>Save &amp; exit the file. Then hit the given command to download &amp; build the container for opennms.</p>



<pre class="wp-block-preformatted">sudo docker-compose up -d</pre>



<p>Check the running container by typing</p>



<pre class="wp-block-preformatted">sudo docker ps -a</pre>



<p>Output:</p>



<pre class="wp-block-preformatted">sabi@Ubuntu20:~/opennms$ <strong>sudo docker ps -a</strong>
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a77e102ae833 opennms/horizon:26.1.1 "/entrypoint.sh -s" 17 minutes ago Up 18 seconds (health: starting) 0.0.0.0:8101-&gt;8101/tcp, 1162/udp, 0.0.0.0:8980-&gt;8980/tcp, 10514/udp, 0.0.0.0:61616-&gt;61616/tcp horizon
c4716857deef postgres:12 "docker-entrypoint.s…" 17 minutes ago Up 19 seconds (healthy) 5432/tcp database</pre>



<h3>Step 4: Accessing OpenNMS Via Web</h3>



<p>Go to your favourite browser and access the OpenNMS by typing <a href="http://your-server-ip:8980">http://your-server-ip:8980</a>. You&#8217;ll see the login page. Provide default credentails to login.</p>



<p>User:<strong>admin</strong><br>Pass:<strong>admin</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="529" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/12/image-6-1024x529.jpg" alt="How To Install OpenNMS On Ubutnu 20.04" class="wp-image-26277" srcset="https://www.osradar.com/wp-content/uploads/2020/12/image-6-1024x529.jpg 1024w, https://www.osradar.com/wp-content/uploads/2020/12/image-6-300x155.jpg 300w, https://www.osradar.com/wp-content/uploads/2020/12/image-6-768x397.jpg 768w, https://www.osradar.com/wp-content/uploads/2020/12/image-6-696x360.jpg 696w, https://www.osradar.com/wp-content/uploads/2020/12/image-6-1068x552.jpg 1068w, https://www.osradar.com/wp-content/uploads/2020/12/image-6.jpg 1262w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>You&#8217;ll be redirected to the dashboard. Now, click on the <strong>&#8220;+&#8221;</strong> icon on the top right side to add new server node(device to be monitored).</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="941" height="662" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/12/image-6.png" alt="How To Install OpenNMS On Ubutnu 20.04" class="wp-image-26278" srcset="https://www.osradar.com/wp-content/uploads/2020/12/image-6.png 941w, https://www.osradar.com/wp-content/uploads/2020/12/image-6-300x211.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/image-6-768x540.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/image-6-696x490.png 696w" sizes="(max-width: 941px) 100vw, 941px" /></figure>



<p>Give it a name &amp; press <strong>&#8220;OK&#8221;</strong>. You&#8217;ll see the similar screen. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="906" height="397" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/12/image-7.png" alt="" class="wp-image-26279" srcset="https://www.osradar.com/wp-content/uploads/2020/12/image-7.png 906w, https://www.osradar.com/wp-content/uploads/2020/12/image-7-300x131.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/image-7-768x337.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/image-7-696x305.png 696w" sizes="(max-width: 906px) 100vw, 906px" /></figure>



<p>Now, fill the required fields to add the new device to be monitored.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="507" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/12/image-8-1024x507.png" alt="" class="wp-image-26280" srcset="https://www.osradar.com/wp-content/uploads/2020/12/image-8-1024x507.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/image-8-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/image-8-768x380.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/image-8-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/image-8-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/image-8.png 1227w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" width="962" height="621" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/12/image-9.png" alt="" class="wp-image-26281" srcset="https://www.osradar.com/wp-content/uploads/2020/12/image-9.png 962w, https://www.osradar.com/wp-content/uploads/2020/12/image-9-300x194.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/image-9-768x496.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/image-9-696x449.png 696w" sizes="(max-width: 962px) 100vw, 962px" /></figure>



<p>You&#8217;ll see a success message once added. Press <strong>&#8220;Ok&#8221;</strong> button </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="343" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/12/image-10-1024x343.png" alt="How To Install OpenNMS On Ubutnu 20.04" class="wp-image-26282" srcset="https://www.osradar.com/wp-content/uploads/2020/12/image-10-1024x343.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/image-10-300x100.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/image-10-768x257.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/image-10-696x233.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/image-10-1068x357.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/image-10.png 1151w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>And  navigate to the <strong>Info&gt;&gt;&gt;Nodes</strong> to see the new device added.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="480" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2020/12/image-11-1024x480.png" alt="How To Install OpenNMS On Ubutnu 20.04" class="wp-image-26283" srcset="https://www.osradar.com/wp-content/uploads/2020/12/image-11-1024x480.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/image-11-300x141.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/image-11-768x360.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/image-11-696x326.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/image-11-1068x501.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/image-11.png 1263w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>So, this is how you can install OpenNMS on Ubuntu 20.04</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-opennms-on-ubutnu-20-04/">How To Install OpenNMS On Ubutnu 20.04</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-opennms-on-ubutnu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
