Add some sample of variables Xymon alert can send

This commit is contained in:
Jeremy Gardais 2018-08-21 13:33:25 +02:00
parent 25d460d928
commit 9249730a88
7 changed files with 222 additions and 11 deletions

View File

@ -0,0 +1,62 @@
BBCOLORLEVEL="yellow"
BBALPHAMSG="HOST.DOMAIN.ORG:cpu yellow [520216]
yellow Tue Aug 21 11:43:22 CEST 2018 up: 00:00, 0 users, 29 procs, load=1.90
&yellow Machine recently rebooted
System clock is 0 seconds off
top - 11:43:23 up 0 min, 0 users, load average: 1.49, 1.90, 3.03
Tasks: 33 total, 2 running, 31 sleeping, 0 stopped, 0 zombie
%Cpu(s): 3.8 us, 5.9 sy, 0.0 ni, 89.3 id, 0.8 wa, 0.0 hi, 0.1 si, 0.0 st
KiB Mem : 1048576 total, 897468 free, 33268 used, 117840 buff/cache
KiB Swap: 1048576 total, 1048576 free, 0 used. 1015308 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
263 xymon 20 0 64284 6264 5072 D 100.0 0.6 0:00.05 apt-cache
1 root 20 0 69588 7680 5968 S 0.0 0.7 0:00.08 systemd
43 root 20 0 93256 16952 16356 S 0.0 1.6 0:00.03 systemd-j+
89 root 20 0 22560 1052 0 S 0.0 0.1 0:00.00 dhclient
121 root 20 0 29668 2804 2520 S 0.0 0.3 0:00.00 cron
122 root 20 0 321836 2756 2348 S 0.0 0.3 0:00.00 rsyslogd
124 root 20 0 171944 9704 8308 S 0.0 0.9 0:00.00 sssd
130 message+ 20 0 59424 4036 3576 S 0.0 0.4 0:00.00 dbus-daem+
145 daemon 20 0 27968 2120 1916 S 0.0 0.2 0:00.00 atd
147 root 20 0 71988 5648 4896 S 0.0 0.5 0:00.00 sshd
164 xymon 20 0 4272 1488 1332 S 0.0 0.1 0:00.00 xymonlaun+
167 xymon 20 0 4292 712 640 S 0.0 0.1 0:00.00 xymonclie+
168 xymon 20 0 18300 5152 3940 S 0.0 0.5 0:00.00 apt
176 root 20 0 201132 15804 10264 S 0.0 1.5 0:00.02 sssd_be
177 root 20 0 17076 160 0 S 0.0 0.0 0:00.00 in.tftpd
191 root 20 0 168252 33204 32060 S 0.0 3.2 0:00.02 sssd_nss
192 root 20 0 147780 7452 6396 S 0.0 0.7 0:00.00 sssd_pam
193 root 20 0 141356 7364 6344 S 0.0 0.7 0:00.00 sssd_auto+
198 xymon 20 0 4292 1360 1252 S 0.0 0.1 0:00.00 xymonclie+
211 arpwatch 20 0 31872 4792 4104 S 0.0 0.5 0:00.00 arpwatch
214 root 20 0 54532 2768 2276 S 0.0 0.3 0:00.00 systemd-l+
223 root 20 0 69592 1716 4 S 0.0 0.2 0:00.00 (agetty)
224 root 20 0 69592 1716 4 S 0.0 0.2 0:00.00 (agetty)
251 root 20 0 361140 15748 6296 S 0.0 1.5 0:00.04 fail2ban-+
292 root 20 0 81152 6396 5636 S 0.0 0.6 0:00.00 postmulti
298 root 20 0 4292 752 680 S 0.0 0.1 0:00.00 postfix-s+
306 xymon 20 0 38236 2984 2584 R 0.0 0.3 0:00.00 top
345 root 20 0 4292 712 636 S 0.0 0.1 0:00.00 sh
349 root 20 0 22536 1392 1164 D 0.0 0.1 0:00.00 nft
351 root 20 0 4292 760 688 S 0.0 0.1 0:00.00 postfix-s+
353 root 20 0 4292 96 0 S 0.0 0.0 0:00.00 postfix-s+
354 root 20 0 79236 4740 4064 R 0.0 0.5 0:00.00 postconf
355 root 20 0 13216 1004 900 S 0.0 0.1 0:00.00 sed
See http://localhost/xymon-cgi/svcstatus.sh?HOST=HOST.DOMAIN.ORG&SERVICE=cpu
"
ACKCODE="520216"
RCPT="1234567890"
BBHOSTNAME="HOST.DOMAIN.ORG"
MACHIP="111222333444"
BBSVCNAME="cpu"
BBSVCNUM="200"
BBHOSTSVC="HOST.DOMAIN.ORG.cpu"
BBHOSTSVCCOMMAS="HOST,DOMAIN,ORG.cpu"
BBNUMERIC="200111222333444520216"
RECOVERED="0"
DOWNSECS="0"
DOWNSECSMSG=""

