Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-8102

Templates for simple services (HTTP,HTTPS,SSH,FTP,...) should contain macro to override port

XMLWordPrintable

      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'
      ...

            zit Zabbix Integration Team
            robinr Robin Roevens
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: