Include additional enviromental variables for use with

http endpoint topics

Change-Id: I48a404e3ed9e6277cb64efb05bd157ba27527ee3
This commit is contained in:
Smith, David (ds3330) 2020-09-17 20:13:29 +00:00 committed by David Smith
parent a262c243d2
commit 449b01a429

View File

@ -41,6 +41,12 @@ fi
if [ -n "$REGION" ]; then
echo "\$USER11\$=${REGION}" >> ${NAGIOS_HOME}/etc/resource.cfg
fi
if [ -n "$DCAE_TOPIC" ]; then
echo "\$USER12\$=${DCAE_TOPIC}" >> ${NAGIOS_HOME}/etc/resource.cfg
fi
if [ -n "$TSEE_TOPIC" ]; then
echo "\$USER13\$=${TSEE_TOPIC}" >> ${NAGIOS_HOME}/etc/resource.cfg
fi
touch ${NAGIOS_HOME}/etc/objects/prometheus_discovery_objects.cfg
chown nagios ${NAGIOS_HOME}/etc/objects/prometheus_discovery_objects.cfg