Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_sftp
2.0
2012-05-19
- Nagios 3.x
219791
File | Description |
---|---|
check_sftp_bin.tar | contains the binaries |
check_sftp_source.tar | contains the source file |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
The package check_sftp_bin.tar contains the binaries (jar files), the
package check_sftp_source.tar contains the source code.
To function properly it needs java (7 or higher). It also needs the Java library jsch (http://www.jcraft.com/jsch/).I included it in the packages (with its license http://www.jcraft.com/jsch/LICENSE.txt).
How it works:
This plug-in creates a text file, with random name, in the temp folder of the Nagios server (you can choose which folder), then it opens the sftp connection with the remote server that you want to check, transfers the text file from the Nagios server to the sftp server and finally it deletes the text file from the sftp server and from the local server.
If everything goes well the plug-in will return a message ok, otherwise it will return a message critical. In any case, it returns the performance data.
You can find instructions on how to install the plug-in (and how to configure Nagios) in the README.txt (included in the packages).
EDIT ON 05/19/2012:
Now you can change the sftp directory before put the tmp_file. You can also set warning and critical values for the transfer time
For any questions or concerns please contact me: http://www.alan-pipitone.com/contact.php
Alan Pipitone.
http://www.alan-pipitone.com/
package check_sftp_source.tar contains the source code.
To function properly it needs java (7 or higher). It also needs the Java library jsch (http://www.jcraft.com/jsch/).I included it in the packages (with its license http://www.jcraft.com/jsch/LICENSE.txt).
How it works:
This plug-in creates a text file, with random name, in the temp folder of the Nagios server (you can choose which folder), then it opens the sftp connection with the remote server that you want to check, transfers the text file from the Nagios server to the sftp server and finally it deletes the text file from the sftp server and from the local server.
If everything goes well the plug-in will return a message ok, otherwise it will return a message critical. In any case, it returns the performance data.
You can find instructions on how to install the plug-in (and how to configure Nagios) in the README.txt (included in the packages).
EDIT ON 05/19/2012:
Now you can change the sftp directory before put the tmp_file. You can also set warning and critical values for the transfer time
For any questions or concerns please contact me: http://www.alan-pipitone.com/contact.php
Alan Pipitone.
http://www.alan-pipitone.com/
Reviews (2)
bysbrown, November 25, 2020
This plug-in creates a file and sends it to an SFTP server. Apparently, it's sending it to the root directory. For us, this gives us a "Permission denied" error. If we could specify the directory that the file will be sent to, we might be able to get past the error message. I was unable to contact the developer due to an error on his contact page.