View File

@ -18,12 +18,12 @@ See http://localhost/xymon-cgi/svcstatus.sh?HOST=HOST.DOMAIN.ORG&SERVICE=libs"
ACKCODE="0"
RCPT="1234567890"
BBHOSTNAME="HOST.DOMAIN.ORG"
MACHIP="129020027106"
MACHIP="111222333444"
BBSVCNAME="libs"
BBSVCNUM="0"
BBHOSTSVC="HOST.DOMAIN.ORG.libs"
BBHOSTSVCCOMMAS="HOST.DOMAIN.ORG.libs"
BBNUMERIC="0001290200271060"
BBNUMERIC="0001112223334440"
RECOVERED="0"
DOWNSECS="36320"
DOWNSECSMSG=""

View File

@ -0,0 +1,22 @@
BBCOLORLEVEL="red"
BBALPHAMSG="HOST.DOMAIN.ORG:memory red [251314]
red Tue Aug 21 11:42:42 CEST 2018 - Memory CRITICAL
Memory Used Total Percentage
&green Real/Physical 1017M 1536M 66%
&green Actual/Virtual 692M 1536M 45%
&red Swap/Page 1024M 1024M 100%
See http://localhost/xymon-cgi/svcstatus.sh?HOST=HOST.DOMAIN.ORG&SERVICE=memory
"
ACKCODE="251314"
RCPT="1234567890"
BBHOSTNAME="HOST.DOMAIN.ORG"
MACHIP="111222333444"
BBSVCNAME="memory"
BBSVCNUM="0"
BBHOSTSVC="HOST.DOMAIN.ORG.memory"
BBHOSTSVCCOMMAS="HOST,DOMAIN,ORG.memory"
BBNUMERIC="000111222333444251314"
RECOVERED="0"
DOWNSECS="0"
DOWNSECSMSG=""

View File

@ -0,0 +1,26 @@
BBCOLORLEVEL="red"
BBALPHAMSG="HOST.DOMAIN.ORG:ntpq red [842850]
red Tue Aug 21 11:20:53 2018 - ntpq NOT ok
NTP peers:
remote refid st t when poll reach delay offset jitter
==============================================================================
&clear WWW.XXX.YYY.ZZZ 213.251.53.11 3 u 18 64 1 0.542 -2.836 0.000
&red No system peer entry ("*") found
See http://localhost/xymon-cgi/svcstatus.sh?HOST=HOST.DOMAIN.ORG&SERVICE=ntpq
"
ACKCODE="842850"
RCPT="1234567890"
BBHOSTNAME="HOST.DOMAIN.ORG"
MACHIP="111222333444"
BBSVCNAME="ntpq"
BBSVCNUM="0"
BBHOSTSVC="HOST.DOMAIN.ORG.ntpq"
BBHOSTSVCCOMMAS="HOST,DOMAIN,ORG.ntpq"
BBNUMERIC="000111222333444842850"
RECOVERED="0"
DOWNSECS="1544"
DOWNSECSMSG=""

View File

@ -0,0 +1,31 @@
BBCOLORLEVEL="yellow"
BBALPHAMSG="HOST.DOMAIN.ORG:ports yellow [40450]
yellow Tue Aug 21 11:43:22 CEST 2018 - Ports NOT ok
&yellow SMTP listener (found 0, req. between 1 and 2)
&green SSH logins (found 0, req. at most 10)
&green Bad listeners (found 0, req. at most 0)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 111.222.333.444:45250 WWW.XXX.YYY.ZZZ:1984 TIME_WAIT
tcp 0 0 111.222.333.444:54522 444.333.222.111:389 ESTABLISHED
tcp 0 0 111.222.333.444:45244 WWW.XXX.YYY.ZZZ:1984 TIME_WAIT
tcp 0 0 111.222.333.444:45242 WWW.XXX.YYY.ZZZ:1984 TIME_WAIT
tcp6 0 0 :::22 :::* LISTEN
udp 0 0 0.0.0.0:68 0.0.0.0:*
udp6 0 0 :::69 :::*
See http://localhost/xymon-cgi/svcstatus.sh?HOST=HOST.DOMAIN.ORG&SERVICE=ports
"
ACKCODE="40450"
RCPT="1234567890"
BBHOSTNAME="HOST.DOMAIN.ORG"
MACHIP="111222333444"
BBSVCNAME="ports"
BBSVCNUM="0"
BBHOSTSVC="HOST.DOMAIN.ORG.ports"
BBHOSTSVCCOMMAS="HOST,DOMAIN,ORG.ports"
BBNUMERIC="00011122233344440450"
RECOVERED="0"
DOWNSECS="6"
DOWNSECSMSG=""

View File

@ -0,0 +1,70 @@
BBCOLORLEVEL="red"
BBALPHAMSG="HOST.DOMAIN.ORG:procs red [757744]
red Tue Aug 21 13:29:28 CEST 2018 - Processes NOT ok
&green systemd-journald (found 1, req. between 1 and 1)
&green systemd-logind (found 1, req. between 1 and 1)
&green CRON (found 1, req. between 1 and 999)
&green ATD (found 1, req. between 1 and 999)
&green MTA-Stretch (found 1, req. between 1 and 1)
&green SSHD (found 3, req. between 1 and 20)
&green SSSD (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)
&yellow ARPwatch (found 0, req. between 1 and 1)
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
43 1 root 11:43:20 S 19 0.0 00:00:00 2.4 25848 109744 /lib/systemd/systemd-journald
89 1 root 11:43:20 S 19 0.0 00:00:00 0.1 1052 22560 /sbin/dhclient -4 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases -I -df /var/lib/dhcp/dhclient6.eth0.leases eth0
121 1 root 11:43:21 S 19 0.0 00:00:00 0.2 2804 29668 /usr/sbin/cron -f
122 1 root 11:43:21 S 19 0.0 00:00:00 0.2 2756 321836 /usr/sbin/rsyslogd -n
124 1 root 11:43:21 S 19 0.0 00:00:00 0.9 9704 171944 /usr/sbin/sssd -i -f
176 124 root 11:43:21 S 19 0.0 00:00:00 1.7 18244 212360 \_ /usr/lib/x86_64-linux-gnu/sssd/sssd_be --domain ur1 --uid 0 --gid 0 --debug-to-files
191 124 root 11:43:21 S 19 0.0 00:00:00 3.1 33204 168252 \_ /usr/lib/x86_64-linux-gnu/sssd/sssd_nss --uid 0 --gid 0 --debug-to-files
192 124 root 11:43:21 S 19 0.0 00:00:00 0.8 8672 147912 \_ /usr/lib/x86_64-linux-gnu/sssd/sssd_pam --uid 0 --gid 0 --debug-to-files
193 124 root 11:43:21 S 19 0.0 00:00:00 0.7 7364 141356 \_ /usr/lib/x86_64-linux-gnu/sssd/sssd_autofs --uid 0 --gid 0 --debug-to-files
145 1 daemon 11:43:21 S 19 0.0 00:00:00 0.2 2120 27968 /usr/sbin/atd -f -l 9.6 -b 98
147 1 root 11:43:21 S 19 0.0 00:00:00 0.5 6180 71988 /usr/sbin/sshd -D
4810 147 root 13:29:14 S 19 0.0 00:00:00 0.7 7468 134176 \_ sshd: USER [priv]
5023 4810 USER 13:29:14 S 19 0.0 00:00:00 0.3 3952 134176 \_ sshd: USER@pts/2
5024 5023 USER 13:29:14 S 19 0.0 00:00:00 0.5 5608 59296 \_ zsh
5057 5024 USER 13:29:15 S 19 0.0 00:00:00 0.2 2988 19336 \_ tmux
223 1 root 11:43:21 S 19 0.0 00:00:00 0.1 2060 14316 /sbin/agetty -o -p -- \u --noclear --keep-baud tty1 115200,38400,9600 linux
224 1 root 11:43:21 S 19 0.0 00:00:00 0.1 2056 14316 /sbin/agetty -o -p -- \u --noclear --keep-baud console 115200,38400,9600 linux
251 1 root 11:43:22 S 19 0.0 00:00:01 1.5 15800 361140 /usr/bin/python3 /usr/bin/fail2ban-server -s /var/run/fail2ban/fail2ban.sock -p /var/run/fail2ban/fail2ban.pid -x -b
412 1 root 11:43:22 S 19 0.0 00:00:00 0.4 4244 83252 /usr/lib/postfix/sbin/master -w
415 412 postfix 11:43:22 S 19 0.0 00:00:00 0.6 6628 95528 \_ qmgr -l -t unix -u
4453 412 postfix 13:19:59 S 19 0.0 00:00:00 0.6 6532 95480 \_ showq -t unix -u -c
4504 412 postfix 13:23:22 S 19 0.0 00:00:00 0.6 6524 95480 \_ pickup -l -t unix -u -c
416 1 netdata 11:43:22 S 19 0.0 00:02:06 7.1 75324 224012 /usr/sbin/netdata -D
432 416 netdata 11:43:23 R 19 0.0 00:00:16 0.2 2628 28108 \_ /usr/lib/x86_64-linux-gnu/netdata/plugins.d/apps.plugin 1
433 416 netdata 11:43:23 S 19 0.0 00:01:30 4.6 48576 121208 \_ /usr/bin/python /usr/lib/x86_64-linux-gnu/netdata/plugins.d/python.d.plugin 1
4643 416 netdata 13:25:26 S 19 0.0 00:00:00 0.2 2688 9700 \_ bash /usr/lib/x86_64-linux-gnu/netdata/plugins.d/tc-qos-helper.sh 1
660 1 xymon-s+ 11:43:27 S 19 0.0 00:00:00 0.6 6788 68928 /lib/systemd/systemd --user
662 660 xymon-s+ 11:43:27 S 19 0.0 00:00:00 0.1 1904 123912 \_ (sd-pam)
881 1 message+ 11:43:27 S 19 0.0 00:00:00 0.4 4384 67636 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
883 1 root 11:43:27 S 19 0.0 00:00:00 0.5 5552 73268 /lib/systemd/systemd-logind
1377 1 USER 11:49:11 S 19 0.0 00:00:00 0.6 6716 68932 /lib/systemd/systemd --user
1379 1377 USER 11:49:11 S 19 0.0 00:00:00 0.1 2040 132260 \_ (sd-pam)
4768 1 xymon 13:28:48 S 19 0.0 00:00:00 0.0 756 4292 sh -c vmstat 300 2 1>/var/lib/xymon/tmp/xymon_vmstat.HOST.DOMAIN.ORG.4719 2>&1; mv /var/lib/xymon/tmp/xymon_vmstat.HOST.DOMAIN.ORG.4719 /var/lib/xymon/tmp/xymon_vmstat.HOST.DOMAIN.ORG
4770 4768 xymon 13:28:48 S 19 0.0 00:00:00 0.1 1400 24900 \_ vmstat 300 2
5059 1 USER 13:29:15 S 19 0.0 00:00:00 0.3 3364 28044 tmux
5067 5059 USER 13:29:15 S 19 0.0 00:00:00 0.6 6396 62052 \_ -zsh
5187 1 xymon 13:29:27 S 19 0.0 00:00:00 0.1 1576 4272 /usr/lib/xymon/client/bin/xymonlaunch --config=/etc/xymon/clientlaunch.cfg --log=/var/log/xymon/clientlaunch.log --pidfile=/var/run/xymon/clientlaunch.pid
5191 5187 xymon 13:29:27 S 19 0.0 00:00:00 0.1 1572 4292 \_ /bin/sh /usr/lib/xymon/client/bin/xymonclient.sh
5214 5191 xymon 13:29:27 S 19 0.0 00:00:00 0.1 1600 4292 | \_ /bin/sh /usr/lib/xymon/client/bin/xymonclient-linux.sh
5256 5214 xymon 13:29:28 R 19 0.0 00:00:00 0.2 2804 44404 | \_ ps -Aww f -o pid,ppid,user,start,state,pri,pcpu,time:12,pmem,rsz:10,vsz:10,cmd
5192 5187 xymon 13:29:27 S 19 0.0 00:00:00 0.4 5164 18300 \_ /usr/bin/perl -w /usr/lib/xymon/client/ext/apt
5231 5192 xymon 13:29:28 R 19 0.0 00:00:00 3.9 41128 70068 \_ apt-cache policy acl adduser apt apt-listchanges apt-transport-https apt-utils aptitude aptitude-common arpwatch at base-files base-passwd bash bash-completion bind9-host binutils bsd-mailx bsdmainutils bsdutils bzip2 ca-certificates coreutils cpio cpp cpp-6 cracklib-runtime cron curl dash dbus dctrl-tools debconf debconf-i18n debian-archive-keyring debian-faq debian-goodies debianutils debsecan debsums dh-python diffutils dirmngr distro-info-data dmidecode dmsetup doc-debian dpkg e2fslibs:amd64 e2fsprogs ed etckeeper fail2ban file findutils fontconfig-config fonts-dejavu-core fonts-font-awesome fping gcc-6-base:amd64 gettext-base git git-man gnupg gnupg-agent gnutls-bin gpgv grep groff-base gzip hobbit-plugins hostname htop iftop ifupdown init init-system-helpers DOMAINoute2 iputils-ping isc-dhcp-client isc-dhcp-common kmod krb5-locales less libacl1:amd64 libapparmor1:amd64 libapt-inst2.0:amd64 libapt-pkg5.0:amd64 libasprintf0v5:amd64 libassuan0:amd64 libattr1:amd64 libaudit-common libaudit1:amd64 libavahi-client3:amd64 libavahi-common-data:amd64 libavahi-common3:amd64 libbasicobjects0:amd64 libbind9-140:amd64 libblkid1:amd64 libboost-filesystem1.62.0:amd64 libboost-iostreams1.62.0:amd64 libboost-system1.62.0:amd64 libbsd0:amd64 libbz2-1.0:amd64 libc-ares2:amd64 libc-bin libc-l10n libc6:amd64 libcap-ng0:amd64 libcap2-bin libcap2:amd64 libclass-isa-perl libcollection4:amd64 libcomerr2:amd64 libcrack2:amd64 libcryptsetup4:amd64 libcups2:amd64 libcurl3-gnutls:amd64 libcurl3:amd64 libcwidget3v5:amd64 libdb5.3:amd64 libdbus-1-3:amd64 libdebconfclient0:amd64 libdevmapper1.02.1:amd64 libdhash1:amd64 libdns-export162 libdns162:amd64 libdpkg-perl libdrm2:amd64 libedit2:amd64 libelf1:amd64 liberror-perl libes"
ACKCODE="757744"
RCPT="1234567890"
BBHOSTNAME="HOST.DOMAIN.ORG"
MACHIP="111222333444"
BBSVCNAME="procs"
BBSVCNUM="300"
BBHOSTSVC="HOST.DOMAIN.ORG.procs"
BBHOSTSVCCOMMAS="HOST,DOMAIN,ORG.procs"
BBNUMERIC="300111222333444757744"
RECOVERED="0"
DOWNSECS="0"
DOWNSECSMSG=""

