Forgot to define remote user for procs probe
This commit is contained in:
parent
348157cb77
commit
0d29f3cde8
|
@ -11,6 +11,7 @@ red Tue Aug 21 13:29:28 CEST 2018 - Processes NOT ok
|
||||||
&green Fail2Ban (found 1, req. between 1 and 1)
|
&green Fail2Ban (found 1, req. between 1 and 1)
|
||||||
&red tftpd-hpa (found 0, req. between 1 and 1)
|
&red tftpd-hpa (found 0, req. between 1 and 1)
|
||||||
&yellow ARPwatch (found 0, req. between 1 and 1)
|
&yellow ARPwatch (found 0, req. between 1 and 1)
|
||||||
|
&red Jenkins (found 0, req. between 1 and 5)
|
||||||
|
|
||||||
PID PPID USER STARTED S PRI %CPU TIME %MEM RSZ VSZ CMD
|
PID PPID USER STARTED S PRI %CPU TIME %MEM RSZ VSZ CMD
|
||||||
1 0 root 11:43:19 S 19 0.0 00:00:00 0.7 7816 69724 /sbin/init
|
1 0 root 11:43:19 S 19 0.0 00:00:00 0.7 7816 69724 /sbin/init
|
||||||
|
|
|
@ -31,6 +31,8 @@
|
||||||
# Vars {{{
|
# Vars {{{
|
||||||
DEBUG=1
|
DEBUG=1
|
||||||
|
|
||||||
|
REMOTE_SSH_USER="xymon-ssh"
|
||||||
|
|
||||||
temp_dir=$(mktemp -d -t xymon-procs-alert-XXXXXX.tmp)
|
temp_dir=$(mktemp -d -t xymon-procs-alert-XXXXXX.tmp)
|
||||||
debug_stdout="${temp_dir}/debug.stdout"
|
debug_stdout="${temp_dir}/debug.stdout"
|
||||||
debug_stderr="${temp_dir}/debug.stderr"
|
debug_stderr="${temp_dir}/debug.stderr"
|
||||||
|
|
Loading…
Reference in New Issue