Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. ServiceCheck.SMTP sample parameter line

ServiceCheck.SMTP sample parameter line

Scheduled Pinned Locked Moved Support
2 Posts 1 Posters 16.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    T
    Toepfe
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • T
      T
      Toepfe
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0

      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
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups