Ad Widget

Collapse

Zabbix agent is not working on Centos 6.9 version server.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abhishek.sebastian97
    Junior Member
    • Oct 2023
    • 2

    #1

    Zabbix agent is not working on Centos 6.9 version server.

    Hi all,

    I have installed the Zabbix agent based on the official documentation on the Centos 6.9 server. Installation seems to be successful and the agent is running perfectly fine. Also, while checking we couldn't find any connection issues between the Zabbix server and the agent.
    But in the Zabbix server, it's showing like "Zabbix agent is not available (or nodata for 30m)". We tried to install a different version but it's still showing the same error.


    [vmbind01]/home/rdryburgh> ping zabbix.urolime.com
    PING zabbix.urolime.com (34.199.78.72) 56(84) bytes of data.
    64 bytes from ec2-34-199-78-72.compute-1.amazonaws.com (34.199.78.72): icmp_seq=1 ttl=50 time=34.4 ms
    64 bytes from ec2-34-199-78-72.compute-1.amazonaws.com (34.199.78.72): icmp_seq=2 ttl=50 time=35.1 ms
    64 bytes from ec2-34-199-78-72.compute-1.amazonaws.com (34.199.78.72): icmp_seq=3 ttl=50 time=34.5 ms
    64 bytes from ec2-34-199-78-72.compute-1.amazonaws.com (34.199.78.72): icmp_seq=4 ttl=50 time=34.5 ms
    64 bytes from ec2-34-199-78-72.compute-1.amazonaws.com (34.199.78.72): icmp_seq=5 ttl=50 time=34.5 ms
    64 bytes from ec2-34-199-78-72.compute-1.amazonaws.com (34.199.78.72): icmp_seq=6 ttl=50 time=34.5 ms
    64 bytes from ec2-34-199-78-72.compute-1.amazonaws.com (34.199.78.72): icmp_seq=7 ttl=50 time=34.6 ms
    ^C
    --- zabbix.urolime.com ping statistics ---
    7 packets transmitted, 7 received, 0% packet loss, time 6635ms
    rtt min/avg/max/mdev = 34.468/34.627/35.158/0.300 ms


    Anyone please have a look and let us know how to solve this issue?
    Also, feel free to ask me for any further details.​​
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    "Ping" and "Zabbix agent is not available" trigger are not related... IIRC that trigger is based on agent.ping item, which is not actual ping, but a real try to communicate with agent by server. So if you say "agent is running perfectly fine", I suggest to double check this and dig into agents and servers logs.

    Comment

    • abhishek.sebastian97
      Junior Member
      • Oct 2023
      • 2

      #3
      Hi

      While checking the Zabbix agent's logs, we could see these below mentioned logs only. Could you please have a look ?


      29505:20231024:011900.422 sending [{"request":"active checks","host":"vmbind01","config_revision":0,"ses sion":"0cb43741b39bb8a0b58275f6cb1d8da1"}]
      29505:20231024:011900.422 before read
      29505:20231024:011900.459 got [{"response":"success","data":[{"key":"agent.hostname","delay":3600,"lastlogsi ze" :0,"mtime":0},{"key":"agent.ping","delay":60,"las t logsize":0,"mtime":0},{"key":"agent.version","dela y":3600,"lastlogsize":0,"mtime":0},{"key":"kern el. maxfiles","delay":3600,"lastlogsize":0,"mtime":0}, {"key":"kernel.maxproc","delay":3600,"lastlogsi ze" :0,"mtime":0},{"key":"net.if.discovery","delay":3 6 00,"lastlogsize":0,"mtime":0},{"key":"net.if.in["eth0",dropped]","delay":180,"lastlogsize":0,"mtime":0},{"key ":"n et.if.in["eth0",errors]","delay":180,"lastlogsize":0,"mtime":0},{"key ":"n et.if.in["eth0"]","delay":180,"lastlogsize":0,"mtime":0},{"key ":"n et.if.in["eth1",dropped]","delay":180,"lastlogsize":0,"mtime":0},{"key ":"n et.if.in["eth1",errors]","delay":180,"lastlogsize":0,"mtime":0},{"key ":"n et.if.in["eth1"]","delay":180,"lastlogsize":0,"mtime":0},{"key ":"n et.if.out["eth0",dropped]","delay":180,"lastlogsize":0,"mtime":0},{"key ":"n et.if.out["eth0",errors]","delay":180,"lastlogsize":0,"mtime":0},{"key ":"n et.if.out["eth0"]","delay":180,"lastlogsize":0,"mtime":0},{"key ":"n et.if.out["eth1",dropped]","delay":180,"lastlogsize":0,"mtime":0},{"key ":"n et.if.out["eth1",errors]","delay":180,"lastlogsize":0,"mtime":0},{"key ":"n et.if.out["eth1"]","delay":180,"lastlogsize":0,"mtime":0},{"key ":"p roc.num","delay":60,"lastlogsize":0,"mtime":0},{"k ey":"proc.num[,,run]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.boottime","delay":900,"lastlogsize":0,"mtime" :0},{"key":"system.cpu.intr","delay":60,"lastlogsi ze":0,"mtime":0},{"key":"system.cpu.load[all,avg15]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.load[all,avg1]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.load[all,avg5]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.num","delay":60,"lastlogsize":0,"mtime":0 },{"key":"system.cpu.switches","delay":60,"lastlo g size":0,"mtime":0},{"key":"system.cpu.util[,guest]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.util[,guest_nice]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.util[,idle]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.util[,interrupt]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.util[,iowait]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.util[,nice]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.util[,softirq]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.util[,steal]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.util[,system]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.util[,user]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.hostname","delay":3600,"lastlogsize":0,"mtime ":0},{"key":"system.localtime","delay":60,"las tlog size":0,"mtime":0},{"key":"system.sw.arch","delay" :3600,"lastlogsize":0,"mtime":0},{"key":"system.sw .os","delay":3600,"lastlogsize":0,"mtime":0},{"ke y ":"system.sw.packages","delay":3600,"lastlogsi ze": 0,"mtime":0},{"key":"system.swap.size[,free]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.swap.size[,pfree]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.swap.size[,total]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.uname","delay":900,"lastlogsize":0,"mtime":0} ,{"key":"system.uptime","delay":30,"lastlogsize" :0 ,"mtime":0},{"key":"system.users.num","delay":6 0," lastlogsize":0,"mtime":0},{"key":"vfs.dev.discover y","delay":3600,"lastlogsize":0,"mtime":0},{"ke y": "vfs.file.cksum[/etc/passwd,sha256]","delay":900,"lastlogsize":0,"mtime":0},{"key ":"v fs.file.contents["/sys/class/net/eth0/operstate"]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.file.contents["/sys/class/net/eth0/speed"]","delay":300,"lastlogsize":0,"mtime":0},{"key ":"v fs.file.contents["/sys/class/net/eth0/type"]","delay":3600,"lastlogsize":0,"mtime":0},{"ke y":" vfs.file.contents["/sys/class/net/eth1/operstate"]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.file.contents["/sys/class/net/eth1/speed"]","delay":300,"lastlogsize":0,"mtime":0},{"key ":"v fs.file.contents["/sys/class/net/eth1/type"]","delay":3600,"lastlogsize":0,"mtime":0},{"ke y":" vfs.file.contents[/sys/block/root/stat]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.file.contents[/sys/block/vda/stat]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.discovery","delay":3600,"lastlogsize":0,"mtim e":0},{"key":"vfs.fs.inode[/,pfree]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.inode[/boot,pfree]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.size[/,pfree]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.size[/,pused]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.size[/,total]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.size[/,used]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.size[/boot,pfree]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.size[/boot,pused]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.size[/boot,total]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.size[/boot,used]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vm .memory.size[available]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vm .memory.size[pavailable]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vm .memory.size[total]","delay":60,"lastlogsize":0,"mtime":0}]}]
      29505:20231024:011900.459 In parse_list_of_checks()
      29505:20231024:011900.459 In add_check() key:'agent.hostname' refresh:3600 lastlogsize:0 mtime:0
      29505:20231024:011900.460 End of add_check()
      29505:20231024:011900.460 In add_check() key:'agent.ping' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.460 End of add_check()
      29505:20231024:011900.460 In add_check() key:'agent.version' refresh:3600 lastlogsize:0 mtime:0
      29505:20231024:011900.460 End of add_check()
      29505:20231024:011900.460 In add_check() key:'kernel.maxfiles' refresh:3600 lastlogsize:0 mtime:0
      29505:20231024:011900.460 End of add_check()
      29505:20231024:011900.460 In add_check() key:'kernel.maxproc' refresh:3600 lastlogsize:0 mtime:0
      29505:20231024:011900.460 End of add_check()
      29505:20231024:011900.460 In add_check() key:'net.if.discovery' refresh:3600 lastlogsize:0 mtime:0
      29505:20231024:011900.460 End of add_check()
      29505:20231024:011900.460 In add_check() key:'net.if.in["eth0",dropped]' refresh:180 lastlogsize:0 mtime:0
      29505:20231024:011900.460 End of add_check()
      29505:20231024:011900.460 In add_check() key:'net.if.in["eth0",errors]' refresh:180 lastlogsize:0 mtime:0
      29505:20231024:011900.460 End of add_check()
      29505:20231024:011900.460 In add_check() key:'net.if.in["eth0"]' refresh:180 lastlogsize:0 mtime:0
      29505:20231024:011900.460 End of add_check()
      29505:20231024:011900.460 In add_check() key:'net.if.in["eth1",dropped]' refresh:180 lastlogsize:0 mtime:0
      29505:20231024:011900.461 End of add_check()
      29505:20231024:011900.461 In add_check() key:'net.if.in["eth1",errors]' refresh:180 lastlogsize:0 mtime:0
      29505:20231024:011900.461 End of add_check()
      29505:20231024:011900.461 In add_check() key:'net.if.in["eth1"]' refresh:180 lastlogsize:0 mtime:0
      29505:20231024:011900.461 End of add_check()
      29505:20231024:011900.461 In add_check() key:'net.if.out["eth0",dropped]' refresh:180 lastlogsize:0 mtime:0
      29505:20231024:011900.461 End of add_check()
      29505:20231024:011900.461 In add_check() key:'net.if.out["eth0",errors]' refresh:180 lastlogsize:0 mtime:0
      29505:20231024:011900.461 End of add_check()
      29505:20231024:011900.461 In add_check() key:'net.if.out["eth0"]' refresh:180 lastlogsize:0 mtime:0
      29505:20231024:011900.461 End of add_check()
      29505:20231024:011900.461 In add_check() key:'net.if.out["eth1",dropped]' refresh:180 lastlogsize:0 mtime:0
      29505:20231024:011900.461 End of add_check()
      29505:20231024:011900.461 In add_check() key:'net.if.out["eth1",errors]' refresh:180 lastlogsize:0 mtime:0
      29505:20231024:011900.461 End of add_check()
      29505:20231024:011900.461 In add_check() key:'net.if.out["eth1"]' refresh:180 lastlogsize:0 mtime:0
      29505:20231024:011900.461 End of add_check()
      29505:20231024:011900.461 In add_check() key:'proc.num' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.462 End of add_check()
      29505:20231024:011900.462 In add_check() key:'proc.num[,,run]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.462 End of add_check()
      29505:20231024:011900.462 In add_check() key:'system.boottime' refresh:900 lastlogsize:0 mtime:0
      29505:20231024:011900.462 End of add_check()
      29505:20231024:011900.462 In add_check() key:'system.cpu.intr' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.462 End of add_check()
      29505:20231024:011900.462 In add_check() key:'system.cpu.load[all,avg15]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.462 End of add_check()
      29505:20231024:011900.462 In add_check() key:'system.cpu.load[all,avg1]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.462 End of add_check()
      29505:20231024:011900.462 In add_check() key:'system.cpu.load[all,avg5]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.462 End of add_check()
      29505:20231024:011900.462 In add_check() key:'system.cpu.num' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.462 End of add_check()
      29505:20231024:011900.462 In add_check() key:'system.cpu.switches' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.462 End of add_check()
      29505:20231024:011900.462 In add_check() key:'system.cpu.util[,guest]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.462 End of add_check()
      29505:20231024:011900.463 In add_check() key:'system.cpu.util[,guest_nice]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.463 End of add_check()
      29505:20231024:011900.463 In add_check() key:'system.cpu.util[,idle]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.463 End of add_check()
      29505:20231024:011900.463 In add_check() key:'system.cpu.util[,interrupt]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.463 End of add_check()
      29505:20231024:011900.463 In add_check() key:'system.cpu.util[,iowait]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.463 End of add_check()
      29505:20231024:011900.463 In add_check() key:'system.cpu.util[,nice]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.463 End of add_check()
      29505:20231024:011900.463 In add_check() key:'system.cpu.util[,softirq]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.463 End of add_check()
      29506:20231024:011900.463 In send_buffer() host:'zabbix1.urolime.com' port:10051 entries:0/100
      29506:20231024:011900.463 End of send_buffer():SUCCEED
      29506:20231024:011900.463 zbx_setproctitle() title:'active checks #2 [idle 1 sec]'
      29505:20231024:011900.463 In add_check() key:'system.cpu.util[,steal]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.464 End of add_check()
      29505:20231024:011900.464 In add_check() key:'system.cpu.util[,system]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.464 End of add_check()
      29505:20231024:011900.464 In add_check() key:'system.cpu.util[,user]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.464 End of add_check()
      29505:20231024:011900.464 In add_check() key:'system.hostname' refresh:3600 lastlogsize:0 mtime:0
      29505:20231024:011900.464 End of add_check()
      29505:20231024:011900.464 In add_check() key:'system.localtime' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.464 End of add_check()
      29505:20231024:011900.464 In add_check() key:'system.sw.arch' refresh:3600 lastlogsize:0 mtime:0
      29505:20231024:011900.464 End of add_check()
      29505:20231024:011900.464 In add_check() key:'system.sw.os' refresh:3600 lastlogsize:0 mtime:0
      29505:20231024:011900.464 End of add_check()
      29505:20231024:011900.464 In add_check() key:'system.sw.packages' refresh:3600 lastlogsize:0 mtime:0
      29505:20231024:011900.464 End of add_check()
      29505:20231024:011900.464 In add_check() key:'system.swap.size[,free]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.464 End of add_check()
      29505:20231024:011900.464 In add_check() key:'system.swap.size[,pfree]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.465 End of add_check()
      29505:20231024:011900.465 In add_check() key:'system.swap.size[,total]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.465 End of add_check()
      29505:20231024:011900.465 In add_check() key:'system.uname' refresh:900 lastlogsize:0 mtime:0
      29505:20231024:011900.465 End of add_check()
      29505:20231024:011900.465 In add_check() key:'system.uptime' refresh:30 lastlogsize:0 mtime:0
      29505:20231024:011900.465 End of add_check()
      29505:20231024:011900.465 In add_check() key:'system.users.num' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.465 End of add_check()
      29505:20231024:011900.465 In add_check() key:'vfs.dev.discovery' refresh:3600 lastlogsize:0 mtime:0
      29505:20231024:011900.465 End of add_check()
      29505:20231024:011900.465 In add_check() key:'vfs.file.cksum[/etc/passwd,sha256]' refresh:900 lastlogsize:0 mtime:0
      29505:20231024:011900.465 End of add_check()
      29505:20231024:011900.465 In add_check() key:'vfs.file.contents["/sys/class/net/eth0/operstate"]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.465 End of add_check()
      29505:20231024:011900.465 In add_check() key:'vfs.file.contents["/sys/class/net/eth0/speed"]' refresh:300 lastlogsize:0 mtime:0
      29505:20231024:011900.465 End of add_check()
      29505:20231024:011900.465 In add_check() key:'vfs.file.contents["/sys/class/net/eth0/type"]' refresh:3600 lastlogsize:0 mtime:0
      29505:20231024:011900.466 End of add_check()
      29505:20231024:011900.466 In add_check() key:'vfs.file.contents["/sys/class/net/eth1/operstate"]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.466 End of add_check()
      29505:20231024:011900.466 In add_check() key:'vfs.file.contents["/sys/class/net/eth1/speed"]' refresh:300 lastlogsize:0 mtime:0
      29505:20231024:011900.466 End of add_check()
      29505:20231024:011900.466 In add_check() key:'vfs.file.contents["/sys/class/net/eth1/type"]' refresh:3600 lastlogsize:0 mtime:0
      29505:20231024:011900.466 End of add_check()
      29505:20231024:011900.466 In add_check() key:'vfs.file.contents[/sys/block/root/stat]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.466 End of add_check()
      29505:20231024:011900.466 In add_check() key:'vfs.file.contents[/sys/block/vda/stat]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.466 End of add_check()
      29505:20231024:011900.466 In add_check() key:'vfs.fs.discovery' refresh:3600 lastlogsize:0 mtime:0
      29505:20231024:011900.466 End of add_check()
      29505:20231024:011900.466 In add_check() key:'vfs.fs.inode[/,pfree]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.466 End of add_check()
      29505:20231024:011900.466 In add_check() key:'vfs.fs.inode[/boot,pfree]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.466 End of add_check()
      29505:20231024:011900.466 In add_check() key:'vfs.fs.size[/,pfree]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.467 End of add_check()
      29505:20231024:011900.467 In add_check() key:'vfs.fs.size[/,pused]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.467 End of add_check()
      29505:20231024:011900.467 In add_check() key:'vfs.fs.size[/,total]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.467 End of add_check()
      29505:20231024:011900.467 In add_check() key:'vfs.fs.size[/,used]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.467 End of add_check()
      29505:20231024:011900.467 In add_check() key:'vfs.fs.size[/boot,pfree]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.467 End of add_check()
      29505:20231024:011900.467 In add_check() key:'vfs.fs.size[/boot,pused]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.467 End of add_check()
      29505:20231024:011900.467 In add_check() key:'vfs.fs.size[/boot,total]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.467 End of add_check()
      29505:20231024:011900.467 In add_check() key:'vfs.fs.size[/boot,used]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.467 End of add_check()
      29505:20231024:011900.467 In add_check() key:'vm.memory.size[available]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.467 End of add_check()
      29505:20231024:011900.468 In add_check() key:'vm.memory.size[pavailable]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.468 End of add_check()
      29505:20231024:011900.468 In add_check() key:'vm.memory.size[total]' refresh:60 lastlogsize:0 mtime:0
      29505:20231024:011900.468 End of add_check()
      29505:20231024:011900.468 End of parse_list_of_checks():SUCCEED
      29505:20231024:011900.468 End of refresh_active_checks():SUCCEED
      29505:20231024:011900.468 zbx_setproctitle() title:'active checks #1 [processing active checks]'
      29505:20231024:011900.468 In process_active_checks() server:'zabbix.urolime.com' port:10051
      29505:20231024:011900.468 End of process_active_checks()
      29505:20231024:011900.468 In get_min_nextcheck()
      29505:20231024:011900.468 End of get_min_nextcheck():1698128343
      29505:20231024:011900.468 zbx_setproctitle() title:'active checks #1 [idle 1 sec]'



      Please find the above logs and attached screenshot for your reference and let me know the steps to resolve this issue

      Click image for larger version

