Ad Widget

Collapse

system.cpu.util returns no data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • seanys
    Junior Member
    • Sep 2010
    • 9

    #1

    system.cpu.util returns no data

    We have two identical physical RHEL6 servers, both using the same Template (Template_Linux_Monitor_CPU_Default) but only one server returns data for the following enabled "Zabbix agent (active)" monitors:

    system.cpu.util[,idle,avg1]
    system.cpu.util[,iowait,avg1]
    system.cpu.util[,system,avg1]

    We don't have shell access to the Zabbix server so I've tried testing by installing zabbix22-2.2.11-1.el7.x86_64.rpm (from EPEL) on another RHEL server and running zabbix_get (as per https://www.zabbix.com/documentation...ges/zabbix_get).

    I tried monitors for the server that *is* returning data to the Zabbix server but zabbix_get didn't return anything at all.

    E.g.

    zabbix_get -s 10.1.122.139 -p 10050 -k "system.swap.size[,total]"
    zabbix_get -s 10.1.122.139 -p 10050 -k "system.cpu.util[,idle,avg1]"

    Suggestions?
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    Originally posted by seanys
    We have two identical physical RHEL6 servers, both using the same Template (Template_Linux_Monitor_CPU_Default) but only one server returns data for the following enabled "Zabbix agent (active)" monitors:

    system.cpu.util[,idle,avg1]
    system.cpu.util[,iowait,avg1]
    system.cpu.util[,system,avg1]
    Probably because you are using on other host passive agent.
    Nevertheless you should be not using passive items as passive monitoring does not scale up well.
    In other words: everything is OK
    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

    • seanys
      Junior Member
      • Sep 2010
      • 9

      #3
      Originally posted by kloczek
      In other words: everything is OK
      How is this correct? There's no data for, what I believe are, standard monitors.

      Comment

      • glebs.ivanovskis
        Senior Member
        • Jul 2015
        • 237

        #4
        Probably IP address of the machine you are zabbix_get'ing from is not on the agent's Server list.

        Comment

        • kloczek
          Senior Member
          • Jun 2006
          • 1771

          #5
          Originally posted by seanys
          How is this correct? There's no data for, what I believe are, standard monitors.
          Standard templates are using passive items. If you've changed agent settings to active one automatically you've blocked monitoring such host over passive items.
          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

          Working...