Werk #22249: check_sftp: Replace host macros in host name and service name
| Component | Checks & agents | ||||||
| Title | check_sftp: Replace host macros in host name and service name | ||||||
| Date | Oct 5, 2026 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
Until now, the Check SFTP service rule used macros like $HOSTNAME$ literally. If you set the Host name field to $HOSTNAME$ so you could apply one rule to many hosts, the check tried to connect to a host that is literally named $HOSTNAME$. Every service then went CRIT with "Connection failed!".
This is fixed. Host macros in the Host name field and in a custom service name are now replaced with the values of the host the check runs for.