Re: Error: Could not find or load main class org.opennms.netmgt.poller.nrpe.CheckNrpe
Jonathan Heard <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Thanh, Â You've got the wrong jar file... My version is different from yours but this example should get you to the right place if you just change the version number to match yours: java -cp org.opennms.features.poller.monitors.core-20.0.2.jar org.opennms.netmgt.poller.monitors.nrpe.CheckNrpe -h Usage: java CheckNrpe -H <host> [-p <port>] [-P <padding>] \ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â [-t <timeout>] [-c <command>] [-a <arglist ...>] Note: if the -a option is specified it *must* be the last option HTH Jonathan On 15/11/17 09:28, Dinh-Thanh Ngo wrote: > Hi everyone, > I have execute below the command and get Error see below > java -cp opennms-services-20.1.0.jar > org.opennms.netmgt.poller.nrpe.CheckNrpe -t 1 -HÂ xxx.xxx.xxxx.xxxx -c > _NRPE_CHECK > Error: Could not find or load main class > org.opennms.netmgt.poller.nrpe.CheckNrpe > has everyone idea about problem > Thanks > Thanh > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > _______________________________________________ > Please read the OpenNMS Mailing List FAQ: > http://www.opennms.org/index.php/Mailing_List_FAQ > > opennms-discuss mailing list > > To *unsubscribe* or change your subscription options, see the bottom of this page: > https://lists.sourceforge.net/lists/listinfo/opennms-discuss ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-discuss mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss