Add Netdata service and purge vars for test
This commit is contained in:
parent
4c8645288c
commit
180e5ddabd
|
@ -21,25 +21,6 @@ DEBUG=0
|
|||
LOCAL_SSH_USER="xymon"
|
||||
REMOTE_SSH_USER="xymon-ssh"
|
||||
|
||||
BBHOSTNAME="HOST.DOMAIN.ORG"
|
||||
BBSVCNAME="libs"
|
||||
BBALPHAMSG="HOST.DOMAIN.ORG:libs yellow [0]
|
||||
yellow Thu Aug 16 16:41:56 2018 - libs NOT ok
|
||||
&yellow Machine should be rebooted. Running not the newest installed kernel:
|
||||
|
||||
Running kernel: 4.9.0-7-amd64, version #1 SMP Debian 4.9.110-3+deb9u1 (2018-08-03)
|
||||
Newest installed kernel: 4.9.0-7-amd64, version #1 SMP Debian 4.9.110-3+deb9u2 (2018-08-13)
|
||||
|
||||
&yellow The following processes have libs linked that were upgraded:
|
||||
|
||||
root:
|
||||
/lib/systemd/systemd-udevd (546)
|
||||
systemd-timesync:
|
||||
/usr/lib/postfix/qmgr (52880)
|
||||
|
||||
|
||||
See http://localhost/xymon-cgi/svcstatus.sh?HOST=HOST.DOMAIN.ORG&SERVICE=libs"
|
||||
|
||||
temp_dir=$(mktemp -d -t xymon-libs-alert-XXXXXX.tmp)
|
||||
debug_stdout="${temp_dir}/debug.stdout"
|
||||
service_list="${temp_dir}/services.error.list"
|
||||
|
@ -85,6 +66,10 @@ if echo "${BBALPHAMSG}" | grep -qE "\\&yellow The following processes.*" ; then
|
|||
'/usr/sbin/nginx' )
|
||||
service_name="nginx"
|
||||
;;
|
||||
# Netdata
|
||||
'/usr/sbin/netdata' )
|
||||
service_name="netdata"
|
||||
;;
|
||||
# Ntp
|
||||
'/usr/sbin/ntpd' )
|
||||
service_name="ntp"
|
||||
|
|
Loading…
Reference in New Issue