Official simple service Templates:
- FTP Service
- HTTP Service
- HTTPS Service
- IMAP Service
- LDAP Service
- NNTP Service
- NTP Service
- POP Service
- SMTP Service
- SSH Service
- Telnet Service
should all have a macro to override the port on which the service has to be checked:
For example on HTTP service:
... items: - uuid: 5cf1d86051e34f47aec2bb0d97cf6b44 name: 'HTTP service is running' type: SIMPLE key: 'net.tcp.service[http,,{$HTTP_SERVICE.PORT}]' history: 1w valuemap: name: 'Service state' tags: - tag: component value: network ... macros: - macro: '{$HTTP_SERVICE.PORT}' value: '80' description: 'Port on which to monitor the HTTP service' ...