Getting Started With the CLI Utility
Before you can query your OpenNMS server, you must first configure the command-line tool to know where to find it.
opennms connect --username <your-username> --password <your-password> https://your-opennms-server/opennms
This will store a configuration file that the
opennms command will read automatically when you run it.