-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f051e92
commit f21eabf
Showing
4 changed files
with
62 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,25 +27,9 @@ Features | |
|
||
:: | ||
|
||
usage: rsync-watch.py [-h] [--host-name HOST_NAME] | ||
[--dest-user-group USER_GROUP_NAME] [--exclude EXCLUDE] | ||
[--rsync-args RSYNC_ARGS] | ||
[--action-check-failed {exception,skip}] | ||
[--check-file FILE_PATH] [--check-ping DESTINATION] | ||
[--check-ssh-login SSH_LOGIN] [-v] | ||
[--email-from-addr EMAIL_FROM_ADDR] | ||
[--email-to-addr EMAIL_TO_ADDR] | ||
[--email-to-addr-critical EMAIL_TO_ADDR_CRITICAL] | ||
[--email-smtp-login EMAIL_SMTP_LOGIN] | ||
[--email-smtp-password EMAIL_SMTP_PASSWORD] | ||
[--email-smtp-server EMAIL_SMTP_SERVER] | ||
[--nsca-remote-host NSCA_REMOTE_HOST] | ||
[--nsca-password NSCA_PASSWORD] | ||
[--nsca-encryption-method NSCA_ENCRYPTION_METHOD] | ||
[--nsca-port NSCA_PORT] [--icinga-url ICINGA_URL] | ||
[--icinga-user ICINGA_USER] | ||
[--icinga-password ICINGA_PASSWORD] | ||
[--beep-activated BEEP_ACTIVATED] | ||
usage: rsync-watch.py [-h] [--host-name HOST_NAME] [--dest-user-group USER_GROUP_NAME] [--exclude EXCLUDE] | ||
[--rsync-args RSYNC_ARGS] [--action-check-failed {exception,skip}] [--check-file FILE_PATH] | ||
[--check-ping DESTINATION] [--check-ssh-login SSH_LOGIN] [-v] | ||
src dest | ||
|
||
A Python script to monitor the execution of a rsync task. | ||
|
@@ -59,12 +43,10 @@ Features | |
--host-name HOST_NAME | ||
The hostname to submit over NSCA to the monitoring. | ||
--dest-user-group USER_GROUP_NAME | ||
Both the user name and the group name of the | ||
destination will be set to this name. | ||
Both the user name and the group name of the destination will be set to this name. | ||
--exclude EXCLUDE See the documention of --exclude in the rsync manual. | ||
--rsync-args RSYNC_ARGS | ||
Rsync CLI arguments. Insert some rsync command line | ||
arguments. Wrap all arguments in one string, for | ||
Rsync CLI arguments. Insert some rsync command line arguments. Wrap all arguments in one string, for | ||
example: --rsync-args '--exclude "this folder"' | ||
-v, --version show program's version number and exit | ||
|
||
|
@@ -76,59 +58,9 @@ Features | |
--check-file FILE_PATH | ||
Check if a file exists on the local machine. | ||
--check-ping DESTINATION | ||
Check if a remote host is reachable by pinging. | ||
DESTINATION can a IP address or a host name or a full | ||
Check if a remote host is reachable by pinging. DESTINATION can a IP address or a host name or a full | ||
qualified host name. | ||
--check-ssh-login SSH_LOGIN | ||
Check if a remote host is reachable over the network | ||
by SSHing into it. SSH_LOGIN: “[email protected]” or | ||
Check if a remote host is reachable over the network by SSHing into it. SSH_LOGIN: “[email protected]” or | ||
“[email protected]” or “example.com”. | ||
|
||
email: | ||
Generated by the config_reader. | ||
|
||
--email-from-addr EMAIL_FROM_ADDR | ||
The email address of the sender. | ||
--email-to-addr EMAIL_TO_ADDR | ||
The email address of the recipient. | ||
--email-to-addr-critical EMAIL_TO_ADDR_CRITICAL | ||
The email address of the recipient to send critical | ||
messages to. | ||
--email-smtp-login EMAIL_SMTP_LOGIN | ||
The SMTP login name. | ||
--email-smtp-password EMAIL_SMTP_PASSWORD | ||
The SMTP password. | ||
--email-smtp-server EMAIL_SMTP_SERVER | ||
The URL of the SMTP server, for example: | ||
`smtp.example.com:587`. | ||
|
||
nsca: | ||
Generated by the config_reader. | ||
|
||
--nsca-remote-host NSCA_REMOTE_HOST | ||
The IP address of the NSCA remote host. | ||
--nsca-password NSCA_PASSWORD | ||
The NSCA password. | ||
--nsca-encryption-method NSCA_ENCRYPTION_METHOD | ||
The NSCA encryption method. The supported encryption | ||
methods are: 0 1 2 3 4 8 11 14 15 16 | ||
--nsca-port NSCA_PORT | ||
The NSCA port. | ||
|
||
icinga: | ||
Generated by the config_reader. | ||
|
||
--icinga-url ICINGA_URL | ||
The HTTP URL. /v1/actions/process-check-result is | ||
appended. | ||
--icinga-user ICINGA_USER | ||
The user for the HTTP authentification. | ||
--icinga-password ICINGA_PASSWORD | ||
The password for the HTTP authentification. | ||
|
||
beep: | ||
Generated by the config_reader. | ||
|
||
--beep-activated BEEP_ACTIVATED | ||
Activate the beep channel to report auditive messages. | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters