Ad Widget

Collapse

Zabbix Agent is not polling devices with SNMP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shoutbb
    Junior Member
    • Oct 2018
    • 5

    #1

    Zabbix Agent is not polling devices with SNMP

    Clean CentOS8 and Ubuntu 20.04 install
    Installed net-snmp and can snmpwalk devices just fine
    Installed Zabbix agent and edited Server = 10.x.x.x and HostName=ZabbixServerHostName
    Restarted services

    On Zabbix server, I added a proxy and entered the information with port 10050 for passive
    Zabbix server shows it connected and refreshes correctly

    However, any device I attempt to monitor with the proxy will not have it's SNMP turn green and stops polling everything.
    I've waited several days and still nothing

    Agent logs look fine, but sometimes shows this:
    33211:20211126:193744.041 zbx_setproctitle() title:'collector [idle 1 sec]'
    33212:20211126:193744.126 zbx_setproctitle() title:'listener #1 [processing request]'
    33212:20211126:193744.126 zbx_tcp_recv_ext(): received 32 bytes with compression ratio 0.8
    33212:20211126:193744.126 Requested [{"request":"proxy data"}]
    33212:20211126:193744.126 Sending back [ZBX_NOTSUPPORTED: Invalid item key format.]
    33212:20211126:193744.126 zbx_setproctitle() title:'listener #1 [waiting for connection]'
    33214:20211126:193744.482 zbx_setproctitle() title:'listener #3 [processing request]'
    33214:20211126:193744.482 Requested [system.cpu.load[all,avg5]]
    33214:20211126:193744.482 Sending back [0.040000]
    33214:20211126:193744.483 zbx_setproctitle() title:'listener #3 [waiting for connection]'
    33211:20211126:193745.042 zbx_setproctitle() title:'collector [processing data]'
    33211:20211126:193745.042 In update_cpustats()
    33211:20211126:193745.042 End of update_cpustats()


    I don't think the Invalid item key format is the problem. Can anyone help me find out why the proxy agent does not work with SNMP?

    Thank you!
  • shoutbb
    Junior Member
    • Oct 2018
    • 5

    #2
    Can anyone help? I've set this proxy up on several OS's and followed every bit of instruction but the Agent still does not poll devices with SNMP.

    Comment

    • Hamardaban
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • May 2019
      • 2713

      #3
      What are the server versions? proxy? an agent?
      The snmp connection is performed not by an agent, but by a proxy or server.

      Comment

      • shoutbb
        Junior Member
        • Oct 2018
        • 5

        #4
        Thank you for your response! I think that might be the issue is that I installed/configured an agent on another machine - then set up a proxy to point to it on my main Zabbix server... but I really need to set up a zabbix-proxy.. I'll give that a try and let you know how that works for me.

        Comment

        Working...