Xymon Mailing List Archive search

Tests on different ports

3 messages in this thread

list Michael Lowery · Fri, 13 May 2005 08:36:17 -0500 ·
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 · Fri, 13 May 2005 15:42:59 +0200 ·
quoted from Michael Lowery
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 · Fri, 13 May 2005 09:25:23 -0500 ·
Works great!  Thanks...
Michael
quoted from Henrik Størner


-----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