summaryrefslogtreecommitdiff
path: root/parser/parser.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-13 15:25:20 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-13 15:25:20 +0000
commit75e620f62278366f8810bae2a906435284b1003e (patch)
tree4400470ec532f4657d6ec500cb9a8bca6cf54acf /parser/parser.rb
parent58b71405c03e5344b43993e75984174407a74ac6 (diff)
Default port for jabber is 5222. Default port for telnet is 23
Diffstat (limited to 'parser/parser.rb')
-rwxr-xr-xparser/parser.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/parser/parser.rb b/parser/parser.rb
index 9e5f1ea..83debae 100755
--- a/parser/parser.rb
+++ b/parser/parser.rb
@@ -224,6 +224,8 @@ class MonitorConfig
case service
when /ssh/ then
port=22
+ when /jabber/ then
+ port=5222
when /ldap/ then
port=389
when /^https$/ then
@@ -235,7 +237,7 @@ class MonitorConfig
when /ftp/i then
port=21
when /telnet/i then
- port=20
+ port=23
when /smtp/i then
port=25
end