ServiceCheck.SMTP sample parameter line
-
Hi everybody,
I try to check the SMTP ports via ServiceCheck.SMTP as explained here https://www.netxms.org/forum/configuration/web-site-monitoring/15/
It seems that I get it to work with first option (network service on node). But only with Service type "User-defined", with Service type "SMTP" I'm not successful.
However I prefer to do it with second option (DCI ServiceCheck.SMTP or maybe ServiceCheck.Custom). After some variations it seems to work with the following parameter line of ServiceCheck.Custom:
ServiceCheck.Custom(ip-address,25000,"^SMTP 200.*",servername.domain.local)
To check if the SMTP service is available not only local, I try to use the NetXMS Server as proxy node. But then the check changed to unsupported. If I use above parameter line with ServiceCheck.SMTP I get back "2 - cannot connect to server". So I'm not sure if my parameter line is correct.
Could someone please write a sample line of the parameter field with ServiceCheck.SMTP (or ServiceCheck.Custom)?
Bye and thanks
Heimo -
Hi everybody,
I'm sorry, I made the ServiceCheck.Custom on the wrong node (NetXMS server instead of SMTP server), thereby the proxy node was wrong resp. the same machine. Now I moved the ServiceCheck.Custom to the SMTP server and put in the NetXMS server as proxy node, looks good. But I'm already unsure if my parameter line is correct and why it's not working with ServiceCheck.SMTP?
Therefore a sample parameter line would be very helpful for me

Bye
Heimo
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login