View File

@ -4,9 +4,9 @@
DEBUG=0
BBCOLORLEVEL="red"
BBHOSTNAME="deploy.ipr.univ-rennes1.fr"
BBHOSTNAME="HOST.DOMAIN.ORG"
BBSVCNAME="procs"
BBALPHAMSG="deploy.ipr.univ-rennes1.fr:procs red [729848]
BBALPHAMSG="HOST.DOMAIN.ORG:procs red [729848]
red Fri Aug 10 15:35:26 CEST 2018 - Processes NOT ok
&green journald (found 1, req. 1 or more)
&green logind (found 1, req. 1 or more)
@ -32,9 +32,9 @@ red Fri Aug 10 15:35:26 CEST 2018 - Processes NOT ok
309 137 root Aug 02 S 19 0.0 00:00:03 0.3 3628 147912 \\_ /usr/lib/x86_64-linux-gnu/sssd/sssd_pam --uid 0 --gid 0 --debug-to-files
310 137 root Aug 02 S 19 0.0 00:00:03 0.2 2200 141356 \\_ /usr/lib/x86_64-linux-gnu/sssd/sssd_autofs --uid 0 --gid 0 --debug-to-files
198 1 root Aug 02 S 19 0.0 00:00:00 0.2 2288 71988 /usr/sbin/sshd -D
594703 198 root 15:34:47 S 19 0.0 00:00:00 0.6 7280 134176 \\_ sshd: jegardai [priv]
594918 594703 jegardai 15:34:48 S 19 0.0 00:00:00 0.3 3980 134176 \\_ sshd: jegardai@pts/2
594919 594918 jegardai 15:34:48 S 19 0.0 00:00:00 0.6 6316 62044 \\_ zsh
594703 198 root 15:34:47 S 19 0.0 00:00:00 0.6 7280 134176 \\_ sshd: USER [priv]
594918 594703 USER 15:34:48 S 19 0.0 00:00:00 0.3 3980 134176 \\_ sshd: USER@pts/2
594919 594918 USER 15:34:48 S 19 0.0 00:00:00 0.6 6316 62044 \\_ zsh
204 1 root Aug 02 S 19 0.0 00:00:00 0.0 892 17076 /usr/sbin/in.tftpd --listen --user tftp --address [::]:69 --secure --port-range 2070:2076 /srv/tftp
331 1 root Aug 02 S 19 0.0 00:00:00 0.1 1468 14316 /sbin/agetty -o -p -- \\u --noclear --keep-baud console 115200,38400,9600 linux
332 1 root Aug 02 S 19 0.0 00:00:00 0.1 1576 14316 /sbin/agetty -o -p -- \\u --noclear --keep-baud tty1 115200,38400,9600 linux
@ -48,20 +48,20 @@ red Fri Aug 10 15:35:26 CEST 2018 - Processes NOT ok
594683 2105 postfix 15:32:49 S 19 0.0 00:00:00 0.6 6420 95480 \\_ showq -t unix -u -c
2206 1 message+ Aug 02 S 19 0.0 00:00:00 0.1 1068 67636 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
2207 1 root Aug 02 S 19 0.0 00:00:00 0.3 3808 73508 /lib/systemd/systemd-logind
7896 1 jegardai Aug 02 S 19 0.0 00:00:00 0.1 1820 68932 /lib/systemd/systemd --user
7898 7896 jegardai Aug 02 S 19 0.0 00:00:00 0.0 256 132260 \\_ (sd-pam)
7896 1 USER Aug 02 S 19 0.0 00:00:00 0.1 1820 68932 /lib/systemd/systemd --user
7898 7896 USER Aug 02 S 19 0.0 00:00:00 0.0 256 132260 \\_ (sd-pam)
163996 1 netdata Aug 03 S 19 0.8 01:30:54 7.2 75652 229332 /usr/sbin/netdata -D
164014 163996 netdata Aug 03 S 19 0.4 00:46:51 0.7 8136 113012 \\_ /usr/bin/python /usr/lib/x86_64-linux-gnu/netdata/plugins.d/python.d.plugin 1
587208 163996 netdata 11:51:34 R 19 0.3 00:00:37 0.2 2632 75012 \\_ /usr/lib/x86_64-linux-gnu/netdata/plugins.d/apps.plugin 1
594189 163996 netdata 15:17:36 S 19 0.0 00:00:01 0.2 2688 9696 \\_ bash /usr/lib/x86_64-linux-gnu/netdata/plugins.d/tc-qos-helper.sh 1
594627 1 xymon 15:30:50 S 19 0.0 00:00:00 0.0 724 4292 sh -c vmstat 300 2 1>/var/lib/xymon/tmp/xymon_vmstat.deploy.ipr.univ-rennes1.fr.594578 2>&1; mv /var/lib/xymon/tmp/xymon_vmstat.deploy.ipr.univ-rennes1.fr.594578 /var/lib/xymon/tmp/xymon_vmstat.deploy.ipr.univ-rennes1.fr
594627 1 xymon 15:30:50 S 19 0.0 00:00:00 0.0 724 4292 sh -c vmstat 300 2 1>/var/lib/xymon/tmp/xymon_vmstat.HOST.DOMAIN.ORG.594578 2>&1; mv /var/lib/xymon/tmp/xymon_vmstat.HOST.DOMAIN.ORG.594578 /var/lib/xymon/tmp/xymon_vmstat.HOST.DOMAIN.ORG
594629 594627 xymon 15:30:50 S 19 0.0 00:00:00 0.1 1376 24900 \\_ vmstat 300 2
595038 1 xymon 15:35:26 S 19 0.0 00:00:00 0.1 1572 4272 /usr/lib/xymon/client/bin/xymonlaunch --config=/etc/xymon/clientlaunch.cfg --log=/var/log/xymon/clientlaunch.log --pidfile=/var/run/xymon/clientlaunch.pid
595043 595038 xymon 15:35:26 S 19 0.0 00:00:00 0.1 1432 4292 \\_ /bin/sh /usr/lib/xymon/client/bin/xymonclient.sh
595065 595043 xymon 15:35:26 S 19 0.0 00:00:00 0.1 1584 4292 | \\_ /bin/sh /usr/lib/xymon/client/bin/xymonclient-linux.sh
595107 595065 xymon 15:35:26 R 19 0.0 00:00:00 0.2 2784 44404 | \\_ ps -Aww f -o pid,ppid,user,start,state,pri,pcpu,time:12,pmem,rsz:10,vsz:10,cmd
595044 595038 xymon 15:35:26 S 19 0.0 00:00:00 0.4 5188 18300 \\_ /usr/bin/perl -w /usr/lib/xymon/client/ext/apt
595081 595044 xymon 15:35:26 R 19 0.0 00:00:00 3.9 40956 70040 \\_ apt-cache policy acl adduser apt apt-listchanges apt-transport-https apt-utils aptitude aptitude-common arpwatch at base-files base-passwd bash bash-completion bind9-host binutils bsd-mailx bsdmainutils bsdutils bzip2 ca-certificates coreutils cpio cpp cpp-6 cracklib-runtime cron curl dash dbus dctrl-tools debconf debconf-i18n debian-archive-keyring debian-faq debian-goodies debianutils debsecan debsums dh-python diffutils dirmngr distro-info-data dmidecode dmsetup doc-debian dpkg e2fslibs:amd64 e2fsprogs ed etckeeper fail2ban file findutils fontconfig-config fonts-dejavu-core fonts-font-awesome fping gcc-6-base:amd64 gettext-base git git-man gnupg gnupg-agent gnutls-bin gpgv grep groff-base gzip hobbit-plugins hostname htop iftop ifupdown init init-system-helpers iproute2 iputils-ping isc-dhcp-client isc-dhcp-common kmod krb5-locales less libacl1:amd64 libapparmor1:amd64 libapt-inst2.0:amd64 libapt-pkg5.0:amd64 libasprintf0v5:amd64 libassuan0:amd64 libattr1:amd64 libaudit-common libaudit1:amd64 libavahi-client3:amd64 libavahi-common-data:amd64 libavahi-common3:amd64 libbasicobjects0:amd64 libbind9-140:amd64 libblkid1:amd64 libboost-filesystem1.62.0:amd64 libboost-iostreams1.62.0:amd64 libboost-system1.62.0:amd64 libbsd0:amd64 libbz2-1.0:amd64 libc-ares2:amd64 libc-bin libc-l10n libc6:amd64 libcap-ng0:amd64 libcap2-bin libcap2:amd64 libclass-isa-perl libcollection4:amd64 libcomerr2:amd64 libcrack2:amd64 libcryptsetup4:amd64 libcups2:amd64 libcurl3-gnutls:amd64 libcurl3:amd64 libcwidget3v5:amd64 libdb5.3:amd64 libdbus-1-3:amd64 libdebconfclient0:amd64 libdevmapper1.02.1:amd64 libdhash1:amd64 libdns-export162 libdns162:amd64 libdpkg-perl libdrm2:amd64 libedit2:amd64 libelf1:amd64 liberror-perl libestr0 libev4 libevent-2.0-5:amd64 libexpat1:amd64 libfas"
595081 595044 xymon 15:35:26 R 19 0.0 00:00:00 3.9 40956 70040 \\_ apt-cache policy acl adduser apt apt-listchanges apt-transport-https apt-utils aptitude aptitude-common arpwatch at base-files base-passwd bash bash-completion bind9-host binutils bsd-mailx bsdmainutils bsdutils bzip2 ca-certificates coreutils cpio cpp cpp-6 cracklib-runtime cron curl dash dbus dctrl-tools debconf debconf-i18n debian-archive-keyring debian-faq debian-goodies debianutils debsecan debsums dh-python diffutils dirmngr distro-info-data dmidecode dmsetup doc-debian dpkg e2fslibs:amd64 e2fsprogs ed etckeeper fail2ban file findutils fontconfig-config fonts-dejavu-core fonts-font-awesome fping gcc-6-base:amd64 gettext-base git git-man gnupg gnupg-agent gnutls-bin gpgv grep groff-base gzip hobbit-plugins hostname htop iftop ifupdown init init-system-helpers DOMAINoute2 iputils-ping isc-dhcp-client isc-dhcp-common kmod krb5-locales less libacl1:amd64 libapparmor1:amd64 libapt-inst2.0:amd64 libapt-pkg5.0:amd64 libasprintf0v5:amd64 libassuan0:amd64 libattr1:amd64 libaudit-common libaudit1:amd64 libavahi-client3:amd64 libavahi-common-data:amd64 libavahi-common3:amd64 libbasicobjects0:amd64 libbind9-140:amd64 libblkid1:amd64 libboost-filesystem1.62.0:amd64 libboost-iostreams1.62.0:amd64 libboost-system1.62.0:amd64 libbsd0:amd64 libbz2-1.0:amd64 libc-ares2:amd64 libc-bin libc-l10n libc6:amd64 libcap-ng0:amd64 libcap2-bin libcap2:amd64 libclass-isa-perl libcollection4:amd64 libcomerr2:amd64 libcrack2:amd64 libcryptsetup4:amd64 libcups2:amd64 libcurl3-gnutls:amd64 libcurl3:amd64 libcwidget3v5:amd64 libdb5.3:amd64 libdbus-1-3:amd64 libdebconfclient0:amd64 libdevmapper1.02.1:amd64 libdhash1:amd64 libdns-export162 libdns162:amd64 libdpkg-perl libdrm2:amd64 libedit2:amd64 libelf1:amd64 liberror-perl libestr0 libev4 libevent-2.0-5:amd64 libexpat1:amd64 libfas"
temp_dir=$(mktemp -d -t xymon-alert-XXXXXX.tmp)
service_list="${temp_dir}/services.error.list"