summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorLadue, David (dl3158) <dl3158@att.com>2018-03-22 17:32:07 -0400
committerLadue, David (dl3158) <dl3158@att.com>2018-03-22 17:33:44 -0400
commite0b9a69c01845eb32baaf9029b1775b81d78906f (patch)
treed8deb7079ba9c3466f1a20bd6088a62f4ecc0f50 /bin
parent86a53c2073d33dfd30c1a5d9f0af720949e0ad33 (diff)
changed docker port fwd to udp
Change-Id: I5614f95e52712e544b29746756bc25b95661f94b Issue-ID: DCAEGEN2-271 Signed-off-by: Ladue, David (dl3158) <dl3158@att.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/snmptrapd.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/snmptrapd.sh b/bin/snmptrapd.sh
index 52f3913..c4712f6 100755
--- a/bin/snmptrapd.sh
+++ b/bin/snmptrapd.sh
@@ -37,7 +37,9 @@ export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-bundle.crt
# PYTHONUNBUFFERED:
# set PYTHONUNBUFFERED to a non-empty string to avoid output buffering;
# comment out for runtime environments/better performance!
-export PYTHONUNBUFFERED="True"
+# FIXME: This does *NOT* appear to work as desired, so
+# we've added "-u" to command line below
+# export PYTHONUNBUFFERED="True"
# set location of config broker server overrride IF NEEDED
#
@@ -46,7 +48,7 @@ export CBS_SIM_JSON=../etc/snmptrapd.json
# want tracing? Use this:
# python -m trace --trackcalls snmptrapd.py -v
# want verbose logging? Use this:
-# python snmptrapd.py -v
+# python -u snmptrapd.py -v
# standard startup? Use this:
# python snmptrapd.py
-python snmptrapd.py -v
+python -u snmptrapd.py -v