Can xymon smtp test on multiple ports out of the box? And if so is there a way to see which port is being requested?
We've got a separate test defined in protocols.cfg and that works, but if the syntax were the same as for other network test, this should work also:
10.0.1.1 mailer.example.com # smtp smtp:8025
However I see only one test result with no port identified.
Maybe protocols.cfg is just the way to do it, but the docs imply that network tests can take a port as a parameter)
Can xymon smtp test on multiple ports out of the box? And if so is there a way to see which port is being requested?
We've got a separate test defined in protocols.cfg and that works, but if the syntax were the same as for other network test, this should work also:
10.0.1.1 mailer.example.com # smtp smtp:8025
However I see only one test result with no port identified.
Maybe protocols.cfg is just the way to do it, but the docs imply that network tests can take a port as a parameter)
Well at the risk of being wrong (yet again), I would think you'd need to call it by a different name, so smtp and smtp8025 (or whatever). You'd need to define this in protocols.cfg. You could then do a "chat" like the one for smtp in protocols.cfg and get a result, rather than just a connect.
[smtp] send "mail\r\nquit\r\n" expect "220" options banner port 25
[smtp8025] send "mail\r\nquit\r\n" expect "220" options banner port 8025
On Tuesday, 3 May 2011 21:05:27 Elizabeth Schwartz wrote:
Can xymon smtp test on multiple ports out of the box? And if so is there a way to see which port is being requested?
We've got a separate test defined in protocols.cfg and that works, but if the syntax were the same as for other network test, this should work also:
10.0.1.1 mailer.example.com # smtp smtp:8025
However I see only one test result with no port identified.
Maybe protocols.cfg is just the way to do it, but the docs imply that network tests can take a port as a parameter)
Yes, but that doesn't mean that you can use the same "test" twice and get separate pages. If you just wanted to test SMTP on 8025, then smtp:8025 would be for you.
In our case, we want to be able to separately monitor different SMTP services (e.g. report on their availability separately) and so we have duplicate definitions in bb-services (yes, the box testing our SMTP services is running 4.2.x).
Regards, Buchan
participants (3)
-
betsy.schwartz@gmail.com
-
bgmilne@staff.telkomsa.net
-
Phil.Crooker@orix.com.au