![]() Next, run the OpenNMS Installer which will initialize the database and detect system libraries persisted in /opt/opennms/etc/libraries.properties. Run the following command to detect the Java environment and persist in the /opt/opennms/etc/nf configuration file. Set Credentials Access in PostgreSQL Step 4: Initialize and start OpenNMS HorizonĪt this point, you need to integrate the default version of Java with OpenNMS Horizon. Then set credentials to access the PostgreSQL database. # vim /opt/opennms/etc/opennms-datasources.xml Open the /opt/opennms/etc/opennms-datasources.xml configuration file to set credentials to access the PostgreSQL database you created above. Next, you need to configure database access in OpenNMS Horizon. host all all 127.0.0.1/32 md5Īpply configuration changes for PostgreSQL. # vi /var/lib/pgsql/data/pg_hba.confįind the following lines and change the authentication method to md5 to allow OpenNMS Horizon accessing the database over the local network with a MD5 hashed password. Next, you need to modify the access policy for PostgreSQL in the /var/lib/pgsql/data/pg_hba.conf configuration file. $ psql -c "ALTER USER postgres WITH PASSWORD 'admin123' " ![]() Now create access to PostgreSQL by switching to the postgres user account, then access the postgres shell and create an opennms database user with a password and create an opennms database which is owned by the user opennms as follows. Next, start the PostgreSQL service for now and enable it to auto-start at system boot time, and check its status. Now you need to Initialize the PostgreSQL database. Once opennms meta packages are installed, you can verify them in the /opt/opennms using the following commands. Then install the opennms meta package together with all built-in dependencies such as jicmp6 and jicmp, opennms-core, opennms-webapp-jetty, postgresql and postgresql-libs. To install OpenNMS Horizon, add the yum repository and the import GPG key. Now set the Java environment variable for all users on boot time, by adding the following line in /etc/profile file. Once the Java installed, you can verify the version of Java on your system using the following command. We will install the latest OpenJDK Java 11 version using the following yum command. The first step is to install Java and its environment on your system, as OpenNMS Horizon requires at least Java 8 or higher version. Step1: Installing Java and Setting JAVA_HOME In this article, we will explain how to install and setup the latest OpenNMS Horizon network service monitoring software in RHEL and CentOS 7.x releases. Minimal Hardware: 2 CPU, 2 GB RAM, 20 GB disk.Operating System: Red Hat Enterprise Linux 7 or CentOS 7.A provisioning system to discover your network and applications through manual, detected, or ReST API driven interfaces.Supports topology discovery based on SNMP information from industry standards such as LLDP, CDP and Bridge-MIB discovery.Allows for easy integration to extend service polling and performance data collection frameworks.Supports the collection of performance metrics from industry standard agents via SNMP, JMX, WMI, NRPE, NSClient++ and XMP simply through configuration.It’s built on an event-driven architecture.It supports device and application monitoring.Read Also: Install OpenNMS Network Monitoring in Debian and Ubuntu OpenNMS Features: It’s an enterprise-grade network service management platform currently being used for managing telecom and enterprise networks around the world. OpenNMS (or OpenNMS Horizon) is a free and open source, scalable, extensible, highly configurable and cross-platform network monitoring and network management platform built using Java.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |