Closed atc0005 closed 3 years ago
While reviewing and responding to an internal ticket, I was reminded that Nagios strips out characters defined in the illegal_macro_output_chars setting as illegal or dangerous:
illegal_macro_output_chars
illegal_macro_output_chars=`~$^&"|'<>
This prevents this:
https://github.com/atc0005/go-nagios/blob/8007ac77bae39dcef015975e9d49b74d53aba92c/nagios.go#L150-L161
from working as intended. I'll need to use another approach here.
refs:
While reviewing and responding to an internal ticket, I was reminded that Nagios strips out characters defined in the
illegal_macro_output_chars
setting as illegal or dangerous:This prevents this:
https://github.com/atc0005/go-nagios/blob/8007ac77bae39dcef015975e9d49b74d53aba92c/nagios.go#L150-L161
from working as intended. I'll need to use another approach here.
refs: