aboutsummaryrefslogtreecommitdiffstats
path: root/collectors/snmpfetchng.pl
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/snmpfetchng.pl')
-rwxr-xr-xcollectors/snmpfetchng.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/collectors/snmpfetchng.pl b/collectors/snmpfetchng.pl
index ab91e14..7c62ed3 100755
--- a/collectors/snmpfetchng.pl
+++ b/collectors/snmpfetchng.pl
@@ -56,6 +56,8 @@ sub mylog
printf STDERR "[%s] %s\n", $time, $msg;
}
+# Hack to avoid starting the collector before graphite is up.
+sleep(5);
my $sock = IO::Socket::IP->new(
PeerHost => "$nms::config::graphite_host:$nms::config::graphite_port",
Timeout => 20,