• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Opennms on Ubuntu 18.04

{{postValue.id}}

Opennms Installation on Ubuntu 18.04

OpenNMS is a highly integrated, open-source, and enterprise-grade network management system that can be used to monitor and manage numerous devices from a single instance. It checks all services available, isolating problems, collecting performance information, and performing actions that can help to resolve outages.

Installation

Download and Install OpenNMS by using following url.

root@linuxhelp1:~# wget https://github.com/opennms-forge/opennms-install/archive/master.zip

Now extract the downlaod package by using unzip command.

root@linuxhelp1:~# unzip master.zip
Archive: master.zip
33e5138d33912a5ce9faf260a411cc7a20e44ead
creating: opennms-install-master/
extracting: opennms-install-master/.gitignore
inflating: opennms-install-master/LICENSE
inflating: opennms-install-master/README.adoc
inflating: opennms-install-master/bootstrap-debian-dev.sh
inflating: opennms-install-master/bootstrap-debian.sh
inflating: opennms-install-master/bootstrap-yum.sh

After extracting the zip package move inside the extracted directory

root@linuxhelp1:~# cd opennms-install-master
root@linuxhelp1:~/opennms-install-master# bash bootstrap-debian.sh
No LSB modules are available.

This script installs OpenNMS on  your system. It will
install  all  components necessary  to  run  OpenNMS.

The following components will be installed:

 - Oracle Java 8 JDK
 - PostgreSQL Server
 - OpenNMS Repositories
 - OpenNMS with core services and Webapplication
 - Initialize and bootstrapping the database
 - Start OpenNMS

If you have OpenNMS already installed, don't use this script!

If you get any errors during the install procedure please visit the
bootstrap.log where you can find detailed error messages for
diagnose and bug reporting.

Bugs or enhancements can be reported here:

 - https://github.com/opennms-forge/opennms-install/issues -

If you want to proceed, type YES: YES
.
.
.
.

Enter your postfix configuration settings 1 Similarly system mail name 2

Next on configuring opennms-db press “ok” and approve it 3

After this process goes continuously and at last you will get a “congratulations” prompt message 4

After executing the script finish all the remaining insallation by executing the following command

root@linuxhelp1:~/opennms-install-master# /usr/share/opennms/bin/install –dis
.
.
.
  Ignoring: The 'eventParms' column no longer exists
Processing MonitoringLocationsMigratorOffline: Moves monitoring locations from monitoring-locations.xml into the monitoringlocations tables in the database
  Task MonitoringLocationsMigratorOffline has been executed at Tue Aug 28 11:13:54 IST 2018
Processing DataCollectionConfigMigrator17Offline: Fixes the missing resource types on datacollection-config.xml. See NMS-7816.
  Task DataCollectionConfigMigrator17Offline has been executed at Tue Aug 28 11:13:57 IST 2018
Processing EOLServiceConfigMigratorOffline: Fixes service-configuration.xml if necessary when upgrading to 17.0.0: HZN-545
  Task EOLServiceConfigMigratorOffline has been executed at Tue Aug 28 11:13:57 IST 2018
Processing DiscoveryConfigurationMigratorOffline: Removes the 'threads' attribute from discovery-configuration.xml. See HZN-599.
  Task DiscoveryConfigurationMigratorOffline has been executed at Tue Aug 28 11:13:57 IST 2018
Processing MagicUsersMigratorOffline: Moves security roles from magic-users.properties into the users.xml file: HZN-871
  Task MagicUsersMigratorOffline has been executed at Tue Aug 28 11:13:57 IST 2018
Processing DiscoveryConfigurationLocationMigratorOffline: Changes the name for the default location from 'localhost' to 'Default'. See HZN-940.
  Task DiscoveryConfigurationLocationMigratorOffline has been executed at Tue Aug 28 11:13:57 IST 2018

Upgrade completed successfully!

Finally open the port in firewall

root@linuxhelp1:~/opennms-install-master# ufw allow 8980
Rules updated
Rules updated (v6)

Now access the web interface via http://serverip or hostname :8980 Default username and password is admin

5

Now you home page looks like this 6

In order to add new node go to the admin menu and select “Quick-AddNode” 7

Next enter Requisition name followed by IP address snmp setting enabling and surveillance category

8 9 10 11

After running your provision your node gets added successfully 12 View the node details and associated services at 13 Finally overall status view will be like 14 With this, the method to install Opennms on Ubuntu 18.04 comes to an end.

Tags:
jacob
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Is it possible to do SNMPv3 monitoring type in OpenNMS?

A

No, it comes with SNMPv1 and SNMPv2 alone.

Q

Is there any best open source alternative software available with SNMPv3 on OpenNMS?

A

Give a try on Pandora FMS which comes with SNMPv3.

Q

I have configured SNMP but it is not taking effect in OpenNMS?

A

Check whether the SNMP port is open or else enable it.

Q

How Do I Log Out of the webUI in OpenNMS?

A

Once logged in, there is a link in the upper right-hand corner of the screen to log out adjacent to your username.

Q

Is it possible to do SNMPv3 monitoring type in OpenNMS?

A

No, it comes with SNMPv1 and SNMPv2 alone.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help keel johnston ?
Unhide the folders on windows Explorer

Give any solutions to unhide folder using command prompt?

forum3

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.