Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-5498

zabbix_sender and powershell

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • None
    • None

      hello,

      i run this powershell script for collect number of *txt file but i receive this response of zabbix_sender.exe :

      zabbix_sender.exe [6572]: DEBUG: answer [\{"response":"success","info":"processed: 1; failed: 0; total: 1; seconds spent: 0.000080"}] info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000080" sent: 1; skipped: 0; total: 1

      my powershell script:
      $count = (Get-ChildItem -Path   C:\test  -recurse -include *.txt).count

      $hostname = hostname

      C:\zabbix\zabbix_sender.exe -vv -z ip  -p 10051 -s $hostname -k test -o $count 

      i want to delete the response of zabbix_sender.exe, for have only numeric value, i tested -q as parameter for zabbix_sender.exe but not work, do you have an idea ?

            Unassigned Unassigned
            glardz gaj
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: