enhancement proposal: checking and using name resolvers

Issue #203 new
Ulrich Windl created an issue

While you can specify network addresses and protocols (UDP, TCP, etc) by name, you cannot specify service ports by name in monit (it seems to me).

Likewise it seems you cannot check (the local) resolution of a service name (getservbyname) like "ldap/tcp".

What about allowing to check resolution of such service names and allow usage of such where it makes sense?

Maybe the syntax could be like: if check resolve service "ldap/tcp" then ...

In addition to "service" you could allow the typical candidates: UID, GID, host, ...

The resolve could work two-way: If you specify a name, it will try to get a number, and if you specify a number, it will try to get the name...

Comments (1)

  1. Log in to comment