Ad Widget

Collapse

Difficult to use zabbix_sender

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fabregasf_CEC
    Junior Member
    • Sep 2020
    • 10

    #1

    Difficult to use zabbix_sender


    Hey Guys!
    I'm facing some issues when I try to use zabbix_sender with trapper, on a single server (Centos 8). I have the programs to collect and send info about Windows Updates, but when it runs, show me an error:

    ZABBIX_SENDER.EXE -c zabbix_agentd.conf -v -k zbx.win.updates.feature -o 0
    Response from "192.168.1.20:10051": "processed: 0; failed: 1; total: 1; seconds spent: 0.000053"
    sent: 1; skipped: 0; total: 1

    I tried to change type of information, but it doesn't worked, as the image below:


    Click image for larger version

Name:	zabbix_error.png
Views:	818
Size:	119.4 KB
ID:	409134




    Attached Files
  • fabregasf_CEC
    Junior Member
    • Sep 2020
    • 10

    #2
    I tried opening the default port 10050 on the server conf, increase the TrapperTimeout, but no solved yet.

    Comment

    • fabregasf_CEC
      Junior Member
      • Sep 2020
      • 10

      #3
      The other script I'am triyng to use is in python. I'm passing the keys:

      Data sent to zabbix sender:

      "192.168.1.7" hw.cpu.AddressWidth[cpu0] "64"
      "192.168.1.7" hw.cpu.Architecture[cpu0] "x64"
      "192.168.1.7" hw.cpu.Availability[cpu0] "Running/Full Power"
      "192.168.1.7" hw.cpu.CpuStatus[cpu0] "CPU Enabled"
      "192.168.1.7" hw.cpu.CurrentClockSpeed[cpu0] "2500"
      "192.168.1.7" hw.cpu.CurrentVoltage[cpu0] "10"
      "192.168.1.7" hw.cpu.DataWidth[cpu0] "64"
      "192.168.1.7" hw.cpu.DeviceID[cpu0] "CPU0"
      "192.168.1.7" hw.cpu.Family[cpu0] "205"
      "192.168.1.7" hw.cpu.L2CacheSize[cpu0] "512"
      "192.168.1.7" hw.cpu.Level[cpu0] "6"
      "192.168.1.7" hw.cpu.LoadPercentage[cpu0] "15"
      "192.168.1.7" hw.cpu.Name[cpu0] "Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz"
      "192.168.1.7" hw.cpu.PowerManagementSupported[cpu0] "FALSE"
      "192.168.1.7" hw.cpu.ProcessorId[cpu0] "BFEBFBFF000806E9"
      "192.168.1.7" hw.cpu.ProcessorType[cpu0] "Central Processor"
      "192.168.1.7" hw.cpu.SocketDesignation[cpu0] "U3E1"
      "192.168.1.7" hw.cpu.StatusInfo[cpu0] "Enabled"
      "192.168.1.7" hw.cpu.Status[cpu0] "OK"
      "192.168.1.7" hw.cpu.UpgradeMethod[cpu0] "51"
      zabbix_sender.exe [6168]: DEBUG: answer [{"response":"success","info":"processed: 0; failed: 20; total: 20; seconds spent: 0.000262"}]
      Response from "192.168.1.20:10051": "processed: 0; failed: 20; total: 20; seconds spent: 0.000262"
      sent: 20; skipped: 0; total: 20

      In Zabbix Server I have created the Trapper Items, as this example, but no ones works:

      Click image for larger version

Name:	error_trappers.png
Views:	792
Size:	32.5 KB
ID:	409142

      Attached Files

      Comment

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

        #4
        Read the documentation about using parameters carefully https://www.zabbix.com/documentation.../zabbix_sender
        You have omitted the "-s " parameter.

        Comment

        Working...