a3rd / molniya

Automatically exported from code.google.com/p/molniya
GNU General Public License v2.0
0 stars 0 forks source link

hostname cannot contain a dot #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. type in an existing hostname in from your nagios setup containing a dot
like server.test.com

What is the expected output? What do you see instead?
I expected the status of the host.
Instead I get "I'm sorry, I didn't quite catch that?"

What version of the product are you using? On what operating system?
Centos 5.3/i386
svn trunk checkout Revision: 33

Please provide any additional information below.
There is no error printed by the daemon.

Original issue reported on code.google.com by jalbstme...@gmail.com on 18 Jan 2010 at 3:28

GoogleCodeExporter commented 9 years ago
molniya.rb line 283
   first = scanner.scan(/[\w@]+/)

If extending this regex to include '-' and '.', it allows host checks, however 
there
may be additional changes required.

Original comment by matt.h...@gmail.com on 16 Apr 2010 at 4:45

GoogleCodeExporter commented 9 years ago
Fixed in revision 34.

Original comment by cswhee...@gmail.com on 21 Apr 2010 at 7:30