Ad Widget

Collapse

zabbix_get in version 2.4.4 r 52341 returns blank lines

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Thisismyworkname
    Junior Member
    • Apr 2015
    • 2

    #1

    zabbix_get in version 2.4.4 r 52341 returns blank lines

    Hi,

    i had to notice that zabbix_get wont return any real output:

    Code:
    User@testhost:~$ zabbix_get --version
    Zabbix get v2.4.4 (revision 52341) (23 February 2015)
    Compilation time: Feb 25 2015 02:11:22
    The Local server runs a monitored zabbix environment.
    Code:
    User@testhost:~$ zabbix_get -s localhost -p 10050 -k "agent.uptime"
    
    User@testhost:~$
    Somehost is a Server monitored with zabbix
    Code:
    User@testhost:~$ zabbix_get -s Somerealhost -p 10050 -k "agent.uptime"
    
    User@testhost:~$
  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Hello and welcome to Zabbix forums!

    There are two things that are causing problems in this case.
    1. Wrong item key. Try "system.uptime" instead.

    2. Try to IP addresses like 127.0.0.1 instead of localhost.

    Code:
    [root@ingus-vm-10 ~]# zabbix_get -s 127.0.0.1 -p 10050 -k "system.uptime"
    19684
    Best Regards,
    Ingus

    Comment

    • Thisismyworkname
      Junior Member
      • Apr 2015
      • 2

      #3
      did not change a thing

      Code:
      User@testhost:~$ zabbix_get -s 127.0.0.1 -p 10050 -k "system.uptime"
      
      User@testhost:~$

      Comment

      Working...