The source project of this merge request has been removed.
CE-1977: Include coredump check to ioc-exporter
Tested on ccce-test-ioc-01 by manually updating the exporter service:
[henriquesilva@ccce-test-ioc-01 ~]$ ls /opt/iocs/CCCE_SC-IOC-040/
ioc.yml PVS.list README.md st.cmd test.db
[henriquesilva@ccce-test-ioc-01 ~]$ curl http://localhost:12110/api/v1/query
>>>>>>>>> snip snip <<<<<<<<<<<
# HELP ioc_coredump_exists e3 IOC has generated a coredump
# TYPE ioc_coredump_exists gauge
ioc_coredump_exists{ioc="CCCE:SC-IOC-040"} 0.0
ioc_coredump_exists{ioc="CCCE:SC-IOC-020"} 0.0
[henriquesilva@ccce-test-ioc-01 ~]$ ps aux | grep softIoc
iocuser 1119 2.4 0.9 1252928 18296 pts/0 Sl+ 12:04 8:35 /epics/base-7.0.5/bin/linux-x86_64/softIocPVA -D /epics/base-7.0.5/dbd/softIocPVA.dbd /tmp/systemd-private-e3-iocsh-iocuser/tmp.u85Ww1jY9y_iocsh_3.4.1-PID-1075
iocuser 1120 3.3 0.7 1247092 14508 pts/1 Sl+ 12:04 11:40 /epics/base-7.0.7/bin/linux-x86_64/softIocPVA -D /epics/base-7.0.7/dbd/softIocPVA.dbd /tmp/systemd-private-e3-iocsh-iocuser/tmp.kWz9PnI25c_iocsh_5.0.0-PID-1078
[henriquesilva@ccce-test-ioc-01 ~]$ sudo kill -11 1120
[henriquesilva@ccce-test-ioc-01 ~]$ ls /opt/iocs/CCCE_SC-IOC-040/
core ioc.yml PVS.list README.md st.cmd test.db
[henriquesilva@ccce-test-ioc-01 ~]$ curl http://localhost:12110/api/v1/query
>>>>>>>>> snip snip <<<<<<<<<<<
# HELP ioc_coredump_exists e3 IOC has generated a coredump
# TYPE ioc_coredump_exists gauge
ioc_coredump_exists{ioc="CCCE:SC-IOC-040"} 1.0
ioc_coredump_exists{ioc="CCCE:SC-IOC-020"} 0.0
Closes CE-1977