If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
This is quite impossible. UDP is not reliable.. Port can be open and you will never get answer. I think that simple chance how to monitor some udp ports is to check service on it, not availability... When you know what should be on port, you can expect some results.
Yes and no. By default Zabbix cannot do this, however, there are a couple of ways to go about this;
Server Side Scripting -- By using the patch that Sarek created to do external checks, you can execute scripts locally on the server. What you would do is create a script on the server that would perform a UDP port check against the client system.
System.Run / UserParam -- Similar to #1 above, but this has a couple of other advantages, such as performing a netstat prior to checking, to ensure the application is running and listening. This script would then run on the client (Zabbix Agent) and send the results to the server.
Using a wrapper around fping -- This is actually my preferred method. What you would do is replace fping with a wrapper script that calls one of the millions of udpping packages out there. By going this route, you retain the functionality of fping, but also gain the added capability of testing UDP as well.
I did not say this is not possible. And fping is probably good solution for it. But in most situations not reliable.. If UDP port seems closed, it does not mean it is closed. Answer depends on data inside "ping" packet.
Small example. If I will send some packet into radius server, it can be configured to send access-reject or simply not answer, depending on request..
This is quite impossible. UDP is not reliable.. Port can be open and you will never get answer. I think that simple chance how to monitor some udp ports is to check service on it, not availability... When you know what should be on port, you can expect some results.
Well this pretty much looks to me like you clearly said it is impossible!
Comment