[ZBX-15074] port listen script is not work for tcp6 Created: 2018 Oct 26  Updated: 2018 Oct 26  Resolved: 2018 Oct 26

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 3.4.14
Fix Version/s: None

Type: Problem report Priority: Major
Reporter: matthew peng Assignee: Unassigned
Resolution: Commercial support required Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Steps to reproduce:

  1. refer ZBX-6790, we config a custom script to listen port 
  2. but when i user zabbix get it return 0 even if i sure that port is listening.

Result:
Compare to another vm , i think that script is not support tcp6

Expected:
For ZBX-6790, i think it is only for listen tcp port. so i need your help to provide a new script for tcp6.(/proc/net/tcp6)

thanks.



 Comments   
Comment by Aleksejs Petrovs [ 2018 Oct 26 ]

Hello Matthew,

Not quite sure how this can be related to Zabbix, because it is your custom script, not a predefined Zabbix check, but correct me if I'm wrong!

Regards,
Aleksejs!

Comment by matthew peng [ 2018 Oct 26 ]

UserParameter=net.tcp.listen.grep[*],grep -q $$(printf '%04X.00000000:0000.0A' $1) /proc/net/tcp && echo 1 || echo 

 

for this script, it can be used on other port which is not listen tcp6.

Comment by Aleksejs Petrovs [ 2018 Oct 26 ]

Yes, but how it is related to the Zabbix Agent itself? You are running the customized command as the User Parameter. So far it looks not like a bug but like a Support Request.

Please note that ZBX is a Bug Tracker, not a free support page. For free support please follow this link, or you can ask a support from Zabbix Professionals.

Do you have an active support contract with Zabbix?

Regards,
Aleksejs!

Comment by matthew peng [ 2018 Oct 26 ]

sorry .

Comment by Aleksejs Petrovs [ 2018 Oct 26 ]

No worries, just ask for help from the community

I'm closing this issue.

Regards,
Aleksejs!

Generated at Fri Apr 19 09:40:56 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.