diff options
author | Jacob Hansen <jhansen@op5.com> | 2021-04-30 07:38:19 (GMT) |
---|---|---|
committer | Sven Nierlein <sven@nierlein.de> | 2021-04-30 07:57:02 (GMT) |
commit | 40e171b7cdb2262398728aa9b84e747a856d9c1f (patch) | |
tree | 7a5718d61b500889aed768084a845eb98ce97bfb /.github | |
parent | fc71e3f9304ed51f3fd7ca544f38a30a590c8ba5 (diff) | |
download | monitoring-plugins-40e171b7cdb2262398728aa9b84e747a856d9c1f.tar.gz |
Attempt to fix check_users
Signed-off-by: Jacob Hansen <jhansen@op5.com>
Diffstat (limited to '.github')
-rwxr-xr-x | .github/prepare_debian.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh index 4005320..3693acc 100755 --- a/.github/prepare_debian.sh +++ b/.github/prepare_debian.sh | |||
@@ -65,10 +65,12 @@ ssh-keyscan localhost >> ~/.ssh/known_hosts | |||
65 | touch ~/.ssh/config | 65 | touch ~/.ssh/config |
66 | 66 | ||
67 | # start one login session, required for check_users | 67 | # start one login session, required for check_users |
68 | ( ssh -n -tt root@localhost "top" < /dev/null >/dev/null 2>&1 & ) | 68 | #( ssh -n -tt root@localhost "top" < /dev/null >/dev/null 2>&1 & ) |
69 | sleep 1 | 69 | ssh -tt localhost </dev/null >/dev/null 2>/dev/null & |
70 | who | 70 | disown %1 |
71 | ssh root@localhost "top -b -n 1" | 71 | #sleep 1 |
72 | #who | ||
73 | #ssh root@localhost "top -b -n 1" | ||
72 | 74 | ||
73 | # snmpd | 75 | # snmpd |
74 | for DIR in /usr/share/snmp/mibs /usr/share/mibs; do | 76 | for DIR in /usr/share/snmp/mibs /usr/share/mibs; do |