summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2015-03-13 13:06:11 +0200
committerSaku Ytti <saku@ytti.fi>2015-03-13 13:06:11 +0200
commit02b3b0f8f15b22248c873170e970d8e3dcd22b31 (patch)
treee86caf44efcb00de79ec129d70697cbedaa64051 /extra
parentea7503d242d3f19005f05962d68bd6e6cc85eef5 (diff)
support giving UDP port as argument
Diffstat (limited to 'extra')
-rw-r--r--extra/syslog.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/syslog.rb b/extra/syslog.rb
index 0c8aa9d..f39b612 100644
--- a/extra/syslog.rb
+++ b/extra/syslog.rb
@@ -106,5 +106,5 @@ module Oxidized
end
end
-Oxidized::SyslogMonitor.udp
+Oxidized::SyslogMonitor.udp ARGV[0]
#Oxidized::SyslogMonitor.file '/var/log/poop'