diff --git a/xymon/sample.messages/procs.alert b/xymon/sample.messages/procs.alert index cc7d831..186475d 100644 --- a/xymon/sample.messages/procs.alert +++ b/xymon/sample.messages/procs.alert @@ -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) &red tftpd-hpa (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 1 0 root 11:43:19 S 19 0.0 00:00:00 0.7 7816 69724 /sbin/init diff --git a/xymon/xymon.procs.alert.sh b/xymon/xymon.procs.alert.sh index 9a7c9a2..9729190 100755 --- a/xymon/xymon.procs.alert.sh +++ b/xymon/xymon.procs.alert.sh @@ -31,6 +31,8 @@ # Vars {{{ DEBUG=1 +REMOTE_SSH_USER="xymon-ssh" + temp_dir=$(mktemp -d -t xymon-procs-alert-XXXXXX.tmp) debug_stdout="${temp_dir}/debug.stdout" debug_stderr="${temp_dir}/debug.stderr"