Hi,
Without looking at the docs I think what you are seeing is a host entry getting parsed and picking up the first 'smtp' statement it sees. So, out of the box for an individual host entry with multiple smtp statements, probably no. Then again, it is an open source project, so 'out of the box' has a different meaning:)
If you want to add your own tests it's fairly simple, but I don't think you can extend the single smtp gem with multiple ports on the same host. You can have tests with different host:port pairs or add a column with your own tests. Depends on if you want the screen to draw more gems horizontally, or increase the host count (vertically).
Regards,
Tim
From: xymon-bounces at xymon.com [xymon-bounces at xymon.com] On Behalf Of Elizabeth Schwartz [betsy.schwartz at gmail.com] Sent: Tuesday, May 03, 2011 12:05 PM To: xymon at xymon.com Subject: [Xymon] SMTP on multiple ports
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)
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon