aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2016-04-13 22:30:02 +0200
committerKristian Lyngstol <kristian@bohemians.org>2016-04-13 22:30:02 +0200
commit8df01abbeec9fd0de80b89e1f1f893b6e414cd7e (patch)
tree531f6aee9f586a75fa5c41aa3e6184bf42b97e36
parent0015584a620c8505140f4a13567dd77265278a45 (diff)
test collectors (ping for now)
-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;
$|++;