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

Please add systemd.unit.info["{#UNIT.NAME}",Type,Service] information to the systemd.unit.get["{#UNIT.NAME}"] query.

    XMLWordPrintable

Details

    • Change Request
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 5.4.9
    • None
    • Agent2 plugin (N)
    • None

    Description

      In my environment i am checking for systemd.unit.info"{#UNIT.NAME}",Type,Service to get the service type. Additionally i have set a trigger condition that for example services with type "oneshot" will not fire the trigger.

      With the latest provided systemd template all data is gathered in one go by: systemd.unit.get"{#UNIT.NAME}"

      Unfortunately to get the service type i have to run another query separately for each service: systemd.unit.info"{#UNIT.NAME}",Type,Service 

      In the ideal world the initial systemd.unit.get"{#UNIT.NAME}" would also include the data of systemd.unit.info"{#UNIT.NAME}",Type,Service to have a single query get the service type information.

      If you need  additional information please let me know.

       

       

       

      Attachments

        Activity

          People

            vjaceslavs Vjaceslavs Bogdanovs
            che666 Rudolf Kastl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: