Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pepabo/check-ftp
FTP connection check plugin for mackerel.io agent. support FTPS.
https://github.com/pepabo/check-ftp
Last synced: about 1 month ago
JSON representation
FTP connection check plugin for mackerel.io agent. support FTPS.
- Host: GitHub
- URL: https://github.com/pepabo/check-ftp
- Owner: pepabo
- License: mit
- Created: 2019-08-04T15:04:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-11T03:11:17.000Z (about 1 year ago)
- Last Synced: 2024-06-21T02:58:03.037Z (7 months ago)
- Language: Go
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# check-ftp
[![Build Status](https://cloud.drone.io/api/badges/ch1aki/check-ftp/status.svg)](https://cloud.drone.io/ch1aki/check-ftp)
FTP connection check plugin for mackerel.io agent.
## Synopsis
```
check-ftp -H ftp.example.com -P 21 -w 3 -c 5 -t 10
```## Setting for mackerel-agent
If there are no problems in the execution result, add a setting in mackerel-agent.conf .
```
[plugin.checks.check-ftp-sample]
command = ["check-ftp", "-H", "ftp.example.com", "-P", "21", "-w", "3", "-c", "5", "-t", "10"]
```## Usage
### Options```
-H, --host= Hostname (default: localhost)
-P, --port= Port (default: 21)
-u, --user= FTP username (default: anonymous)
-p, --password= FTP password (default: anonymous)
-w, --warning= Warning threshold (sec)
-c, --critical= Critical threshold (sec)
-t, --timeout= Timeout (sec) (default: 10)
-s, --ftps Use FTPS
-i, --implicit-mode Connects directly using TLS
--no-check-certificate Do not check certificate
```