mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-08 16:26:23 -04:00
Attempt to fix check_users
Signed-off-by: Jacob Hansen <jhansen@op5.com>
This commit is contained in:
parent
fc71e3f930
commit
40e171b7cd
1 changed files with 6 additions and 4 deletions
10
.github/prepare_debian.sh
vendored
10
.github/prepare_debian.sh
vendored
|
|
@ -65,10 +65,12 @@ ssh-keyscan localhost >> ~/.ssh/known_hosts
|
|||
touch ~/.ssh/config
|
||||
|
||||
# start one login session, required for check_users
|
||||
( ssh -n -tt root@localhost "top" < /dev/null >/dev/null 2>&1 & )
|
||||
sleep 1
|
||||
who
|
||||
ssh root@localhost "top -b -n 1"
|
||||
#( ssh -n -tt root@localhost "top" < /dev/null >/dev/null 2>&1 & )
|
||||
ssh -tt localhost </dev/null >/dev/null 2>/dev/null &
|
||||
disown %1
|
||||
#sleep 1
|
||||
#who
|
||||
#ssh root@localhost "top -b -n 1"
|
||||
|
||||
# snmpd
|
||||
for DIR in /usr/share/snmp/mibs /usr/share/mibs; do
|
||||
|
|
|
|||
Loading…
Reference in a new issue