[ZBXNEXT-430] make net.tcp.listen work on Linux Created: 2010 Jun 28  Updated: 2010 Oct 04  Resolved: 2010 Oct 01

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

Type: Change Request Priority: Major
Reporter: Aleksandrs Saveljevs Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Currently, there is an unused function TCP_LISTEN in src/libs/zbxsysinfo/common/net.c, which does approximately what is required, but not quite. In particular, it requires the port to be specified in uppercase hex. It also only tries to read from /proc/net/tcp, while it should also handle /proc/net/tcp6. Also, in net.tcp.listen, should an additional parameter be added to distinguish between IPv4, IPv6, and both?



 Comments   
Comment by Alexander Vladishev [ 2010 Oct 01 ]

Available in the development branch svn://svn.zabbix.com/branches/dev/zbxnext-430
Added support of net.tcp.listen[] and net.udp.listen[] checks

Comment by Alexander Vladishev [ 2010 Oct 04 ]

Available in version pre1.8.4. r14689.

Generated at Fri Apr 26 23:40:21 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.