Paper |
Title |
Page |
THPPC014 |
CMX - A Generic Solution to Expose Monitoring Metrics in C and C++ Applications |
1118 |
|
- F. Ehm, Y. Fischer, G.M. Gorgogianni, S. Jensen, P. Jurcso
CERN, Geneva, Switzerland
|
|
|
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 for real-time processes. This paper introduces the topic of monitoring C/C++ applications and presents CMX as a building block to achieve this goal.
|
|
|
Poster THPPC014 [0.795 MB]
|
|
|
THCOBA03 |
DIAMON2 – Improved Monitoring of CERN’s Accelerator Controls Infrastructure |
1415 |
|
- W. Buczak, M. Buttner, F. Ehm, P. Jurcso, M. Mitev
CERN, Geneva, Switzerland
|
|
|
Monitoring of heterogeneous systems in large organizations like CERN is always challenging. CERN's accelerators infrastructure includes large number of equipment (servers, consoles, FECs, PLCs), some still running legacy software like LynxOS 4 or Red Hat Enterprise Linux 4 on older hardware with very limited resources. DIAMON2 is based on CERN Common Monitoring platform. Using Java industry standards, notably Spring, Ehcache and the Java Message Service, together with a small footprint C++ -based monitoring agent for real time systems and wide variety of additional data acquisition components (SNMP, JMS, JMX etc.), DIAMON2 targets CERN’s environment, providing easily extensible, dynamically reconfigurable, reliable and scalable monitoring solution. This article explains the evolution of the CERN diagnostics and monitoring environment until DIAMON2, describes the overall system’s architecture, main components and their functionality as well as the first operational experiences with the new system, observed under the very demanding infrastructure of CERN’s accelerator complex.
|
|
|
Slides THCOBA03 [1.209 MB]
|
|
|