Hello,
I have a Zabbix Server + Agent + Frontend on one server. Did everything by the book. Actually I returned to Zabbix after 4 years and it simply does not work. I created some hosts but simplechecks (ping / TCP) seem not to work - they report success even though they should not, and error when TCP connect should work. Especially the ping of a host on the same network as the Zabbix Server is really annoying.
THE PING IS NOT BEING ACTUALLY MADE - I checked with tcpdump. I also made a wrapper script for fping, that logs the parameters that Zabbix passed to fping (and made Zabbix to call my script instead of fping). This is shocking but all the time I get an fping call without a target address - all I get called are some silly arguments: "-C3 -i0" so this is without any target address to ping! And the item status is all the time up! This is pure nonesense! What is going on?
I even threw away builtin templates, and manually added a simplecheck, but it still does not work. Even when I specified in the item key the IP address explicitly "icmpping[w.x.y.z]" it doesn't help at all. No ping is being made to w.x.y.z host. I specify in the host config hostname a correct IP (w.x.y.123) and a wrong IP ending (.100) and it doesn't change anything. Only when I specifi agent interface as a wrong one (some random IP) only then Zabbix sees a problem. But when I put 127.0.0.1 in the Agent interface, Zabbix is happy that the ping item is up, although nothin pings! And yes, I have a correctly setup agent on the same host as zabbix server, and anyway I don't get a ZBX green icon because I use a simple check from server.
Please help because this is some mess.
And here is my setup: I did a fresh installation of Zabbix 4.4 on Ubuntu 18.04 with Apache2 and PostgreSQL - this was installed from packages according to the official Zabbix steps. Hmm well I did it right after installing OMD from packages ( https://labs.consol.de/omd/ ) but this OMD should not cause these problems.
I have a Zabbix Server + Agent + Frontend on one server. Did everything by the book. Actually I returned to Zabbix after 4 years and it simply does not work. I created some hosts but simplechecks (ping / TCP) seem not to work - they report success even though they should not, and error when TCP connect should work. Especially the ping of a host on the same network as the Zabbix Server is really annoying.
THE PING IS NOT BEING ACTUALLY MADE - I checked with tcpdump. I also made a wrapper script for fping, that logs the parameters that Zabbix passed to fping (and made Zabbix to call my script instead of fping). This is shocking but all the time I get an fping call without a target address - all I get called are some silly arguments: "-C3 -i0" so this is without any target address to ping! And the item status is all the time up! This is pure nonesense! What is going on?
I even threw away builtin templates, and manually added a simplecheck, but it still does not work. Even when I specified in the item key the IP address explicitly "icmpping[w.x.y.z]" it doesn't help at all. No ping is being made to w.x.y.z host. I specify in the host config hostname a correct IP (w.x.y.123) and a wrong IP ending (.100) and it doesn't change anything. Only when I specifi agent interface as a wrong one (some random IP) only then Zabbix sees a problem. But when I put 127.0.0.1 in the Agent interface, Zabbix is happy that the ping item is up, although nothin pings! And yes, I have a correctly setup agent on the same host as zabbix server, and anyway I don't get a ZBX green icon because I use a simple check from server.
Please help because this is some mess.
And here is my setup: I did a fresh installation of Zabbix 4.4 on Ubuntu 18.04 with Apache2 and PostgreSQL - this was installed from packages according to the official Zabbix steps. Hmm well I did it right after installing OMD from packages ( https://labs.consol.de/omd/ ) but this OMD should not cause these problems.

Comment