Ad Widget

Collapse

Zabbix agent updates only cpu stats

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marcinkloc
    Junior Member
    • May 2013
    • 15

    #1

    Zabbix agent updates only cpu stats

    Hello all,

    I have some problems with zabbix agent on linux server. Server is monitored by proxy, and both proxy and agent are installed on the same machine.
    when I start agent with debug i've got:

    Code:
    1351:20130508:170311.357 End of update_cpustats()
      1351:20130508:170312.357 In update_cpustats()
      1351:20130508:170312.358 End of update_cpustats()
      1351:20130508:170313.360 In update_cpustats()
      1351:20130508:170313.386 End of update_cpustats()
      1351:20130508:170314.387 In update_cpustats()
      1351:20130508:170314.388 End of update_cpustats()
    and no other data are processed by agent.

    On server side log:

    Code:
     4379:20130508:171250.921 Sending configuration data to proxy 'TGM KRK'. Datalen 9389
    I dont know is the server, proxy or agent problem. How can I check if proxy is sending config to agent.

    please help,
    Marcin
  • tchjts1
    Senior Member
    • May 2008
    • 1605

    #2
    What version of Zabbix server and what version of Zabbix agent are you using?

    Have you assigned Template OS Linux to this host?

    Are you seeing anything under Monitoring --> Latest Data for this host?

    When you look at Configuration --> Hosts and select this host, then look at the "Items" for it, are you seeing red or green checkmarks for the items under the "Error" column at the right?

    Are your items "Type" of Zabbix agent or Zabbix agent (Active) ?

    Comment

    • marcinkloc
      Junior Member
      • May 2013
      • 15

      #3
      Server version: Zabbix server v2.0.5 (revision 33558) (12 February 2013)
      Yes, template OS Linux is linked
      No data under Latest Data page
      All Items are from Linux OS template, no discovery items added
      On Items page all Items are green
      Agent type is Zabbix Agent. (It's passive agent monitored by active proxy)

      OS for agent and proxy is Centos 6 x64
      I updated agent and proxy to newest version via yum.

      Marcin

      Comment

      • tchjts1
        Senior Member
        • May 2008
        • 1605

        #4
        Do you have any hosts being successfully monitored by this proxy?

        Proxy service is running, right? ps -ef|grep zabbix

        On your host, in zabbix_agentd.conf file, you have your proxy IP (Or DNS) in Server= field? (This can contain both Zabbix App and proxy IP's or DNS)

        In the Zabbix GUI under Configuration --> Hosts, you have this host set to "Monitored by Proxy" <proxy> ?

        Comment

        • marcinkloc
          Junior Member
          • May 2013
          • 15

          #5
          sorry for late response, I have some problem with firewall, and at this moment I have no connection between proxy and server. I hope I can fix this issue asap
          Anyway,

          for now I have only one host monitored by proxy. I'll add another for test purpose, and when I have my proxy-server connection back I'll test it

          proxy is running, agent's [server] directive is configured to proxy IP (localhost,ip), in Zabbix UI/host configuration I have set monitored by my_proxy

          for now I have to set up my firewall.

          ***************
          I think it was becouse of wrong proxy database creation. Proxy needs only schema.sql and no data.sql and images.sql
          Last edited by marcinkloc; 02-02-2014, 13:42. Reason: SOLVED

          Comment

          Working...