aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/test/nms-collector-test.Dockerfile2
-rwxr-xr-xcollectors/ping.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/test/nms-collector-test.Dockerfile b/build/test/nms-collector-test.Dockerfile
index 4a82491..f7e7441 100644
--- a/build/test/nms-collector-test.Dockerfile
+++ b/build/test/nms-collector-test.Dockerfile
@@ -1,4 +1,4 @@
FROM debian:jessie
RUN apt-get update && apt-get install -y git-core
RUN git clone https://github.com/tech-server/tgnms
-
+CMD /opt/nms/collectors/ping.pl
diff --git a/collectors/ping.pl b/collectors/ping.pl
index d945917..7902663 100755
--- a/collectors/ping.pl
+++ b/collectors/ping.pl
@@ -7,7 +7,7 @@ use strict;
use warnings;
use Data::Dumper;
-use lib '../include';
+use lib '/opt/nms/include';
use nms;
$|++;