LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to configure SFTP in Nagios (https://www.linuxquestions.org/questions/linux-server-73/how-to-configure-sftp-in-nagios-4175518777/)

kulpreet11 09-15-2014 01:13 AM

How to configure SFTP in Nagios
 
Hi,

I want to configure SFTP on nagios, i have downloaded a check_sftp jar file and tried putting it in libraries of nagios and then configure in commands.cfg and then in my services file.

But it is throwing an exception may be i have not configured it correctly.
(No output on stdout) stderr: Exception in thread "main" java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException

Please suggest.

Thanks
Kulpreet

TB0ne 09-16-2014 09:39 AM

Quote:

Originally Posted by kulpreet11 (Post 5238214)
Hi,
I want to configure SFTP on nagios, i have downloaded a check_sftp jar file and tried putting it in libraries of nagios and then configure in commands.cfg and then in my services file.

But it is throwing an exception may be i have not configured it correctly.
(No output on stdout) stderr: Exception in thread "main" java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException

Much like your other thread, you don't say where you got this jar file, or what you've done to configure it, so we can't tell you much. If you mean this:
http://exchange.nagios.org/directory...k_sftp/details

...there is a README file with installation instructions and system requirements. Did you follow them?


All times are GMT -5. The time now is 09:47 AM.