With OpenNMS up and running, you now need to have it discover all of your network assets. Find out how.
OpenNMS is an open source network monitoring and managing tool, that is sure to please any admin. It's powerful, it's flexible, and with your ever-growing network responsibilities, it should be considered a necessity.
Once you have OpenNMS up and running (see "How to install OpenNMS network manager on Ubuntu 18.04"), one of your first tasks will be to have it run a full network discovery. If you don't opt to go the full network discovery route, you'll have to manually enter each asset by IP address. That is in no way an efficient means of making OpenNMS aware of your network-attached devices. But how do you run a full network discovery? I'm going to show you.
SEE: Hiring kit: Database administrator (TechRepublic Premium)
What you'll need
The only things you'll need to make this happen are a working instance of OpenNMS and assets to be discovered on your network. With those things at the ready, let's discover.
How to configure the discovery with OpenNMS
The easiest method of locating assets on your network is to ping every possible IP address via the OpenNMS Discovery Daemon. To set this up, first log in to your OpenNMS dashboard as an admin user. Once on the Dashboard, click the Admin drop-down and select Configure OpenNMS (Figure A).
From the Configuration window, click Configure Discovery, under Provisioning (Figure B).
From within the Configure Discovery window, click Add New in the Include Ranges section. In the resulting popup window (Figure C), type the lowest range of your IP address scheme (such as 192.168.1.0) in the Begin IP Address section and the highest range of your IP address scheme (such as 192.168.1.220) in the End IP Address section. Click Add to save the range.
Once you've saved the range, click the Save And Restart Discover button at the top of the Discovery page. OpenNMS will automatically begin locating assets on your network. It should take about five minutes for the discovery to complete, depending on how many devices are on your network. After you've given it time to run, click the Info drop-down (at the top of the OpenNMS page) and click Nodes. You should now see a listing of devices OpenNMS has discovered (Figure D).
Click on any one of those nodes to view and/or manage it.
Congratulations, OpenNMS is now aware of every available asset on your network. You don't have to enter them manually, one at a time. Enjoy managing your devices with this powerful open source network management tool.
- How to become a database administrator: A cheat sheet (TechRepublic)
- 10 things companies are keeping in their own data centers (TechRepublic download)
- How to perform security audits on Ubuntu server with OpenSCAP (TechRepublic)
- How to install DotNet Core on Ubuntu 18.04 (TechRepublic)
- How to install a CockroachDB cluster on Ubuntu 18.04 (TechRepublic)
- How to set up a Ruby on Rails development environment with Docker (TechRepublic)
- What is edge computing? Here's why the edge matters and where it's headed (ZDNet)
- Best cloud services for small businesses (CNET)
- DevOps: More must-read coverage (TechRepublic on Flipboard)