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

S.M.A.R.T. discovery, graph prototype not creating real graphs

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.4.9
    • None
    • None

      Steps to reproduce:

      I'm using smart.disk.discovery with Zabbix Agent 2. I have edited the template for my needs and added a bunch of item protypes.

      Because we use a lot of SSD vendors I added a simple override for every item prototype for not creating metrics which are not present on the disc. Screens are below.

      Everything is working great, items are created as expected.

      Problem is with graphs. I created a simple graph prototype where I want to have all metrics in one graph. And it acts very wierdly. When I unlink and clear the template, save and add it again, no graphs are created. Then when I edit the graph prototype and remove for example half of item prototypes, graph will create, but only for one disc from three installed. When I edit it again and add the rest of the item protypes then they are added and I have all of them in graph, but only for one disc (the first one). Of course this procedure is really annoying and i can't do it everytime when new machine is added to Zabbix,

      When I started creating overrides I had a rule Create enabled -> No, which is working, but even disabled items are added to graph (that is not what I want). With this setting Zabbix created three graphs (I have three discs in machine) with every metric - of course metrics not present on disc are with "no data".

      Then I changed all overrides (31) to Discover -> No and I started to have problems with creating the real graph as described above.

      Zabbix does not report any kind of error in discovery frontend. I didn't found any related errors in Zabbix server log and Zabbix Agent 2 log when highest logging level was enabled.

      I changed (just for testing) the macro {#NAME} for {#SN} and it stays on the graph like it is some kind of stuck, when I unlink the template it will change to #NAME instead of #SN (with the procedure of editing graph prototype, remove half of them etc. as described above).

      Result:

      Graphs are not created

      Expected:
      Creating real graphs from graph prototype.

            zalex_ua Oleksii Zagorskyi
            Dolejší Jakub Dolejší
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: