Hello, I am trying to monitor UDP/514 with APM but it doesn't seem to work. Can anyone guide me in the right direction to configure this?
I have tried to use the DNS component monitor that allows you to choice UDP protocol but now luck. Thanks....
The DNS component monitor is going to try to issue a DNS query against that port and will fail if it doesn't receive the appropriate DNS response, so that's not going to work for this use-case.
You'd need to create a custom script to monitor a UDP port. It's important to note that UDP is a connectionless protocol so there's no equivalent to a TCP SYN packet. You'd have to send a UDP packet to the port and if it's not open, the system should respond with an ICMP port unreachable message. The issue with this is that if that port is blocked by a firewall, this method will falsely report that the port is open. If the port unreachable message is blocked, all ports will appear open.
This is why we chose not to implement a UDP port monitor. If there are other mechanisms to test availability of the service, I'd recommend exploring those first.