Ad Widget

Collapse

The LAST value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Roman Filippov
    Junior Member
    • Feb 2023
    • 19

    #1

    The LAST value

    if you make the LAST value operational data, then there is no need to write values to the database. And the triggers will work.
    The problem is that some triggers do not work if the trolling was triggered when the trigger was suppressed. plus, for example, I don't need statistics from many values that are used in triggers.
  • repeatinghumburger
    Junior Member
    • Jan 2024
    • 2

    #2
    Can you explain more detail for me plz!? scratch geometry dash

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #3
      err... What? Some trolling was definitely triggered here...

      Comment

      • Roman Filippov
        Junior Member
        • Feb 2023
        • 19

        #4
        If zabbix receives LAST VALUE from operational data, then there is no need to store this data. you can set not to store data, and triggers will work.

        Comment

        • cyber
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2006
          • 4807

          #5
          Originally posted by Roman Filippov
          If zabbix receives LAST VALUE from operational data, then there is no need to store this data. you can set not to store data, and triggers will work.
          It just does not work that way... Set a very short history period, if it so much bothers you.. Resolves all the issues and noone needs to reinvent the wheel (some bizarre logic, how to determine if some values are saved and some not and how to do calculations each time)
          "Do not keep history" is meant for items, that gather a lot of data, which is then redistributed to depending items for example... You extract what you need and discard the rest.
          Even if You have triggers, that only rely on "last", other people may have a bit more complicated triggers, which rely on data over time. That would be quite impossible without saving it first...

          Comment

          • Roman Filippov
            Junior Member
            • Feb 2023
            • 19

            #6
            Originally posted by cyber

            It just does not work that way... Set a very short history period, if it so much bothers you.. Resolves all the issues and noone needs to reinvent the wheel (some bizarre logic, how to determine if some values are saved and some not and how to do calculations each time)
            "Do not keep history" is meant for items, that gather a lot of data, which is then redistributed to depending items for example... You extract what you need and discard the rest.
            Even if You have triggers, that only rely on "last", other people may have a bit more complicated triggers, which rely on data over time. That would be quite impossible without saving it first...
            I'm not arguing, but what you're saying is just an excuse. If I have to monitor a lot of things that I don't need in the database, then what? 200 GB per month in a database of useless junk, the history of which is not needed.
            plus, it often happens that a trigger that has been suppressed and has been tottled, then the value of the trigger turns out to be {unknown}.

            Comment

            • cyber
              Senior Member
              Zabbix Certified SpecialistZabbix Certified Professional
              • Dec 2006
              • 4807

              #7
              Useless junk goes away with a 1h history keeping time.. Its the shortest you can have, I think... data collection and trigger calculations and data removal are different processes, one informs the other of new values arriving, until other takes that value and uses it, it needs to be stored. Same flow for each item and type. Moving one part to another place in flow can result in awfully complicated code, as you introduce exceptions, as not all things are now dealt with in a same way.
              I think it would be impossible to have 200G of junk per month, if you remove it after 1h period.. But not having enough data turns your triggers to unknown... Its kind of the opposite, you should have enough to keep things happy and functioning..

              Comment

              • Roman Filippov
                Junior Member
                • Feb 2023
                • 19

                #8
                Imagine that I set the item in the settings to "do not store history" and everything works fine, the HDD is not used in vain, the database is not used in any way.
                And deleting data after an hour still grows the database.
                What I propose increases the speed of work, reduces the load, increases the ease of work of zabbix, and significantly.

                Comment

                • cyber
                  Senior Member
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • Dec 2006
                  • 4807

                  #9
                  Originally posted by Roman Filippov
                  What I propose increases the speed of work, reduces the load, increases the ease of work of zabbix, and significantly.
                  I will forever disagree with you but lets leave it here... It becomes already something that should be argued behind a glass of beer ...

                  Comment

                  • Roman Filippov
                    Junior Member
                    • Feb 2023
                    • 19

                    #10
                    Originally posted by cyber

                    I will forever disagree with you but lets leave it here... It becomes already something that should be argued behind a glass of beer ...
                    This is an evasion.

                    Comment

                    • Roman Filippov
                      Junior Member
                      • Feb 2023
                      • 19

                      #11
                      Those who follow this group would like to get a real answer from the developers. whether such a wish will be taken into account or ignored.
                      I also ask you to indicate the real reasons for this behavior.

                      Comment

                      • cyber
                        Senior Member
                        Zabbix Certified SpecialistZabbix Certified Professional
                        • Dec 2006
                        • 4807

                        #12
                        Whatta demanding tone... https://support.zabbix.com/browse/ZBXNEXT Submit your feature request and you may get some answers... Probably sooner than waiting someone to read it here.

                        Comment

                        • Roman Filippov
                          Junior Member
                          • Feb 2023
                          • 19

                          #13
                          Originally posted by cyber
                          Whatta demanding tone... https://support.zabbix.com/browse/ZBXNEXT Submit your feature request and you may get some answers... Probably sooner than waiting someone to read it here.
                          The branch is called Zabbix Suggestions and Feedback, I thought they were discussing here, which is enough for the developers to add it to zabbix. so it turns out I didn't write there

                          Comment

                          Working...