artdaq_ganglia_plugin crashes application if configFile does not exist
The ganglia_metric initialization can call exit on an application if there is a problem with the configFile parameter (doesn't exist, no permissions, etc.). It prints a message to stderr, which can be easily lost and can lead to user frustration trying to determine what went wrong.
#2 Updated by Ron Rechenmacher about 1 year ago
- Status changed from Resolved to Reviewed
Ran demo with invalid configFile and got:
%MSG-e MetricManager: Initializing 06-Sep-2019 08:06:14 CDT Booted MetricManager.cc:79 Exception caught in MetricManager::initialize, error loading plugin with name ganglia, cet::exception object caught:---- GangliaMetric BEGIN Configuration file /etc/ganxxxglia/gmond.conf does not exist! ---- GangliaMetric END %MSG