Werk #22249 · Oct 5, 26
check_sftp: Replace host macros in host name and service name
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.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p16All Editions
- 2.4.0p39All Editions