Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-18964

ipmi.get trim required

XMLWordPrintable

    • Icon: Patch request Patch request
    • Resolution: False Positive
    • Icon: Trivial Trivial
    • None
    • None
    • None

      Steps to reproduce:

      1. Create IPMI monitoring item
      2. Set sensors name HDD Temp 

      Result:
      sensor or control HDD Temp@[]:623 does not exist
      Expected:
       item ":hdd.temp" became supported

      if check JSON file created by ipmi.get  you can see that there are a lot of extra spaces in  sensor id, if take this id and create an item it works like expected

       

      {"id":"HDD Temp        ","name":"(4.32).HDD Temp ","sensor":\{"type":1,"text":"temperature"}

      ,"reading":{"type":1,"text":"threshold"},"state":{"state":0,"text":""},"value":18.000000,"units":"C","threshold":{"lower":

      {"non_crit":10.000000,"crit":5.000000,"non_recover":5.000000}

      ,"upper":{"non_crit":50.000000,"crit":55.000000,"non_recover":60.000000}}},{"id":"AOC_SAS Temp ","name":"(r0.32.46.0).AOC_SAS Temp

       

       

       

       

       

        1. ipmi2.png
          ipmi2.png
          14 kB
        2. ipmi1.png
          ipmi1.png
          118 kB
        3. ip.get.json
          36 kB

            zabbix.dev Zabbix Development Team
            spisarau Siahrei Pisarau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: