Compare commits
No commits in common. "master" and "v0.5" have entirely different histories.
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
*~
|
|
|
@ -5,10 +5,6 @@ All notable changes to rattail-shinken will be documented in this file.
|
||||||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
||||||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [0.6] - 2019-10-14
|
|
||||||
### Changed
|
|
||||||
- Add the `check_systemd_service` command.
|
|
||||||
|
|
||||||
## [0.5] - 2018-12-12
|
## [0.5] - 2018-12-12
|
||||||
### Changed
|
### Changed
|
||||||
- Add `check_supervisor_process` command.
|
- Add `check_supervisor_process` command.
|
||||||
|
|
|
@ -108,11 +108,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
# Ok now connect, and try to get values for memory
|
# Ok now connect, and try to get values for memory
|
||||||
client = schecks.connect(hostname, port, ssh_key_file, passphrase, user)
|
client = schecks.connect(hostname, port, ssh_key_file, passphrase, user)
|
||||||
result = execute_check(client, check_path)
|
result, exitcode = execute_check(client, check_path)
|
||||||
if result is False:
|
|
||||||
print("failed to execute remote check!")
|
print result
|
||||||
sys.exit(3)
|
sys.exit(exitcode)
|
||||||
else:
|
|
||||||
output, exitcode = result
|
|
||||||
print(output)
|
|
||||||
sys.exit(exitcode)
|
|
||||||
|
|
|
@ -9,8 +9,3 @@ define command {
|
||||||
command_name check_supervisor_process
|
command_name check_supervisor_process
|
||||||
command_line $PLUGINSDIR$/check_rattail_daemon_by_ssh.py -H $HOSTADDRESS$ -p $_HOSTSSH_PORT$ -u $_HOSTSSH_USER$ -i $_HOSTSSH_KEY$ -P "$_HOSTSSH_KEY_PASSPHRASE$" -r "check-supervisor-process $ARG1$"
|
command_line $PLUGINSDIR$/check_rattail_daemon_by_ssh.py -H $HOSTADDRESS$ -p $_HOSTSSH_PORT$ -u $_HOSTSSH_USER$ -i $_HOSTSSH_KEY$ -P "$_HOSTSSH_KEY_PASSPHRASE$" -r "check-supervisor-process $ARG1$"
|
||||||
}
|
}
|
||||||
|
|
||||||
define command {
|
|
||||||
command_name check_systemd_service
|
|
||||||
command_line $PLUGINSDIR$/check_rattail_daemon_by_ssh.py -H $HOSTADDRESS$ -p $_HOSTSSH_PORT$ -u $_HOSTSSH_USER$ -i $_HOSTSSH_KEY$ -P "$_HOSTSSH_KEY_PASSPHRASE$" -r "check-systemd-service $ARG1$"
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "rattail",
|
"name": "rattail",
|
||||||
"types": ["pack"],
|
"types": ["pack"],
|
||||||
"version": "0.6",
|
"version": "0.5",
|
||||||
"homepage": "https://rattailproject.org/",
|
"homepage": "https://rattailproject.org/",
|
||||||
"author": "Lance Edgar",
|
"author": "Lance Edgar",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
|
|
Loading…
Reference in a new issue