[ZBX-22187] Error when setting macro in host IPMI config Created: 2023 Jan 09  Updated: 2023 Nov 30  Resolved: 2023 Nov 30

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 6.2.6
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Evgeny Semerikov Assignee: Bartosz Mickiewicz (Inactive)
Resolution: Won't fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2023-01-09-17-28-54-441.png    

 Description   

Steps to reproduce:

  1. Create host with IPMI interface.
  2. Set Username in IPMI config to {$A.IPMI.USERNAME}.
  3. Get error.

PS: If use macro {$IPMI.USERNAME} then no error ahead.

Result:



 Comments   
Comment by Bartosz Mickiewicz (Inactive) [ 2023 Jul 10 ]

Thanks for reaching Zabbix, this is caused by the limit of characters in both username and password, username cannot exceed 16 bytes and password 20. This limitation comes from the IPMI standard. 

Comment by Evgeny Semerikov [ 2023 Jul 10 ]

Hello, but why this affecting macro name? May be leave this to check from host side, not from zabbix UI?

Comment by Bartosz Mickiewicz (Inactive) [ 2023 Aug 08 ]

In the database this is stored as a macro name, it's getting resolved when a check is executed. 

Comment by Evgeny Semerikov [ 2023 Aug 24 ]

I'm understand this, but when I'll try to use macro in username and password fields in UI I'm get an error for macro name length, not for resolved macro.

Comment by Evgeny Semerikov [ 2023 Oct 23 ]

Also: where you find this limitations in standarts? Please provide link to this document.

Comment by Bartosz Mickiewicz (Inactive) [ 2023 Nov 30 ]

Intelligent Platform Management Interface Specification v2.0 rev. 1.1 E7 Markup point 22.28 and 22.30
Macro's name is saved in DB not the value, value is resolved by the IPIM poller. 

Generated at Mon Jun 30 09:16:27 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.