Name:	image_2023_10_25T09_46_07_473Z (1).png
Views:	603
Size:	12.0 KB
ID:	472962

      Comment

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

        #4
        This logfile just shows that agent has requested and received a set of active check and has started to gather data.. Nothing about trying to send this data to server/proxy.
        Try to find something about "vmbind01" in server logs also...

        Comment

        • abhishek.sebastian97
          Junior Member
          • Oct 2023
          • 2

          #5
          Hi

          I have installed Zabbix-agent 6.4.8 VERSION on a CentOS 6 server. Everything works fine as expected but the Zabbix server's latest check is not getting updated and the Zabbix server shows "Zabbix agent is not available" Alert.

          The results of some basic checks have been added below. Zabbix log result is also added below.

          service zabbix-agent status
          zabbix_agentd (pid 18328) is running...

          Zabbix Configuration details
          ===============================================
          PidFile=/var/run/zabbix/zabbix_agentd.pid
          LogFile=/var/log/zabbix/zabbix_agentd.log
          LogFileSize=0
          DebugLevel=4
          Server=zabbix.ur****e.com,zabbix1.ur****e.com
          ServerActive=zabbix.ur****e.com,zabbix1.ur****e.co m
          Hostname=vm*****02
          Include=/etc/zabbix/zabbix_agentd.d/*.conf
          ===============================================

          ping zabbix1.ur****e.com
          PING zabbix1.ur****e.com (163.172.146.253) 56(84) bytes of data.
          64 bytes from zabbix1.ur****e.com (163.172.146.253): icmp_seq=1 ttl=48 time=113 ms
          64 bytes from zabbix1.ur****e.com (163.172.146.253): icmp_seq=2 ttl=48 time=112 ms
          64 bytes from zabbix1.ur****e.com (163.172.146.253): icmp_seq=3 ttl=48 time=113 ms
          64 bytes from zabbix1.ur****e.com (163.172.146.253): icmp_seq=4 ttl=48 time=113 ms
          ^C
          --- zabbix1.ur****e.com ping statistics ---
          4 packets transmitted, 4 received, 0% packet loss, time 3686ms
          rtt min/avg/max/mdev = 112.964/113.115/113.239/0.428 ms

          telnet zabbix1.ur****e.com 10051
          Trying 163.172.146.253...
          Connected to zabbix1.ur****e.com.
          Escape character is '^]'.
          Connection closed by foreign host.

          telnet zabbix1.ur****e.com 10050
          Trying 163.172.146.253...
          Connected to zabbix1.ur****e.com.
          Escape character is '^]'.
          Connection closed by foreign host.

          zabbix_agentd -t agent.ping
          agent.ping [u|1]

          zabbix_agentd -t system.uptime
          system.uptime [u|102329709]

          zabbix_agentd -t system.uname
          system.uname [s|Linux vm*****02 2.6.32-696.23.1.el6.x86_64 #1 SMP Tue Mar 13 22:44:18 UTC 2018 x86_64]

          Log details
          =================================
          18334:20231127:180719.330 sending [{"request":"active checks","host":"vm*****02","config_revision":0,"se ssion":"cdfb37f4386a6a9921e340bbe07a92d6"}]
          18334:20231127:180719.331 before read
          18334:20231127:180719.446 got [{"response":"success","data":[{"key":"agent.hostname","delay":3600,"lastlogsi ze" :0,"mtime":0},{"key":"agent.ping","delay":60,"las t logsize":0,"mtime":0},{"key":"agent.version","dela y":3600,"lastlogsize":0,"mtime":0},{"key":"kern el. maxfiles","delay":3600,"lastlogsize":0,"mtime":0}, {"key":"kernel.maxproc","delay":3600,"lastlogsi ze" :0,"mtime":0},{"key":"net.if.discovery","delay":3 6 00,"lastlogsize":0,"mtime":0},{"key":"net.if.in["eth1",dropped]","delay":180,"lastlogsize":0,"mtime":0},{"key ":"n et.if.in["eth1",errors]","delay":180,"lastlogsize":0,"mtime":0},{"key ":"n et.if.in["eth1"]","delay":180,"lastlogsize":0,"mtime":0},{"key ":"n et.if.out["eth1",dropped]","delay":180,"lastlogsize":0,"mtime":0},{"key ":"n et.if.out["eth1",errors]","delay":180,"lastlogsize":0,"mtime":0},{"key ":"n et.if.out["eth1"]","delay":180,"lastlogsize":0,"mtime":0},{"key ":"p roc.num","delay":60,"lastlogsize":0,"mtime":0},{"k ey":"proc.num[,,run]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.boottime","delay":900,"lastlogsize":0,"mtime" :0},{"key":"system.cpu.intr","delay":60,"lastlogsi ze":0,"mtime":0},{"key":"system.cpu.load[all,avg15]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.load[all,avg1]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.load[all,avg5]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.num","delay":60,"lastlogsize":0,"mtime":0 },{"key":"system.cpu.switches","delay":60,"lastlo g size":0,"mtime":0},{"key":"system.cpu.util[,guest]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.util[,guest_nice]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.util[,idle]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.util[,interrupt]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.util[,iowait]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.util[,nice]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.util[,softirq]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.util[,steal]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.util[,system]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.cpu.util[,user]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.hostname","delay":3600,"lastlogsize":0,"mtime ":0},{"key":"system.localtime","delay":60,"las tlog size":0,"mtime":0},{"key":"system.sw.arch","delay" :3600,"lastlogsize":0,"mtime":0},{"key":"system.sw .os","delay":3600,"lastlogsize":0,"mtime":0},{"ke y ":"system.sw.packages","delay":3600,"lastlogsi ze": 0,"mtime":0},{"key":"system.swap.size[,free]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.swap.size[,pfree]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.swap.size[,total]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"sy stem.uname","delay":900,"lastlogsize":0,"mtime":0} ,{"key":"system.uptime","delay":30,"lastlogsize" :0 ,"mtime":0},{"key":"system.users.num","delay":6 0," lastlogsize":0,"mtime":0},{"key":"vfs.dev.discover y","delay":3600,"lastlogsize":0,"mtime":0},{"ke y": "vfs.file.cksum[/etc/passwd,sha256]","delay":900,"lastlogsize":0,"mtime":0},{"key ":"v fs.file.contents["/sys/class/net/eth1/operstate"]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.file.contents["/sys/class/net/eth1/speed"]","delay":300,"lastlogsize":0,"mtime":0},{"key ":"v fs.file.contents["/sys/class/net/eth1/type"]","delay":3600,"lastlogsize":0,"mtime":0},{"ke y":" vfs.file.contents[/sys/block/root/stat]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.file.contents[/sys/block/sda/stat]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.discovery","delay":3600,"lastlogsize":0,"mtim e":0},{"key":"vfs.fs.inode[/,pfree]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.inode[/boot,pfree]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.size[/,pfree]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.size[/,pused]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.size[/,total]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.size[/,used]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.size[/boot,pfree]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.size[/boot,pused]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.size[/boot,total]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vf s.fs.size[/boot,used]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vm .memory.size[available]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vm .memory.size[pavailable]","delay":60,"lastlogsize":0,"mtime":0},{"key" :"vm .memory.size[total]","delay":60,"lastlogsize":0,"mtime":0}]}]
          18334:20231127:180719.447 In parse_list_of_checks()
          18334:20231127:180719.447 In add_check() key:'agent.hostname' refresh:3600 lastlogsize:0 mtime:0
          18334:20231127:180719.447 End of add_check()
          18334:20231127:180719.447 In add_check() key:'agent.ping' refresh:60 lastlogsize:0 mtime:0
          ;
          ;
          18334:20231127:180719.456 In add_check() key:'vm.memory.size[available]' refresh:60 lastlogsize:0 mtime:0
          18334:20231127:180719.456 End of add_check()
          18334:20231127:180719.456 In add_check() key:'vm.memory.size[pavailable]' refresh:60 lastlogsize:0 mtime:0
          18334:20231127:180719.456 End of add_check()
          18334:20231127:180719.456 In add_check() key:'vm.memory.size[total]' refresh:60 lastlogsize:0 mtime:0
          18334:20231127:180719.456 End of add_check()
          18334:20231127:180719.456 End of parse_list_of_checks():SUCCEED
          18334:20231127:180719.456 End of refresh_active_checks():SUCCEED
          18334:20231127:180719.456 zbx_setproctitle() title:'active checks #2 [processing active checks]'
          18334:20231127:180719.456 In process_active_checks() server:'zabbix1.ur****e.com' port:10051
          18334:20231127:180719.456 End of process_active_checks()
          18334:20231127:180719.456 In get_min_nextcheck()
          18334:20231127:180719.456 End of get_min_nextcheck():1701130055
          18334:20231127:180719.456 zbx_setproctitle() title:'active checks #2 [idle 1 sec]'
          18329:20231127:180719.468 zbx_setproctitle() title:'collector [processing data]'
          18329:20231127:180719.468 In update_cpustats()
          18329:20231127:180719.468 End of update_cpustats()
          18329:20231127:180719.468 zbx_setproctitle() title:'collector [idle 1 sec]'
          18333:20231127:180719.615 In send_buffer() host:'zabbix.ur****e.com' port:10051 entries:0/100
          18333:20231127:180719.615 End of send_buffer():SUCCEED
          18333:20231127:180719.615 zbx_setproctitle() title:'active checks #1 [idle 1 sec]'
          ================================================== ==========================

          Comment

          Working...