[ZBXNEXT-8075] Adding Item key net.udp.port[<ip>,port] Created: 2022 Nov 02  Updated: 2022 Nov 08

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Agent (G)
Affects Version/s: None
Fix Version/s: None

Type: New Feature Request Priority: Trivial
Reporter: Florian Requardt Assignee: Vladislavs Sokurenko
Resolution: Unresolved Votes: 0
Labels: agent, item, socket, test, udp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

It would be useful, just as with the item key net.tcp.port[<ip>,port], to have monitoring of UDP sockets with respect to IP.



 Comments   
Comment by Florian Requardt [ 2022 Nov 02 ]

After reading a bit, I found that this item key not only checks the OS socket list, but also sends a request to the appropriate port, so it doesn't work with UDP. As an alternative, the item key net.udp.service[service,<ip>,<port>] would work if the service was not limited to ntp and dns only.

 

edit:

just found there is no dns so for this item so checking ntp is the only option. Would be nice to set any process name here for checking it´s UDP-socket.

Generated at Fri Apr 04 23:26:39 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.