Ad Widget

Collapse

zabbix trapper since zabbix proxy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • glardz
    Member
    • Oct 2018
    • 45

    #1

    zabbix trapper since zabbix proxy

    hi,

    i want to use zabbix_sender but i have this message :

    zabbix_sender -vv -z ip_of_zabbix_proxy -p 10051 -s "test_zabbix_trapper" -k "netstat.established" -o 6
    zabbix_sender [118937]: DEBUG: answer [{"response":"success","info":"processed: 0; failed: 1; total: 1; seconds spent: 0.000020"}]
    info from server: "processed: 0; failed: 1; total: 1; seconds spent: 0.000020"

    my item:

    Vous avez des images? Envoyez-les et partagez-les super rapidement avec NoelShack!



    i don't know why its failed
    Last edited by glardz; 17-06-2019, 17:18.
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    1) "-s" meants HOST name! not item! 2) 2)Is host monitored by zabbix proxy? I don't see checkbox on screenshot (bottom part). 3) Fill in the "allowed host" field of the IP of the computer on which you are runningn zabbix_sender

    Comment

    • glardz
      Member
      • Oct 2018
      • 45

      #3
      yes its monotored by zabbix proxy @Hamardaban

      i tested this command :

      zabbix_sender -vv -z ip_of_zabbix_proxy -p 10051 -s "hostname_of_my_proxy" -k netstat.established -o 6

      https://image.noelshack.com/fichiers...809-zabbix.png

      https://www.noelshack.com/2019-25-2-...49-zabbix2.png

      but same result
      Last edited by glardz; 18-06-2019, 10:24.

      Comment

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

        #4
        Once more: "-s" meants HOST name! not "hostname_of_my_proxy"! Name of object "Host" that contains Item "test_zabbix_trapper" with key_name "netstat.established". (zabbix_sender -vv -z ip_of_zabbix_proxy -p 10051 -s "test" -k netstat.established -o 6)

        Comment

        • glardz
          Member
          • Oct 2018
          • 45

          #5
          thanks, that work

          Comment

          Working...