Cargando…

CMX - A Generic Solution to Expose Monitoring Metrics in C and C++ Applications

CERN’s Accelerator Control System is built upon a large number of C, C++ and Java services that are required for daily operation of the accelerator complex. The knowledge of the internal state of these processes is essential for problem diagnostic as well as for constant monitoring for pre-failure r...

Descripción completa

Detalles Bibliográficos
Autores principales: Ehm, F, Fischer, Y, Gorgogianni, G M, Jensen, S, Jurcso, P
Lenguaje:eng
Publicado: 2013
Materias:
Acceso en línea:http://cds.cern.ch/record/1620795
_version_ 1780933172490403840
author Ehm, F
Fischer, Y
Gorgogianni, G M
Jensen, S
Jurcso, P
author_facet Ehm, F
Fischer, Y
Gorgogianni, G M
Jensen, S
Jurcso, P
author_sort Ehm, F
collection CERN
description CERN’s Accelerator Control System is built upon a large number of C, C++ and Java services that are required for daily operation of the accelerator complex. The knowledge of the internal state of these processes is essential for problem diagnostic as well as for constant monitoring for pre-failure recognition. The CMX library follows similar principles as JMX (Java Management Extensions) and provides similar monitoring capabilities for C and C++ applications. It allows registering and exposing runtime information as simple counters, floating point numbers or character data. This can be subsequently used by external diagnostics tools for checking thresholds, sending alerts or trending. CMX uses shared memory to ensure non-blocking read/update actions, which is an important requirement in real-time processes. This paper introduces the topic of monitoring C/C++ applications and presents CMX as a building block to achieve this goal.
id cern-1620795
institution Organización Europea para la Investigación Nuclear
language eng
publishDate 2013
record_format invenio
spelling cern-16207952022-08-17T13:32:18Zhttp://cds.cern.ch/record/1620795engEhm, FFischer, YGorgogianni, G MJensen, SJurcso, PCMX - A Generic Solution to Expose Monitoring Metrics in C and C++ ApplicationsAccelerators and Storage RingsCERN’s Accelerator Control System is built upon a large number of C, C++ and Java services that are required for daily operation of the accelerator complex. The knowledge of the internal state of these processes is essential for problem diagnostic as well as for constant monitoring for pre-failure recognition. The CMX library follows similar principles as JMX (Java Management Extensions) and provides similar monitoring capabilities for C and C++ applications. It allows registering and exposing runtime information as simple counters, floating point numbers or character data. This can be subsequently used by external diagnostics tools for checking thresholds, sending alerts or trending. CMX uses shared memory to ensure non-blocking read/update actions, which is an important requirement in real-time processes. This paper introduces the topic of monitoring C/C++ applications and presents CMX as a building block to achieve this goal.CERN-ACC-2013-0241oai:cds.cern.ch:16207952013-10-05
spellingShingle Accelerators and Storage Rings
Ehm, F
Fischer, Y
Gorgogianni, G M
Jensen, S
Jurcso, P
CMX - A Generic Solution to Expose Monitoring Metrics in C and C++ Applications
title CMX - A Generic Solution to Expose Monitoring Metrics in C and C++ Applications
title_full CMX - A Generic Solution to Expose Monitoring Metrics in C and C++ Applications
title_fullStr CMX - A Generic Solution to Expose Monitoring Metrics in C and C++ Applications
title_full_unstemmed CMX - A Generic Solution to Expose Monitoring Metrics in C and C++ Applications
title_short CMX - A Generic Solution to Expose Monitoring Metrics in C and C++ Applications
title_sort cmx - a generic solution to expose monitoring metrics in c and c++ applications
topic Accelerators and Storage Rings
url http://cds.cern.ch/record/1620795
work_keys_str_mv AT ehmf cmxagenericsolutiontoexposemonitoringmetricsincandcapplications
AT fischery cmxagenericsolutiontoexposemonitoringmetricsincandcapplications
AT gorgogiannigm cmxagenericsolutiontoexposemonitoringmetricsincandcapplications
AT jensens cmxagenericsolutiontoexposemonitoringmetricsincandcapplications
AT jurcsop cmxagenericsolutiontoexposemonitoringmetricsincandcapplications