Ad Widget

Collapse

host agent data not displayed on Zabbix Server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zaf
    Junior Member
    • Jan 2021
    • 6

    #1

    host agent data not displayed on Zabbix Server

    Hi all,
    I'm new to Zabbix. I've installed the Zabbix server on an AWS EC2 Ubuntu instance and I have installed an agent on my MacBook at home. The server and agent processes are all running. The connectivity between the server and the agent seems to be fine:

    On the server:
    Code:
    zabbix_get -s [MYIP] -p 10053 -k system.uptime
    246490
    On the agent host:

    Code:
    Zabairs-MBP:~ zabairzafar$ zabbix_sender -z [MYSERVERIP] -s HOSTNAME -k KEY -o VALUE -vv
    
    zabbix_sender [64915]: DEBUG: answer [{"response":"success","info":"processed: 0; failed: 1; total: 1; seconds spent: 0.000059"}]
    
    Response from "[MYSERVERIP]:10051": "processed: 0; failed: 1; total: 1; seconds spent: 0.000059"
    
    sent: 1; skipped: 0; total: 1
    .......response seems to be a "success". However, I'm not sure what "faile: 1" means?

    I can also successfully telnet to the server 10051 port from the agent host.

    However, The server shows no data collected from the agent host:

    Click image for larger version

Name:	zabbix-ss2.jpg
Views:	1205
Size:	102.5 KB
ID:	416079

    Any ideas how I can resolve this issue?

    Thanks,
    Zaf



    Attached Files
  • Zaf
    Junior Member
    • Jan 2021
    • 6

    #2
    Hi Cyber - Where do i define the HOSTNAMES and KEYS? Please forward any available doc link. Thanks!

    Comment

    • Zaf
      Junior Member
      • Jan 2021
      • 6

      #3
      ............is this it: https://www.zabbix.com/documentation...ig/items/item?

      Comment

      • Zaf
        Junior Member
        • Jan 2021
        • 6

        #4
        It's all working I assigned the necessary templates via Configuration>Hosts, click on host and click configuration, click on the template tab and assign template(s).
        Last edited by Zaf; 04-01-2021, 18:33.

        Comment

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

          #5
          Originally posted by Zaf
          However, I'm not sure what "faile: 1" means?
          It means that sending failed...Have you defined all those needed HOSTNAMEs and KEYs you are trying to send data for?

          Comment

          Working...