[ZBX-14971] Fail to increase/decrease log level for pid>65535 Created: 2018 Oct 08  Updated: 2024 Apr 10  Resolved: 2018 Oct 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G), Proxy (P), Server (S)
Affects Version/s: 3.4.14
Fix Version/s: 3.0.23rc1, 3.4.15rc1, 4.0.1rc1, 4.2.0alpha1, 4.2 (plan)

Type: Problem report Priority: Trivial
Reporter: Elina Kuzyutkina (Inactive) Assignee: Andris Mednis
Resolution: Fixed Votes: 0
Labels: logging
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: JPEG File 2018-10-08.jpg    
Issue Links:
Duplicate
duplicates ZBX-14342 Runtime control for PID may overflow Closed
Team: Team A
Sprint: Sprint 44, Sprint 45
Story Points: 0.25

 Description   
zabbix_server -R log_level_decrease=108234
zabbix_server: invalid log level control target: invalid or unsupported process identifier

when specifying the process in another possible way, everything works

zabbix_server -R log_level_decrease="history syncer,6"
zabbix_server: command sent successfully

Screenshot from 3.4.8 version attached.

Regards, Elina



 Comments   
Comment by Andris Mednis [ 2018 Oct 11 ]

It was decided to not fix this issue and update documentation accordingly. It is of low practical importance. In case of PID above 65535 the target can be specified in the form of  'process-type,N'.

Comment by Andris Mednis [ 2018 Oct 11 ]

(1) Documentation should be updated how to work around this issue for PIDs above 65535.

 andris man-pages updated in development branch svn://svn.zabbix.com/branches/dev/ZBX-14971-30

vso CLOSED

Comment by Andris Mednis [ 2018 Oct 12 ]

Fixed in versions:

  • pre-3.0.23rc1 r85744
  • pre-3.4.15rc1 r85745
  • pre-4.0.1rc1 r85746
  • pre-4.2.0alpha1 (trunk) r85747
Comment by MATSUDA Daiki [ 2018 Oct 15 ]

I reported this problem on ZBX-14342 previously. Why do you igonre?

Comment by Andris Mednis [ 2018 Oct 16 ]

Technically your proposal ZBX-14342 seems ok - we can use pointer as a container for passing more bits between processes than currently in 'int'.

The reason of not implementing this solution is existence of "process-type,N" alternative and low practical importance.

Generated at Fri Apr 26 02:52:13 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.