diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-13 15:25:20 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-13 15:25:20 +0000 |
commit | 75e620f62278366f8810bae2a906435284b1003e (patch) | |
tree | 4400470ec532f4657d6ec500cb9a8bca6cf54acf | |
parent | 58b71405c03e5344b43993e75984174407a74ac6 (diff) |
Default port for jabber is 5222. Default port for telnet is 23
-rwxr-xr-x | parser/parser.rb | 4 |
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 |