logstash-plugins / logstash-output-zabbix

Zabbix output plugin for Logstash 1.5+
Apache License 2.0
24 stars 11 forks source link

Logstash not compatible with plugin logstash-output-zabbix #24

Open vanitasKE opened 5 months ago

vanitasKE commented 5 months ago

Logstash information:

Please include the following information:

  1. Logstash version (e.g. bin/logstash --version) /usr/share/logstash/bin/logstash --version Using bundled JDK: /usr/share/logstash/jdk logstash 8.12.1
  2. Logstash installation source (e.g. built from source, with a package manager: DEB/RPM, expanded from tar or zip archive, docker) apt-get install logstash=1:8.12.1-1 -y - from repo
  3. How is Logstash being run (e.g. as a service/service manager: systemd, upstart, etc. Via command line, docker/kubernetes) systemctl
  4. How was the Logstash Plugin installed /usr/share/logstash/bin/logstash-plugin install logstash-output-zabbix JVM (e.g. java -version): openjdk version "11.0.23" 2024-04-16 OpenJDK Runtime Environment (build 11.0.23+9-post-Debian-1deb11u1) OpenJDK 64-Bit Server VM (build 11.0.23+9-post-Debian-1deb11u1, mixed mode, sharing)

If the affected version of Logstash is 7.9 (or earlier), or if it is NOT using the bundled JDK or using the 'no-jdk' version in 7.10 (or higher), please provide the following information:

  1. JVM version (java -version)
  2. JVM installation source (e.g. from the Operating System's package manager, from source, etc).
  3. Value of the JAVA_HOME environment variable if set.

OS version (uname -a if on a Unix-like system): PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"

Description of the problem including expected versus actual behavior: Hello, I have problem with zabbix agent is rejecting all my items as shown in logs after upgrade to version 8.12.1 is it not compatible? or what can be issue can someone help me? Steps to reproduce:

Please include a minimal but complete recreation of the problem, including (e.g.) pipeline definition(s), settings, locale, etc. The easier you make for us to reproduce it, the more likely that somebody will take the time to look at it.

1. 2. 3.

Provide logs (if relevant): [2024-05-07T11:44:40,275][WARN ][logstash.outputs.zabbix ][main][d9a719daa6c60e46737c291269aed4ab1a8defe9ee007e87403093e8592f0541] Zabbix server at IP rejected all items sent. {:zabbix_host=>"myhost_elk"}

adrianlzt commented 1 week ago

Check with tcpdump the traffic between logstash and Zabbix. If you are not sending any metric, the (incorrect) response returned by this plugin is that message.