mirror of
https://github.com/ThunixdotNet/monurbox.git
synced 2026-01-24 12:00:19 +00:00
Update 'checks/sshd'
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
export SITE=$1
|
||||
|
||||
ssh $SITE "bash -s" < ./plugins/check_proc sshd > /dev/null
|
||||
./plugins/check_proc sshd > /dev/null
|
||||
if [ $? -ne "0" ]
|
||||
then
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user