admin@orchestrator[nd2bwa6drm01v]# show running-config alert rule PROCESS_STATEalert rule PROCESS_STATEexpression "docker_service_up==1 or docker_service_up==3"event-host-label container_namemessage "{{ $labels.service_name }} instance {{ $labels.module_instance }} of module {{ $labels.module }} is in Aborted state !"snmp-facility applicationsnmp-severity criticalsnmp-clear-message "{{ $labels.service_name }} instance {{ $labels.module_instance }} of module {{ $labels.module }} is moved from Aborted state !"!admin@orchestrator[nd2bwa6drm01v]#
NAME EVENT HOST STATUS MESSAGE CREATE TIME RESOLVE TIME UPDATE TIME
PROCESS_STATE haproxy-common-s101 resolved haproxy-common instance 101 of module haproxy-common is moved from Aborted state ! 2020-05-30T09:12:18.643+00:00 2020-05-30T09:12:33.617+00:00 2020-05-30T09:27:38.659+00:00PROCESS_STATE haproxy-common-s103 resolved haproxy-common instance 103 of module haproxy-common is moved from Aborted state ! 2020-05-30T09:12:18.644+00:00 2020-05-30T09:12:33.619+00:00 2020-05-30T09:27:38.66+00:00
Alert configuration is as below:admin@orchestrator[nd2bwa6drm01v]# show running-config alert rule PROCESS_STATEalert rule PROCESS_STATEexpression "docker_service_up==1 or docker_service_up==3"event-host-label container_namemessage "{{ $labels.service_name }} instance {{ $labels.module_instance }} of module {{ $labels.module }} is in Aborted state !"snmp-facility applicationsnmp-severity criticalsnmp-clear-message "{{ $labels.service_name }} instance {{ $labels.module_instance }} of module {{ $labels.module }} is moved from Aborted state !"!
root@prometheus-hi-res-s101:/# /prometheus/prometheus --version
prometheus, version 2.3.1 (branch: HEAD, revision: 188ca45bd85ce843071e768d855722a9d9dabe03)
build user: root@82ef94f1b8f7
build date: 20180619-15:56:22
go version: go1.10.3
root@prometheus-hi-res-s101:/#
root@prometheus-hi-res-s101:/# cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.2 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.2 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
root@prometheus-hi-res-s101:/#
NAME EVENT HOST STATUS MESSAGE CREATE TIME RESOLVE TIME UPDATE TIME
PROCESS_STATE haproxy-common-s109 resolved haproxy-common instance 109 of module haproxy-common is moved from Aborted state ! 2020-05-24T07:53:54.044+00:00 2020-05-24T07:53:59.057+00:00 2020-05-24T08:08:59.066+00:00PROCESS_STATE binding-s122 resolved binding instance 122 of module binding is moved from Aborted state ! 2020-06-01T23:45:43.997+00:00 2020-06-01T23:45:48.881+00:00 2020-06-02T00:00:48.849+00:00
Please refer below details captured from prometheus container related to OS/Platform.root@prometheus-hi-res-s101:/# /prometheus/prometheus --version
prometheus, version 2.3.1 (branch: HEAD, revision: 188ca45bd85ce843071e768d855722a9d9dabe03)