LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-15-2014, 01:13 AM   #1
kulpreet11
LQ Newbie
 
Registered: Dec 2010
Posts: 23

Rep: Reputation: 0
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
 
Old 09-16-2014, 09:39 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by kulpreet11 View Post
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to configure chroot SFTP in Linux LXer Syndicated Linux News 0 07-20-2014 02:20 PM
Nagios - Can I configure Nagios to do this? jprosiak Linux - Newbie 1 07-15-2011 10:52 AM
How to configure sftp in RHEL3 or RHEL4 sathu_santy Linux - Server 3 07-16-2010 01:28 PM
Trying to configure a SFTP server on Fedora 10... d3adpoetic Linux - Newbie 15 03-14-2010 10:15 PM
FC3 : Failing to configure a chrooted sftp gmuller Linux - Software 3 06-28-2005 01:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration