[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 |
Comment by Alexander Vladishev [ 2010 Oct 04 ] |
Available in version pre1.8.4. r14689. |