Ad Widget

Collapse

Active items not acheiving 1s interval

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Wexiwa
    Junior Member
    • Oct 2016
    • 2

    #1

    Active items not acheiving 1s interval

    Hi,

    We are trying to set up few active items configured with a 1 second interval. However those items don't keep up the interval, instead we are gathering a value every ~30 seconds (as seen on the corresponding graph).
    Testing the above with a simple "echo 1" as user paramater on the client side, which should be sent every 1 second without delay.

    We looked at the configurations files both on the server/client, but didn't see what could help us achieve this (apart from adding more pollers).

    What could be the reasons of this behavior and/or how to find the bottleneck ?
    As I saw in the sticky post, is tweaking MySQL mandatory on a relatively new and small setup ?



    Thank you
    Last edited by Wexiwa; 06-10-2016, 10:38. Reason: Remove mistake
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    when you go to the grafe section or load a page in zabbix server with a lot of
    info does it take a lot of time ?

    Comment

    • kloczek
      Senior Member
      • Jun 2006
      • 1771

      #3
      Originally posted by Wexiwa
      Hi,

      We are trying to set up few active items configured with a 1 second interval. However those items don't keep up the interval, instead we are gathering a value every ~30 seconds (as seen on the corresponding graph).
      Testing the above with a simple "echo 1" as user paramater on the client side, which should be sent every 1 second without delay.

      We looked at the configurations files both on the server/client, but didn't see what could help us achieve this (apart from adding more pollers).
      Are you sure that changed configuration of the items have been propagated down to agent?
      How long after change item setting it was still 30s interval?
      http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
      https://kloczek.wordpress.com/
      zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
      My zabbix templates https://github.com/kloczek/zabbix-templates

      Comment

      • Wexiwa
        Junior Member
        • Oct 2016
        • 2

        #4
        Hi,

        Thank you for your replies!

        when you go to the grafe section or load a page in zabbix server with a lot of
        info does it take a lot of time ?
        Not really, unless when I configure a graph to see a big period of time, showing lots of values, It take a bit to render the graph (not that much).

        Are you sure that changed configuration of the items have been propagated down to agent?
        How long after change item setting it was still 30s interval?
        Yes, I am sure it is well configured as the items were at 1s interval from the beginning.

        I think I found the issue as it seems that the agent is processing active items sequentially. Because when I test with only one item, zabbix is able to reach 1s interval. Then, when I add more items, the interval is not respected anymore. As the user parameters behind my items is a program that take at most 1s to process (mainly waiting for an answer) this explains this behavior.

        Comment

        • jan.garaj
          Senior Member
          Zabbix Certified Specialist
          • Jan 2010
          • 506

          #5
          There is only one Zabbix agent thread to process active items, so your 1sec userparameter block other items to be collected -> yes it's sequential processing
          Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
          My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

          Comment

          Working...