You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Jered Floyd <je...@convivian.com> on 2022/06/27 16:28:35 UTC

Default config tries to execute non-existent "example_alarm_bin.sh"; proxy.config.alarm.bin not documented

A recent Fedora ticket ( [ https://bugzilla.redhat.com/show_bug.cgi?id=2101076 | https://bugzilla.redhat.com/show_bug.cgi?id=2101076 ] ) noted that the trafficserver process tries to run "example_alarm_bin.sh"; this originates from this line in RecordsConfig.cc: 
[ https://github.com/apache/trafficserver/blob/master/mgmt/RecordsConfig.cc#L293 | https://github.com/apache/trafficserver/blob/master/mgmt/RecordsConfig.cc#L293 ] 
{RECT_CONFIG, " proxy.config.alarm.bin " , RECD_STRING, " example_alarm_bin.sh " , RECU_NULL, RR_NULL, RECC_NULL, nullptr , RECA_NULL} 



This file exists but is not installed by "make install" ( [ https://github.com/apache/trafficserver/blob/master/proxy/example_alarm_bin.sh | https://github.com/apache/trafficserver/blob/master/proxy/example_alarm_bin.sh ] ). 


The variable "proxy.config.alarm.bin" is also not described in the ATS documentation. 


I suggest the right approach is to have the default value be NULL, and document it for those who which to enable this functionality, if it is not already deprecated. 


Thoughts? 


--Jered