• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    JSON Quantize Configuration

    Mango feedback
    2
    7
    1.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jcaballeroa
      last edited by

      When recovering a backup through an imported JSON, it happens to me that all those Data Sources that have the value:

      "quantize": true

      after importing they appear with this value deactivated.
      0_1590739959262_2cb43e43-24c4-4c2e-b0d8-39d018d9a593-image.png

      Is this a bug? Is there a way to activate them all again other than manually, with a script maybe? There are a lot of them, and doing it by hand takes work that I thought would save me from importing the JSON.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • terrypackerT
        terrypacker
        last edited by

        @jcaballeroa what version of Mango, what data source type? From a quick check of the codebase for 3.7 this should work but it may be specific to a certain data source type.

        1 Reply Last reply Reply Quote 0
        • J
          jcaballeroa
          last edited by

          Hi, @terrypacker

          We have 3.6 version. This problem occur with SNMP Data source.

          If do you need, i can upload at a google drive one link with a JSON that we use.

          Thanks.

          1 Reply Last reply Reply Quote 0
          • terrypackerT
            terrypacker
            last edited by

            @jcaballeroa I took a look in the code and found a bug, this will be fixed in Mango 4.0. Apologies for the trouble and thanks for pointing this out.

            As for your original question besides manually you could do this with a script but it would require accessing the underlying java classes as there are no script utilities that I am aware of to save a data source.

            1 Reply Last reply Reply Quote 0
            • J
              jcaballeroa
              last edited by

              Thank you @terrypacker, I am glad that the issue has served to resolve this issue. We will wait for the 4.0 update then to fix it.

              J 1 Reply Last reply Reply Quote 0
              • J
                jcaballeroa @jcaballeroa
                last edited by

                Hi @terrypacker.

                We have seen that you have already solved this problem in the new Mango 4.0: "Fixed the bug where the quantization settings in a data source were not imported in a JSON import".

                If we need to use this functionality, is it necessary for us to buy an upgrade from our Mango 3.6 to version 4.0?

                1 Reply Last reply Reply Quote 0
                • terrypackerT
                  terrypacker
                  last edited by

                  @jcaballeroa Mango 4.0.0 is a paid upgrade.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post