Tests on different ports
list Michael Lowery
Hi, I'm trying to run two SMTP tests on one server. My bb-hosts file looks like: 10.10.10.1 mail.domain.com # SMTP SMTP:8025 I have two ports that accept SMTP on that server, 25 & 8025. The problem is, if 8025 is down and 25 is up, I still get green from the test. What am I doing wrong? Thanks, Michael
list Henrik Størner
▸
On Fri, May 13, 2005 at 08:36:17AM -0500, Lowery, Michael wrote:
Hi, I'm trying to run two SMTP tests on one server. My bb-hosts file looks like: 10.10.10.1 mail.domain.com # SMTP SMTP:8025
Hobbit doesn't support this - running the same test on multiple ports. (Web - http - tests are the exception to that rule). My suggestion is to make a new testname for the port 8025 SMTP instance - edit the bb-services file and copy the [smtp] section to a new section eg with the name [smtp2], and change the port number for that to be 8025. The use the "smtp2" test in your bb-hosts file instead of "smtp:8025". Regards, Henrik
list Michael Lowery
Works great! Thanks... Michael
▸
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Friday, May 13, 2005 8:43 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Tests on different ports
On Fri, May 13, 2005 at 08:36:17AM -0500, Lowery, Michael wrote:Hi, I'm trying to run two SMTP tests on one server. My bb-hosts file looks like: 10.10.10.1 mail.domain.com # SMTP SMTP:8025
Hobbit doesn't support this - running the same test on multiple ports. (Web - http - tests are the exception to that rule). My suggestion is to make a new testname for the port 8025 SMTP instance - edit the bb-services file and copy the [smtp] section to a new section eg with the name [smtp2], and change the port number for that to be 8025. The use the "smtp2" test in your bb-hosts file instead of "smtp:8025". Regards, Henrik