Hi Massimiliano, Thanks you every thing. I will do some contribution for this project. Thanks, Sidath
I don't have a deadline for the new release. It will be released when all the issues in the milestone ( https://github.com/ziccardi/jnrpe/issues?q=is%3Aopen+is%3Aissue+milestone%3A2.1.0) will be resolved. If you'd like to contribute to some of them, that could speed up the process. Cheers, Massimiliano Il giorno sab 9 mar 2019 alle ore 13:21 Sidath Weerasinghe sidath1993@users.sourceforge.net ha scritto: Hi Massimiliano, Thank you so much. Its work fine. When is the official release. Executing JNRPE...
Hi Massimiliano, Thank you so much. Its work fine. When is the official release.
Call enableWeakCipherSuites() before sending the request Il Ven 8 Mar 2019, 19:22 Sidath Weerasinghe sidath1993@users.sourceforge.net ha scritto: Hi Massimiliano, I tried with your new code. But still issue is there. nrpe logs - Mar 8 18:16:48 ip-172-31-88-175 nrpe[13809]: CONN_CHECK_PEER: checking if host is allowed: 112.134.84.71 port 19645 Mar 8 18:16:48 ip-172-31-88-175 nrpe[13809]: is_an_allowed_host (AF_INET): is host >112.134.84.71< an allowed host >112.134.84.71< Mar 8 18:16:48 ip-172-31-88-175...
Hi Massimiliano, I tried with your new code. But still issue is there. nrpe logs - Mar 8 18:16:48 ip-172-31-88-175 nrpe[13809]: CONN_CHECK_PEER: checking if host is allowed: 112.134.84.71 port 19645 Mar 8 18:16:48 ip-172-31-88-175 nrpe[13809]: is_an_allowed_host (AF_INET): is host >112.134.84.71< an allowed host >112.134.84.71< Mar 8 18:16:48 ip-172-31-88-175 nrpe[13809]: is_an_allowed_host (AF_INET): is host >112.134.84.71< an allowed host >112.134.84.71< Mar 8 18:16:48 ip-172-31-88-175 nrpe[13809]:...
Hi Sidath, code in https://github.com/ziccardi/jnrpe/pull/33 seems to work, it would be nice if you could give it a try and see if it works for you. In the meantime, I'm adding integration tests to check that everything works as expected. Cheers, Massimiliano Il giorno ven 8 mar 2019 alle ore 10:43 Massimiliano Ziccardi dottzero@users.sourceforge.net ha scritto: Hi Sidath, of course! I created this issue: https://github.com/ziccardi/jnrpe/issues/32 you can follow/comment the development at https://github.com/ziccardi/jnrpe/pull/33...
Hi Sidath, of course! I created this issue: https://github.com/ziccardi/jnrpe/issues/32 you can follow/comment the development at https://github.com/ziccardi/jnrpe/pull/33 Regards, Massimiliano Il giorno ven 8 mar 2019 alle ore 09:19 Sidath Weerasinghe sidath1993@users.sourceforge.net ha scritto: Hi Massimiliano, Thank you so much. I am wating for new release of JNRPEClient. Please let me know the when is the new release is ? Executing JNRPE Plugin from java code. https://sourceforge.net/p/jnrpe/discussion/730635/thread/d6801409/?limit=25#d3fb...
Hi Massimiliano, Thank you so much. I am wating for new release of JNRPEClient. Please let me know the when is the new release is ?
Hi Sidath, I did some investigation. Currently JNRPEClient does not work with your version of NRPE because a new version of the NRPE protocol has been released (version 3). The released version of JNRPEClient supports only protocol version 2. I'm working now on adding the new protocol version support. Cheers, Massimiliano Il giorno mar 5 mar 2019 alle ore 17:20 Sidath Weerasinghe sidath1993@users.sourceforge.net ha scritto: Hi Massimiliano, As per the above comment I added that paramerter and then...
Hi Massimiliano, As per the above comment I added that paramerter and then I got bellow error. ret = client.sendCommand("check_disk", "-a","/tmp",":100000",":50000"); Application error - it.jnrpe.client.JNRPEClientException: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at it.jnrpe.client.JNRPEClient.sendCommand(JNRPEClient.java:169) at com.example.lk.scaler.Client.main(Client.java:33) Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection...
Hi Sidath Please change the sendCommand to ret = client.sendCommand("check_disk", "-a","/tmp",":100000",":50000"); // you didn't pass the '-a' parameter in your code. If you still have errors, send me the NRPE logs to see what happens on that side Il giorno mar 5 mar 2019 alle ore 05:05 Sidath Weerasinghe sidath1993@users.sourceforge.net ha scritto: Hi Massimiliano, I change the code according to the comment as follows JNRPEClient client = new JNRPEClient("...", 5666, true); Now im getting below...
Hi Massimiliano, I change the code according to the comment as follows JNRPEClient client = new JNRPEClient("*.*.*.*", 5666, true); Now im getting below error. it.jnrpe.client.JNRPEClientException: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at com.example.lk.scaler.JNRPEClient.sendCommand(JNRPEClient.java:208) at com.example.lk.scaler.JNRPEClient.main(JNRPEClient.java:404) Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during...
By looking at your example, I see that you run check_nrpe using SSL (no -n parameter), while you ask JNRPEClient to not use SSL. Change the constructor parameter to true to enable SSL: that should fix your issue. Il Lun 4 Mar 2019, 20:10 Sidath Weerasinghe sidath1993@users.sourceforge.net ha scritto: Hi Massimiliano, 1 . <dependency> <groupid>net.sf.jnrpe</groupid> <artifactid>jcheck_nrpe</artifactid> <version>2.0.3-RC5</version> </dependency> 2. it.jnrpe.client.JNRPEClientException: java.io.EOFException...
Hi Massimiliano, 1 . <dependency> <groupId>net.sf.jnrpe</groupId> <artifactId>jcheck_nrpe</artifactId> <version>2.0.3-RC5</version> </dependency> 2. it.jnrpe.client.JNRPEClientException: java.io.EOFException at it.jnrpe.client.JNRPEClient.sendCommand(JNRPEClient.java:169) at at com.example.lk.scaler.Client.main(Client.java:33) Caused by: java.io.EOFException at java.io.DataInputStream.readShort(DataInputStream.java:315) at it.jnrpe.net.JNRPEProtocolPacket.fromInputStream(JNRPEProtocolPacket.java:149)...
Hi Sidath. Can you give me more details of your error? 1) JNRPE version you are using 2) The stacktrace 3) check_nrpe command you are executing 4) Java version Regards, Massimiliano Il giorno sab 2 mar 2019 alle ore 20:14 Sidath Weerasinghe sidath1993@users.sourceforge.net ha scritto: I am getting it.jnrpe.client.JNRPEClientException: java.io.EOFException for above code. Any idea for solve this? Executing JNRPE Plugin from java code. https://sourceforge.net/p/jnrpe/discussion/730635/thread/d6801409/?limit=25#421a...
I am getting it.jnrpe.client.JNRPEClientException: java.io.EOFException for above code. Any idea for solve this?
Hi Tejas! I will give a look into the error you got from the installer, however it should not create any issue to you. To be able to query JNRPE you can use the jnrpe client both as a command line tool and as a library to be embedded into your app. An example usage of the jnrpe client library can be found here: https://github.com/ziccardi/jnrpe/blob/master/jcheck_nrpe/src/main/java/it/jnrpe/client/JNRPEClient.java#L411 Let me know if you need any more help. Regards, Massimiliano 2018-01-02 12:29...
Hello Team, I need tutorials to create custom plugin . Please provide.
I know its very basic question. But please guide me. I have downloaded jnrpe-server-install-2.0.5.jar . Following are some queries. 1] How to install server on windows machine. What I tried I double click on jar , Could not find the main class Program Exit error reported Then I tried using command prompt following error occured C:\old data\C\tejas sawant\Softwares\Nagious\JNRPE>java -jar jnrpe-server-install-2.0.5.jar Jan 2, 2018 4:53:49 PM INFO: Logging initialized at level 'INFO' Jan 2, 2018 4:53:49...
And how does your jnrpe.ini look like?
I face the same issue with jnrpe-server-2.0.5 and jnrpe-plugins-0.7.5, I do not see...
Hi Vishnu, can you please try using the latest JNRPE version (2.0.5) ? I tried a...
Hello All, I am also in the same situation. I followed the exact same steps in http://www.jnrpe.it/cms/index.php/tutorials/nagios/jnrpe/7-creating-plugins-with-java-part1?showall=&start=2....
Hello all, I'm using jnrpe in my project so I add a plugin in /usr/local/JNRPE/plugins/base...
Hello to All , I'm Trying to send NRPE Requests wiht the JNRPEClient to the NSClient++...
Ok, I solved it by myself. I still don´t know why, but I just needed to specify the...
Hi, I built my java plugin and everything works fine with JNRPE interactive. I can...
Hi, I built my java plugin and everything works fine with JNRPE interactive. I can...
Hi, I built my java plugin and everything works fine with JNRPE interactive. I can...
Hi, I built my java plugin and everything works fine with JNRPE interactive. I can...
Hi, I built my java plugin and everything works fine with JNRPE interactive. I can...
Hi, I built my java plugin and everything works fine with JNRPE interactive. I can...
Ok, thank you very much! I meant (for example) W>30 C>50. I just didn´t find that...
What do you mean by 'max threshold'? You can use two type of threshold (the legacy...
Hi, is there a way to set a threshold as a max threshold (and not min, as in the...
Hi Robert, here the answers to your question. Can the JNRPE and the original NRPE...
Hello Everyone, I want to find out the following: 1. Can the JNRPE and the original...
I want to find out the following: 1. Can the JNRPE and the original NRPE run together?...
Thank you very much! I will fix it as soon as possible! About contributing to the...
Found the old reference to SSL: http://jnrpe.sourceforge.net/server.html •bind-address...
I can no longer find the documentation referencing the old ",ssl" method. I may want...
ERROR! The markdown supplied could not be parsed correctly. Did you forget to surround...
Hi, I installed Nagios on a PC (Manager) and JNRPE (Client) on another. I ran some...
Hi, I installed Nagios on a PC (Manager) and JNRPE (Client) on another. I ran some...
You can find the tests inside the jnrpe-plugins source code. The one I mention is...
We can use in the data center only this port. It would take too much time to reconfigur...
For HTTPS, you can use check_http plugin with the --ssl option. Reference here: ...
Yes, you can. Give a look at the CheckDiskTest to see how to invoke a plugin by code:...
Hello, it is possible run JNRPE plugins without the JNRPE server. Especially I would...
check_http with no alternative subject in certificate
I hope I did everything right. https://sourceforge.net/p/jnrpe/bugs/22/
check_http with no alternative subject in certificate
Hi, can you fire a bug? We will fix it for the next release (it should be ready by...
Do you know a way that does not require recompiling.
Hello The quickest solution for you would be to override the CheckHttp plugin and...
Hello Guys, we are experimenting with jnrpe and got some trouble with the check_http...
Unfortunately, the read timeout errors still persist. I will do some more tests,...
Hi, please, give a look at the jnrpe_plugins tests. You will find lot of examples...
ERROR! The markdown supplied could not be parsed correctly. Did you forget to surround...
Hi guys, i'am new in jnrpe and even marven. I just created your check_disk plugin...
CHECK_JMX: problems with decimal thresholds
Reading through other similar problems, it looks like this is a problem related to...
Hello folks, Lets see if you can give me some insights here. I have few plugins that...