ZABBIX SUPPORT https://support.zabbix.com/issues/?jql=project+%3D+ZBXNEXT+AND+status+%3D+Reopened+ORDER+BY+priority+DESC An XML representation of a search request en-us 9.12.4 9120004 12-02-2024 [ZBXNEXT-4293] Set trigger for the end date field of the HW warranty in the inventory https://support.zabbix.com/browse/ZBXNEXT-4293 ZABBIX FEATURE REQUESTS <p>Set trigger for the end date field of the HW warranty in the inventory.<br/> This will allow as the end of an equipment warranty is approached, an alert can be generated about the problem.</p> ZBXNEXT-4293 Set trigger for the end date field of the HW warranty in the inventory Change Request Critical Reopened Unresolved Unassigned Carlos Eduardo do Nascimento Fri, 22 Dec 2017 15:03:23 +0200 Sun, 27 May 2018 17:18:04 +0300 4.0.0alpha1 Frontend (F) 5 8 <p>This can be done already with the existing functionality. <br/> You need a trapper item and a trigger. No manual entries in the HW inventory field though.</p> <ol> <li>Create a trapper item.</li> <li>Make sure you send the item value as <b>UNIX timestamp</b> and display the unit as <tt>unixtime</tt><br/> <span class="image-wrap" style=""><a id="56799_thumb" href="https://support.zabbix.com/secure/attachment/56799/56799_HW+expiry+item.PNG" title="HW expiry item.PNG" file-preview-type="image" file-preview-id="56799" file-preview-title="HW expiry item.PNG"><img src="https://support.zabbix.com/secure/thumbnail/56799/_thumb_56799.png" style="border: 0px solid black" role="presentation"/></a></span></li> <li>Create a trigger for this item which takes the unixtime value of the trapper item and compare it to the current time. Then alert if the change is less than your desired time period in seconds. As example 14 days. <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>{Template ZBX Test:hw.warranty.last()} - {Template ZBX Test:hw.warranty.now()} &lt; 1209600 </pre> </div></div> <p><span class="image-wrap" style=""><a id="56800_thumb" href="https://support.zabbix.com/secure/attachment/56800/56800_HW+expiry+trigger.PNG" title="HW expiry trigger.PNG" file-preview-type="image" file-preview-id="56800" file-preview-title="HW expiry trigger.PNG"><img src="https://support.zabbix.com/secure/thumbnail/56800/_thumb_56800.png" style="border: 0px solid black" role="presentation"/></a></span></p></li> </ol> <p>Closing, as solution to the problem is proposed.</p> <p>If the problem is still present, please, reopen the issue.</p> <p>Ok, porém de onde você está coletando o vencimento da garantia do Hardware?</p> <p>Não seria mais fácil, coletar esta informação do inventário?</p> <p>Em vez de popular o inventário automáticamente, esta informação é populada manualmente, e usa esta informação para gerar alertas no próprio zabbix.</p> <p> <br/> Okay, but where are you collecting the warranty expiration from Hardware?</p> <p>Is not it easier to collect this inventory information?</p> <p>Instead of populating the inventory automatically, this information is populated manually, and uses this information to generate alerts in zabbix itself.</p> Development Rank 0|i05nv3: Template [ZBXNEXT-2008] Triggers with user macro not correctly transmitted to script https://support.zabbix.com/browse/ZBXNEXT-2008 ZABBIX FEATURE REQUESTS <p>I have follow trigger with User Macro in name:</p> <ul class="alternate" type="square"> <li>name {$TEST1}</li> <li>User Macro equal {$TEST1} -&gt; gantest<br/> It is action for this trigger in default message it has - Trigger name: {TRIGGER.NAME.ORIG}<br/> Action run custom script and as parameter send also macros - {TRIGGER.NAME.ORIG} <p>Actually:<br/> UserParmeter should be transmitted how it is to the script, but it isn't.</p></li> </ul> <p>All logs see in comments. </p> Zabbix 2.0.6, Mysql server ZBXNEXT-2008 Triggers with user macro not correctly transmitted to script Change Request Critical Reopened Unresolved Unassigned Andrei Gushchin Wed, 24 Apr 2013 19:08:09 +0300 Tue, 22 Mar 2016 13:15:54 +0200 Agent (G) Frontend (F) Server (S) 1 5 <p>On Server log:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> 31628:20130424:181051.289 In substitute_simple_macros() data:<span class="code-quote">'/usr/local/share/zabbix/externalscripts/test1.py <span class="code-quote">"Trigger name: {TRIGGER.NAME.ORIG}"</span>'</span> 31628:20130424:181051.289 End substitute_simple_macros() data:<span class="code-quote">'/usr/local/share/zabbix/externalscripts/test1.py <span class="code-quote">"Trigger name: name {$TEST1}"</span>'</span> 31628:20130424:181051.289 In zbx_execute_script() 31628:20130424:181051.289 In zbx_execute_script_on_agent() 31628:20130424:181051.289 In substitute_simple_macros() data:<span class="code-quote">'10050'</span> 31628:20130424:181051.289 In get_value_agent() host:<span class="code-quote">'Zabbix server'</span> addr:<span class="code-quote">'127.0.0.1'</span> key:<span class="code-quote">'system.run[<span class="code-quote">"/usr/local/share/zabbix/externalscripts/test1.py \"</span>Trigger name: name {$TEST1}\<span class="code-quote">"","</span>nowait"]'</span> 31628:20130424:181051.289 Sending [system.run[<span class="code-quote">"/usr/local/share/zabbix/externalscripts/test1.py \"</span>Trigger name: name {$TEST1}\<span class="code-quote">"","</span>nowait"] ] 31628:20130424:181051.291 get value from agent result: <span class="code-quote">'1'</span> 31628:20130424:181051.291 End of zbx_execute_script_on_agent():SUCCEED 31628:20130424:181051.291 End of zbx_execute_script():SUCCEED 31628:20130424:181051.291 In add_command_alert() 31628:20130424:181051.291 In DCget_nextid() table:<span class="code-quote">'alerts'</span> num:1 31628:20130424:181051.291 End of DCget_nextid() table:<span class="code-quote">'alerts'</span> [29:29] 31628:20130424:181051.291 query [txnlev:1] [insert into alerts (alertid,actionid,eventid,clock,message,status,error,alerttype,esc_step) values (29,5,14462,1366805451,<span class="code-quote">'Zabbix server:/usr/local/share/zabbix/externalscripts/test1.py <span class="code-quote">"Trigger name: name {$TEST1}"</span>'</span>,1,'',1,1)] </pre> </div></div> <p>If i run script throw zabbix server</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> 12631:20130424:221255.657 In substitute_simple_macros() data:<span class="code-quote">'/usr/local/share/zabbix/externalscripts/test1.py <span class="code-quote">"Trigger name: {TRIGGER.NAME.ORIG}"</span>'</span> 12631:20130424:221255.657 End substitute_simple_macros() data:<span class="code-quote">'/usr/local/share/zabbix/externalscripts/test1.py <span class="code-quote">"Trigger name: name {$TEST1}"</span>'</span> 12631:20130424:221255.657 In zbx_execute_script() 12631:20130424:221255.657 In zbx_popen() command:<span class="code-quote">'/usr/local/share/zabbix/externalscripts/test1.py <span class="code-quote">"Trigger name: name {$TEST1}"</span>'</span> 12631:20130424:221255.658 End of zbx_popen():6 12631:20130424:221255.658 In zbx_waitpid() 13741:20130424:221255.658 zbx_popen(): executing script 12631:20130424:221255.668 zbx_waitpid() exited, status:0 </pre> </div></div> <p>If I run script throw zabbix agent <br/> Agent log:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> 10379:20130424:181051.289 Processing request. 10379:20130424:181051.289 Requested [system.run[<span class="code-quote">"/usr/local/share/zabbix/externalscripts/test1.py \"</span>Trigger name: name {$TEST1}\<span class="code-quote">"","</span>nowait"]] 10379:20130424:181051.289 Executing command <span class="code-quote">'/usr/local/share/zabbix/externalscripts/test1.py <span class="code-quote">"Trigger name: name {$TEST1}"</span>'</span> 10379:20130424:181051.290 Sending back [1] </pre> </div></div> <p>Actually args in script output(simple script write itself args to file):</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> [<span class="code-quote">'/usr/local/share/zabbix/externalscripts/test1.py'</span>, <span class="code-quote">'Trigger name: name {}'</span> </pre> </div></div> <p>As you can see macros was lost when zabbix server(agent) execute script. </p> <p>This problem is related from <a href="https://support.zabbix.com/browse/ZBXNEXT-1643" title="New notification macros: {TRIGGER.TEMPLATE.NAME} and {TRIGGER.HOSTGROUP.NAME}" class="issue-link" data-issue-key="ZBXNEXT-1643"><del>ZBXNEXT-1643</del></a></p> <p>what's the deal with usermacros {$TEST1} vs {$TEST} ?</p> <p>Sorry it was typo. Actually {$TEST1}</p> <p>Andrei,</p> <p><cite>User Macro equal {$TEST1} -&gt; gantest</cite></p> <p>This information is related to this problem? I didn't understand it.</p> <p>Alexander,</p> <p>Yes it is value of Macros $TEST1.</p> <p>Additional information</p> <p>I change name in trigger to {$$TEST1}<br/> and in script output show this</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> [<span class="code-quote">'/usr/local/share/zabbix/externalscripts/test1.py'</span>, <span class="code-quote">'Trigger name: name {26139TEST1}'</span>] As I inderstand it is number of pid. </pre> </div></div> <p>But, the user macro should remain as is here. I.e. all macros from trigger name should be sent to script without any changes.</p> <p>I found where was problem.<br/> It need escaping variables with single quote ('), it is not connecting to zabbix.<br/> Finally I use for run script:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> /usr/bin/python /usr/local/share/zabbix/externalscripts/test1.py <span class="code-quote">'Trigger name: {TRIGGER.NAME.ORIG}'</span> </pre> </div></div> <p>And it is work good</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> [<span class="code-quote">'/usr/local/share/zabbix/externalscripts/test1.py'</span>, <span class="code-quote">'Trigger name: name {$TEST1}'</span>] </pre> </div></div> <p>I'll closing this issue, It isn't bug.</p> <p>Thanks.</p> <p>If expression uses in action throw the script, there is a some problem.</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> action message: Trigger name: <span class="code-quote">''{TRIGGER.NAME.ORIG}'</span>' in server log when send message: 9664:20130425:172034.832 In zbx_popen() command:<span class="code-quote">'/usr/local/share/zabbix/alertscripts/test.sh <span class="code-quote">"123"</span> <span class="code-quote">"PROBLEM: name gantest"</span> <span class="code-quote">"Trigger name: name {$TEST1}"</span>'</span> shell get it how string with variables, {$TEST1} disappeared in output Trigger name: <span class="code-quote">''name {}'</span>' </pre> </div></div> <p>I found it in code and do some changes, and It will work:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> alerter.c: 103: -- zbx_snprintf_alloc(&amp;cmd, &amp;cmd_alloc, &amp;cmd_offset, <span class="code-quote">" \"</span>%s\<span class="code-quote">" \"</span>%s\<span class="code-quote">" \"</span>%s\"", send_to, subject, message); ++ zbx_snprintf_alloc(&amp;cmd, &amp;cmd_alloc, &amp;cmd_offset, <span class="code-quote">" \<span class="code-quote">'%s\'</span> \<span class="code-quote">'%s\'</span> \<span class="code-quote">'%s\'</span>"</span>, send_to, subject, message); after in server log: 27816:20130425:183849.634 In zbx_popen() command:<span class="code-quote">'/usr/local/share/zabbix/alertscripts/test.sh '</span>123<span class="code-quote">' '</span>PROBLEM: name gantest<span class="code-quote">' '</span>Trigger name: <span class="code-quote">''name {$TEST1}'</span>''' and output Trigger name: name {$TEST1} </pre> </div></div> <p>I think need more deep testing about this patch.</p> <p>I have tested shells but it was without result. (zsh,tcsh,ksh)<br/> All cases shell think it string with variables. </p> <p>what's the current state, is there anything to fix or improve in zabbix ?</p> Duplicate Development Rank 0|i01y9r: Template [ZBXNEXT-2573] Zabbix doesn't reset triggers if time was briefly in the future https://support.zabbix.com/browse/ZBXNEXT-2573 ZABBIX FEATURE REQUESTS <p>Our system was briefly in the future due to a clock problem. Now I see some triggers with "host unreachable" hanging, due in Aug 2013 and I can't remove them. I already did the following things:</p> <p>update triggers set lastchange = unix_timestamp() where lastchange &gt; unix_timestamp();<br/> update items set lastclock = unix_timestamp() where lastclock &gt; unix_timestamp();</p> <p>I'm a bit lost because this currently renders zabbix unusable.</p> Debian Zabbix ZBXNEXT-2573 Zabbix doesn't reset triggers if time was briefly in the future Change Request Critical Reopened Unresolved Unassigned Timo A. Hummel Fri, 22 Feb 2013 10:09:25 +0200 Wed, 29 Jun 2016 18:14:42 +0300 Proxy (P) Server (S) 0 2 <p>I have finally found the issue: It seems that they're disabled until that specific date in august and I cannot change that from the GUI - in fact, I don't even get any info until when the host is disabled! Please include that in the GUI somewhere. The disable_until value should <b>at least</b> be cleared when activating a host.</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> select host, from_unixtime(disable_until) from hosts; +----------------------------------------+------------------------------+ | host | from_unixtime(disable_until) | +----------------------------------------+------------------------------+ | db.rzl | 2013-08-04 07:11:28 | </pre> </div></div> <p>Yes, should be cleared all hosts.disable_until*, drules.nextcheck, httptest.nextcheck fields in this case. Zabbix server should be restarted.</p> <p>I'm closing the issue.</p> <p>(1) i'd hate to lose this bit of info, so it's added at <a href="https://www.zabbix.com/documentation/2.2/manual/appendix/faq" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/2.2/manual/appendix/faq</a> - please, review <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=sasha" class="user-hover" rel="sasha">sasha</a> I added "proxy" into an answer.</p> <p>&lt;<a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=richlv" class="user-hover" rel="richlv">richlv</a>&gt; thanks, CLOSED</p> <p><a href="https://support.zabbix.com/browse/ZBX-10906" title="Zabbix agent active checks hangs if the server time is not correct." class="issue-link" data-issue-key="ZBX-10906"><del>ZBX-10906</del></a> is very similar</p> <p>while this issue could be closed, maybe it's worth adding some sanity checks ?<br/> i agree that clock should be correct, but the problem is that having incorrect clock just once penalises the user heavily (and without any feedback on why shit doesn't work).</p> <p>for example, maybe it's possible to reset "disables" is they are more than some time in the future ?</p> <p>if not, feel free to close this issue <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> Development Rank 0|i01vnj: Template [ZBXNEXT-2726] error for snmp LLD rule: "Invalid SNMP OID: cannot parse expression." https://support.zabbix.com/browse/ZBXNEXT-2726 ZABBIX FEATURE REQUESTS <p>Problems with CONFIGURATION OF DISCOVERY RULES.Errors "Invalid SNMP OID: cannot parse expression." In version 2.4 all items normally detected.</p> CentOS 6.5 ZBXNEXT-2726 error for snmp LLD rule: "Invalid SNMP OID: cannot parse expression." Change Request Critical Reopened Unresolved Unassigned Victor Bashkirov Tue, 24 Feb 2015 16:28:40 +0200 Wed, 31 May 2017 11:36:24 +0300 2.5.0 Documentation (D) Frontend (F) 0 5 <p>According to <a href="https://www.zabbix.com/documentation/3.0/manual/introduction/whatsnew300#multiple_oid_support_in_snmp_discovery" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/3.0/manual/introduction/whatsnew300#multiple_oid_support_in_snmp_discovery</a><br/> there is new syntax for SNMP OID in discovery rule.</p> <p>But I could not find in documentation (especially on upgrade 3.0 notes) any information that old syntax (just OID) is not supported.<br/> It even "sounds" more like new syntax is supported additionally to existing one:</p> <blockquote> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>SNMP discovery item OID value now accepts a discovery[{#MACRO1}, oid1, {#MACRO2}, oid2, …] format (see low level discovery for details). The OID values of existing SNMP discovery rules will be converted to the new format (discovery[{#SNMPVALUE},&lt;old oid value&gt;]) during database upgrade. </pre> </div></div></blockquote> <p><a href="https://www.zabbix.com/documentation/3.0/manual/installation/upgrade_notes_300" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/3.0/manual/installation/upgrade_notes_300</a></p> <p>Spec says:</p> <blockquote> <p>Existing SNMP discovery rules will be converted to take advantage of the new syntax, old syntax will no longer will be supported.</p></blockquote> <p><a href="https://www.zabbix.org/wiki/Docs/specs/ZBXNEXT-1554" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.org/wiki/Docs/specs/ZBXNEXT-1554</a></p> <p>I believe we have to:</p> <ul class="alternate" type="square"> <li>add "old syntax will no longer will be supported."</li> <li>change "SNMP discovery item OID value now accepts a discovery" to "SNMP discovery item OID value now uses a new discovery"<br/> at:<br/> <a href="https://www.zabbix.com/documentation/3.0/manual/installation/upgrade_notes_300" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/3.0/manual/installation/upgrade_notes_300</a><br/> <a href="https://www.zabbix.com/documentation/3.0/manual/introduction/whatsnew300" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/3.0/manual/introduction/whatsnew300</a><br/> and probably to <a href="https://www.zabbix.com/documentation/3.0/manual/discovery/low_level_discovery#discovery_of_snmp_oids" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/3.0/manual/discovery/low_level_discovery#discovery_of_snmp_oids</a></li> </ul> <p>(1) also, as we started to use special syntax for OID - why we didn't perform OID syntax check similarly to item key ?</p> <p>Thank you Oleksiy. All made in the instructions. Began to work. Good modification. Previously, there was no access to the documentation 3.0.<br/> Спасибо.</p> <p>The OIDs to discover are defined in SNMP OID field in the following format: discovery[{#MACRO1}, oid1, {#MACRO2}, oid2, …,].</p> <p>sure, but as zalex noted, there are some potential improvements in the documentation and the frontend <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> Development Rank 0|i03ghz: Template [ZBXNEXT-4545] Limit item processing errors in log https://support.zabbix.com/browse/ZBXNEXT-4545 ZABBIX FEATURE REQUESTS <p>We have a case whereby a template used for SMART monitoring covers both HDD and SSD hosts. The items in the template are of type dependant. In some cases, there are items that can't be evaluated, as the value cannot be found (for example Percentage Lifetime Used is only available on SSD's not HDD's.</p> <p>Each time the item is processed, an error is logged in the Zabbix Server log file, which dumps out the entire output, as follows:-</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> 12689:20180510:114743.525 error reason <span class="code-keyword">for</span> <span class="code-quote">"host1-example:uHDD["</span>/dev/bus/0 -d sat+megaraid,0<span class="code-quote">",202]"</span> changed: Item preprocessing step #1 failed: cannot perform regular expression match on value "smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-5-amd64] (local build) Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0 3 Spin_Up_Time 0x0027 182 180 021 Pre-fail Always - 7875 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 15 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0 7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0 9 Power_On_Hours 0x0032 055 055 000 Old_age Always - 33251 10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 15 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 14 193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 209 194 Temperature_Celsius 0x0022 115 108 000 Old_age Always - 37 196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x0008 100 253 000 Old_age Offline - 0<span class="code-quote">" of type "</span>string": pattern does not match </pre> </div></div> <p>We are monitoring thousands of hosts with Zabbix, and are seeing the log files hit anything around 5G. Log rotate does take care of this eventually.</p> <p>Ideas:-</p> <p> * Limit the output of a failed item preprocessing to X characters</p> <p> * Have the ability to "mute" item errors, either per item or a global option.</p> <p> </p> <p>Thanks as always!</p> <p> </p> ZBXNEXT-4545 Limit item processing errors in log New Feature Request Critical Reopened Unresolved Unassigned Duncan Mountford Thu, 10 May 2018 14:58:36 +0300 Fri, 11 May 2018 10:47:54 +0300 3.4.9 Server (S) 0 3 <p>Another problem with such message is that value comes before the error and if the value is big enough error gets truncated in the DB and can't be seen in the frontend. Error is typically short and way more important for troubleshooting than the value.</p> <p>It is better to avoid such error messages from your scripts. Zabbix operates with raw values, you must care about script output.</p> <p>Dear <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=dotneft" class="user-hover" rel="dotneft">dotneft</a>, you didn't get the point. Message is:</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>Item preprocessing step #1 failed: cannot perform regular expression match on value "X" of type "string": pattern does not match </pre> </div></div> <p>and is produced by Zabbix server. Reporter suggests to limit the printed length of X (which is a raw value before preprocessing).</p> <p>Sorry, I see, in this case I suppose it is good idea to remove such messages at all. It is really not warning message <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>Good idea from <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=dotneft" class="user-hover" rel="dotneft">dotneft</a>: don't include the raw value in the message at all because it can change quite frequently and will cause lots of unnecessary</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>error reason for "host:item" changed: ... </pre> </div></div> <p>in the log file and lots of unnecessary updates of <tt>items.error</tt> in the database.</p> <p>Limiting the value of X would be brilliant, but as Alexey says I think the error is somewhat irrelevant. The error is saying that the regular expression didn't match anything in the string, which....is fine!</p> Causes ZBXNEXT-1443 Development Rank 0|i05zwv: Template [ZBXNEXT-1386] Required form fields pre validation using html5 https://support.zabbix.com/browse/ZBXNEXT-1386 ZABBIX FEATURE REQUESTS <p>doesn't seem to be safe enough for 1.8.3 as well, moving to 1.8.4 <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> ZBXNEXT-1386 Required form fields pre validation using html5 Change Request Critical Reopened Unresolved Unassigned Alexey Fukalov Wed, 14 Jul 2010 12:23:14 +0300 Sat, 13 Oct 2012 17:24:57 +0300 Frontend (F) 0 0 <p><a href="https://support.zabbix.com/browse/ZBXNEXT-1386" title="Required form fields pre validation using html5" class="issue-link" data-issue-key="ZBXNEXT-1386">ZBX-2692</a></p> <p>this issue would benefit from a change description</p> <p>ping ? what actually was changed, how could it impact user experience, what possible problems could this introduce ? <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>dev branch rev 14145.</p> <p>validation missing for :</p> <p>items;<br/> triggers;<br/> graphs;<br/> applications;<br/> regular expressions (both name &amp; test string);<br/> maybe possible for hostgroup selector in host/template properties ? (would have to take into account 'new group';<br/> all import pages - file field (including image uploads);<br/> maintenance - maybe host/group maintenance ?<br/> it services;<br/> images;<br/> ldap auth;<br/> installation wizard <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/wink.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>what about fields where something has to be selected (hostgroup, user etc) ?</p> Development Rank 0|i02elj: Template [ZBXNEXT-1928] Add database consistency script or zabbix distribution https://support.zabbix.com/browse/ZBXNEXT-1928 ZABBIX FEATURE REQUESTS <p>Before migration to 2.0.8 i discovered that there were a number of broken triggger expressions.</p> <p>I used the script from <a href="https://www.zabbix.com/wiki/scripts/db_consistency.sh" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/wiki/scripts/db_consistency.sh</a>.</p> <p>Probably it would be a good idea to add this script to the zabbix distribution and to maintain it with the releases.</p> ZBXNEXT-1928 Add database consistency script or zabbix distribution New Feature Request Critical Reopened Unresolved Zabbix Development Team Marc Schoechlin Mon, 23 Sep 2013 14:28:19 +0300 Mon, 1 Jun 2020 09:50:58 +0300 1.8.17 Installation (I) 2 3 <p>database inconsistencies should be much more rare with 2.0 - it introduced foreign keys and other checks. some are still possible, though (like application-item linkage in nested configuration etc)</p> <p>Maybe the referenced script might be a reference for checks.</p> <p>I fully agree, preventing problems is better than discovering problems <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> Causes Duplicate ZBXNEXT-2539 Development Rank 0|i02e5j: Template [ZBXNEXT-9004] Calculating the trigger value when throttling https://support.zabbix.com/browse/ZBXNEXT-9004 ZABBIX FEATURE REQUESTS <p>Zabbix can calculate any values based on the values that it has also on the polling frequency, it is clear that the value did not change or when it changed.</p> ZBXNEXT-9004 Calculating the trigger value when throttling New Feature Request Major Reopened Unresolved Andris Zeila Roman Fri, 9 Feb 2024 10:56:20 +0200 Wed, 21 Feb 2024 14:37:36 +0200 6.4.10 7.0 (plan) Server (S) 0 3 <p>dublicated by <a href="https://support.zabbix.com/browse/ZBX-24034" title="Calculating the value when trottling." class="issue-link" data-issue-key="ZBX-24034"><del>ZBX-24034</del></a></p> <p>It cannot. There is no way to distinguish between "never received" and "throttled" value.</p> <p>Looks like duplicate of <a href="https://support.zabbix.com/browse/ZBX-16162" title="Draw Graph line complete when Discarding values with Heartbeat" class="issue-link" data-issue-key="ZBX-16162">ZBX-16162</a>. Feel free to re-open if you disagree.</p> <p>I am interested in calculating the values for triggers.</p> Duplicate ZBX-16162 Additional Information Development Rank 0|i0hgfj: Template Templated answers Training Zabbix version [ZBXNEXT-6845] Long running queries from frontend on history tables + High CPU usage on DB host same time https://support.zabbix.com/browse/ZBXNEXT-6845 ZABBIX FEATURE REQUESTS <p>Frontend can generate queries like <br/> <tt>SELECT itemid FROM history* WHERE (itemid IN (........)) AND clock&gt;unixtime GROUP BY itemid;</tt><br/> We have index for historical tables on (itemid,clock). So normally we have:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> Bitmap Index Scan on _hyper_*_chunk_history_str_1 (cost=0.00..2307.05 rows=95986 width=0) (actual time=14.939..14.940 rows=92213 loops=1) Index Cond: ((itemid = ANY (<span class="code-quote">'{....,...,....}'</span>::bigint[])) AND (clock &gt; XXXX)) </pre> </div></div> <p>i.e. postgres splits a set of itemids and performs parallel scanning by index (itemid,clock)</p> <p>Starting from a certain amount of itemid in condition postgres stops using this index and uses <tt>Index Cond: (clock &gt; XXXXX)</tt> and <span class="error">&#91;already in parallel&#93;</span> <tt>Filter: ((itemid = ANY (....)</tt></p> <p>It works much longer. ~2sec with index (itemid,clock) against ~170sec with index (clock)</p> <p>As solution options:<br/> 1.tuning postgres for forced use of the index (<tt>SET enable_seqscan = OFF</tt>)<br/> 2. to split requests into several</p> CentOS: v7.9 <br/> Zabbix: v5.0.14 <br/> DB: PGSQL (postgresql12-server-12.7-1PGDG.rhel7.x86_64) + TSDB (timescaledb-2-postgresql-12-2.3.1-0.el7.x86_64) ZBXNEXT-6845 Long running queries from frontend on history tables + High CPU usage on DB host same time Change Request Major Reopened Unresolved Zabbix Development Team Elina Kuzyutkina Fri, 20 Aug 2021 14:33:35 +0300 Thu, 15 Sep 2022 14:51:51 +0300 5.0.14 6.2.0 Documentation (D) Frontend (F) 9 8 <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>As solution options: 1.tuning postgres for forced use of the index (SET enable_seqscan = OFF) </pre> </div></div> <p>SET example is a session only and will not help for a running daemon. <br/> <a href="https://www.postgresql.org/docs/current/sql-altersystem.html" class="external-link" target="_blank" rel="nofollow noopener">https://www.postgresql.org/docs/current/sql-altersystem.html</a></p> <p>If your table is big and data distribution is irregular, raising the default_statistics_target may help.</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>ALTER TABLE ... ALTER COLUMN ... SET STATISTICS X; </pre> </div></div> <p><a href="https://www.postgresql.org/docs/current/runtime-config-query.html#RUNTIME-CONFIG-QUERY-CONSTANTS" class="external-link" target="_blank" rel="nofollow noopener">https://www.postgresql.org/docs/current/runtime-config-query.html#RUNTIME-CONFIG-QUERY-CONSTANTS</a></p> <p>Partially fixed in <a href="https://support.zabbix.com/browse/ZBX-20644" title="Latest Data don&#39;t work normally for hosts with a lot of items" class="issue-link" data-issue-key="ZBX-20644"><del>ZBX-20644</del></a>.</p> Duplicate Sub-task Additional Information Development Rank 0|i0bg6v: Sprint Sprint 80 (Sep 2021) Sprint 81 (Oct 2021) Sprint 82 (Nov 2021) Sprint 83 (Dec 2021) Sprint 84 (Jan 2022) Sprint 85 (Feb 2022) Sprint 86 (Mar 2022) Sprint 87 (Apr 2022) Sprint 88 (May 2022) Sprint 89 (Jun 2022) Sprint 90 (Jul 2022) Sprint 91 (Aug 2022) Template Templated answers Training Zabbix version [ZBXNEXT-6492] Possibility for usage jdbc connection string for PostgreSQL Patroni cluster https://support.zabbix.com/browse/ZBXNEXT-6492 ZABBIX FEATURE REQUESTS <p>We're able to define the only one hostname/ip-adress into configuration:<br/> DBHost - into Zabbix Server configuration<br/> $DB<span class="error">&#91;&#39;SERVER&#39;&#93;</span> - into Frontend configuration</p> <p>We want to have a posibility for defining multiple hostnames/ip-adresses to Zabbix everytime will connnecting to alive database in cases of failover and switchover</p> <p>For example use full jdbc string for connection to PostgreSQL Patroni cluster</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> jdbc:postgresql:<span class="code-comment">//127.0.0.1:1544,127.0.0.2:1544/dbname?targetServerType=master</span> </pre> </div></div> ZBXNEXT-6492 Possibility for usage jdbc connection string for PostgreSQL Patroni cluster Change Request Major Reopened Unresolved Zabbix Development Team Igor Gorbach Fri, 5 Feb 2021 13:29:32 +0200 Tue, 20 Feb 2024 15:25:11 +0200 Frontend (F) Server (S) 11 13 <p>Why not to use <a href="https://www.pgbouncer.org/" class="external-link" target="_blank" rel="nofollow noopener">https://www.pgbouncer.org/</a> ?</p> <p>pgbouncer being another component that could fail and might be too much of overhead to add extra machines for pgbouncers, setting up VIP between them to direct traffic towards correct pgbouncer, while in that case you already would direct traffic against vip that is assigned to readwrite node. </p> <p> </p> <p>The whole point of supporting connectionstring would be to avoid adding extra components in the chain for HA solution.</p> <p>I would not even go for JDBC connectionstring, as it is coming from Java  side, but since zabbix is made in PHP, then the <a href="https://www.php.net/manual/en/function.pg-connect.php" class="external-link" target="_blank" rel="nofollow noopener">https://www.php.net/manual/en/function.pg-connect.php</a> function seems to support libpq and it's format <a href="https://www.postgresql.org/docs/current/libpq-connect.html" class="external-link" target="_blank" rel="nofollow noopener">https://www.postgresql.org/docs/current/libpq-connect.html</a></p> <p>In that case the connectionstring could contain all the hosts in cluster and choose the one cluster that is read-write <br/> postgresql://host1:5432,host2:5432,host3:5432/zabbix?target_session_attrs=read-write<br/> Unfortunately currently zabbix server puts together connection data from multiple variables and does not support putting multiple DB hosts</p> <p><a href="https://www.alibabacloud.com/blog/597797" class="external-link" target="_blank" rel="nofollow noopener">https://www.alibabacloud.com/blog/597797</a> Seems to be example of how it is configured in here.</p> <p>Since the connection creation towards correct node is done still by the same library, then no extra components will be used and no extra links in the chain will be introduced with that change.</p> <p> </p> <p>In current setup we have set up vip in front of PG servers and in the servers there is also HAProxy installed just to direct traffic to read-write node. It is ugly and has extra parts that could fail, but it gives the chance that DB has done failover to another node, but for some reason VIP did not follow, then the DB connections still end up at RW node.</p> <p> </p> <p>With the connectionstring potential usecase for performance optimization could be to direct write requests towards rw node and read requests to any of the node in the whole cluster, could allow scalability on read requests, which zabbix will get more to load the values for graphs. That would probably mean that in config there could be RW connectionstring and RO connectsionstring. If RO one is not filled, RW will be used. <br/> Directing RO requests to RO node has potential flaw of replication lagging, that could hide latest written values in some cases, but lowering lag and sync process will be duties of Postgres DBA setting up the cluster.</p> <p>I would like add my vote for this request!<br/> Thanks so much</p> <p>pgBouncer is not solution in here at all. pgPool-II could be possibly used in place, but it is hassle to set up pgPool-II for this purpose and another alternative is to set up HAProxy on zabbix server hosts, that forward traffic to read-write postgres node. The HAProxy solution is currently used for me, but in there the best would be to have Layer 4 proxy mode and do health checks and RW node checks in Layer 4 as well and it is annoying if you happen to have password on the role checking for RW node.</p> <p> </p> <p>So I took half a day and generated patch for this feature <span class="nobr"><a href="https://support.zabbix.com/secure/attachment/193354/193354_zabbix6_pg_connstring.patch" title="zabbix6_pg_connstring.patch attached to ZBXNEXT-6492">zabbix6_pg_connstring.patch<sup><img class="rendericon" src="https://support.zabbix.com/images/icons/link_attachment_7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></p> <p> </p> <p>I tested PHP side and seemed to work fine, even when switchover from one node to another. Was not able to build C++ Server application to test it, since working on Windows mainly and setting up build environment currently would take longer than needed.</p> <p> </p> <p>This patch seemed to be good for tag '6.0.0' and checked out commit was 5203d2ea7d901cd33d148f20586e2155901a7faa.<br/> PHP side seemed to work fine even for origin/master as well</p> <p> </p> <p>Patch implements Postgres connectionstring support and support to add target_session_attr on Postgres connections when using old parameters. In the old code it is possible to add multiple hosts on DBHost field, making it work quite similar to what connstring is implementing. But for automatic failover the target_session_attr is required.</p> <p>Updated patch to current master (6cfe791429d7cccda0205335868976cac6c51039) <span class="nobr"><a href="https://support.zabbix.com/secure/attachment/197667/197667_zabbix6_4_pg_connstring.patch" title="zabbix6_4_pg_connstring.patch attached to ZBXNEXT-6492">zabbix6_4_pg_connstring.patch<sup><img class="rendericon" src="https://support.zabbix.com/images/icons/link_attachment_7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span></p> <p>Patch still has both changes, one to add target_session_attr config option (with default value of "read-write") and other one to use connectionstring instead of all the connection parameters. </p> <p>Even the target_session_attr change would give possibility to write multiple hosts on DBHost field and get correct HA capabilities. If you would like to keep old behavior, then target_session_attr could have the default value of "any", but would be good to have possibility to configure it.</p> <p>This change is vital for Zabbix HA capabilities, without database zabbix is nothing. It is not normal situation to change Zabbix config if for some reason DB should have to do failover to replica node. </p> <p>If you still suggest using something like pg_bouncer to do that failover, could you please provide sample configuration for it, cause so far I have not seen pg_bouncer having such possibility to proxy connections to R/W node. </p> <p>Since there has been bigger changes, then I am not so sure if new patch contains all the required changes as I still do not have build environment set up to compile zabbix_server and zabbix_proxy.</p> <p>If more load-balancing from DB is wanted, then going further it would be nice to configure read-only db config (by default being same as rw config) and having queries tagged as read-only or queries that modify data and then directing read-only queries towards config for read only and queries that modify data only towards RW config. That way it would be possible to spread the queries across DB cluster. At least talking from Postgres point of view when hot_standby is used, but I am sure similar setup is possible with MariaDB and Oracle.</p> <p>I'd very much like to see this feature in.</p> <p>I haven't tested the patches, but it seems to me that stripping one of the if statements of parentheses would make the translation unit incorrect.</p> <p>This could also be a good addition if you use pg_auto_failover. Would like to see this as an way to make Zabbix truly HA with the great inbuild server HA + PostgreSQL HA with something modern.</p> <p>"Implementing client-side High Availability is included in PostgreSQL’s driver <cite>libpq</cite> from version 10 onward. Using this driver, it is possible to specify multiple host names or IP addresses in the same connection string."</p> <p>I was in the process of writing a patch to implement this for 7.x, but it appears that there's a work-around good enough for me and perhaps others that doesn't involve patching the sources.</p> <p>What I needed from my WIP patch was a couple of things:</p> <ol> <li>the ability to set multiple hosts and their ports</li> <li>the ability to set target_session_attrs</li> <li>ideally no regression for other DB servers so that the patch could be pushed upstream.</li> </ol> <p>It had already been possible to set multiple hosts in the DBHost field and it worked with Postgres as intended, but not multiple ports which I needed. The problem was that DBPort is converted to an integer and stored in a variable common to all database connection code, so I had a dilemma how to implement what I wanted but at the same time keep everybody else happy.</p> <p>Someone over in the IRC channel asked whether pgservices could work and I thought that it's a nice idea, but there's a similar one, but simpler: environment variables PGPORT and PGTARGETSESSIONATTRS. This may be surprising, but it appears to work, zabbix-server doesn't do anything about it and libpq handles them as designed. You'd think for consistency I should also set PGHOST or PGHOSTADDR, but if you don't set it in the zabbix-server config, it's going to default to localhost, which in my case beats the purpose of everything else mentioned here.</p> <p>I think ideally zabbix-server should cease trying to parse and handle all possible connection parameters for all database engines that it supports and instead expose a single configuration setting for the user to provide the connection URI.</p> <p>In fact, it is strange that there is still no such possibility. It would be great if such an option appears</p> <p>Thanks @pstef</p> <p>I opted to use environment variable PGTARGETSESSIONATTRS to solve my problem. In configuration added multiple DB hosts. My setup was easier since used default port, but different hosts. Made similar change in PHP FPM config to pass same environment variable to web interface as well. Been using that method for couple of months in production, so far on switchover, there is minor hiccup as zabbix detects that connections should be recreated on DB switchover, but so far system has been able to behave normally. This method works only because they are not setting it to some value. My patch itself would set some default value, but at the same time give you option to set it in config. Potentially could have added multiple ports option in ports field too, but it was more complicated than to add connectionstring field.</p> <p>I don't bother updating my patches for it any more, big portion of work is already done in there and it is up to Zabbix guys to either use it and merge it to upstream or not. </p> <p>I agree with you, they should just give the option to enter one connection string field and not bother with parsing and handling them all. But for sake of backwards compatibility probably those fields should stay. However still could add connection string field and if it is entered, then not try to parse rest of DB config parameters and trust that user configuring already knows what they are doing. Not all of the users will need such option, but some might. When writing my patch I kept in mind that old way should still work, it should include config file descriptions to my best knowledge and should not break something on other DB engines, but in the end it is zabbix dev team choice to use that patch or not. So far it seems this ticket has not gotten any of their attention and will be among other unsolved bug reports. Yes there are more parameters you could set and parsing them all could be too much, but most commonly used ones are sslmode and target_session_attrs, that is why potentially those should be in config while rest could come from environment variables.</p> <p> </p> <p> </p> <p>Still there could be improvements made in backend and to make zabbix server and web aware of query types and if they are read-only queries or need to modify data. If it is read-only query, then it could be loadbalanced using prefer-standby for those queries and direct write queries to read-write node. It of course brings danger of reading stale data, but that is more on DBA to handle on cluster side.</p> Sub-task Additional Information Development Rank 0|i0aaqf: Template Templated answers Training Zabbix version [ZBXNEXT-5024] Allow "Manual close" option is greyed out if triggers are creating automatically from trigger prototype and from default template https://support.zabbix.com/browse/ZBXNEXT-5024 ZABBIX FEATURE REQUESTS <p>Allow "Manual close" option is greyed out if triggers are creating automatically from trigger prototype  and from default template. Tested with windows default OS template. the services are discovered automatically by the default template and trigger prototypes are created automatically. But unable to check the option "manual close the trigger" in such cases.</p> <p> </p> <p>if we manually create a new tigger prototype or new trigger, there is no such problem and able to check "allow manual close"</p> <p> </p> <p>seems like its a bug. Please check.</p> Production ZBXNEXT-5024 Allow "Manual close" option is greyed out if triggers are creating automatically from trigger prototype and from default template New Feature Request Major Reopened Unresolved Unassigned Abhilash Chittahukatil Sat, 9 Feb 2019 03:25:44 +0200 Mon, 11 Feb 2019 19:11:42 +0200 4.0.4 Frontend (F) 0 2 <p>Hi,</p> <p>All trigger fields, except "Enabled", based on trigger prototypes cannot be changed. It can be changed on trigger prototype level. After next discovery iteration all changes from trigger prototype will be transferred to the trigger level.</p> <p>Same situation with triggers, based on templates.</p> <p>But I am not able to change that even in trigger prototype level. There are also it is grayed out. Is this the problem because I am using the default trigger prototype from the default windows server service discovery rule ?</p> <p>When I take a clone of that trigger prototype, The Manual close option I am able to check.</p> <p>But I am not able to change that even in trigger prototype level. There are also it is grayed out. Is this the problem because I am using the default trigger prototype from the default windows server service discovery rule ?</p> <p>When I take a clone of that trigger prototype, The Manual close option I am able to check.</p> Development Rank 0|i06v6v: Template Templated answers [ZBXNEXT-5056] Allow regex/wildcards for vfs.files.exists https://support.zabbix.com/browse/ZBXNEXT-5056 ZABBIX FEATURE REQUESTS <p>We are planning to migrate our current monitoring tool to zabbix but one major blocker is that Zabbix does not play well with wildcards using vfs.files.exists. A large number of our systems generate application logs where our current tool would monitor and report if found. It is actually a simple "search for anything <b>.log or error-</b>.log in path /this/path/to/logfile", which does not appear to work with Zabbix vfs.files.exists item.</p> RHEL 6/7 64bit ZBXNEXT-5056 Allow regex/wildcards for vfs.files.exists New Feature Request Major Reopened Unresolved Zabbix Support Team Hector Lopez Tue, 19 Feb 2019 00:59:51 +0200 Thu, 11 May 2023 14:55:07 +0300 4.0.4 Agent (G) Server (S) Templates (T) 4 7 <p>Hello Hector,</p> <p>Thank you for reporting the issue. You can use <a href="https://www.zabbix.com/documentation/4.0/manual/discovery/low_level_discovery" class="external-link" target="_blank" rel="nofollow noopener">custom LLD rules</a> to discover all files and add them to the monitoring. I found a similar case registered under <a href="https://support.zabbix.com/browse/ZBXNEXT-1699" title="support log.discovery" class="issue-link" data-issue-key="ZBXNEXT-1699">ZBXNEXT-1699</a>, so we will close this ticket and continue the discussion there. Feel free to follow the original case and vote for it.</p> <p>Regards,<br/> Edgar</p> <p>If you don't need to dive into contents of these files, you can use <tt>vfs.dir.count[]</tt>. I think it should be sufficient for this use case.</p> <p>Thank you everyone for your inputs! Will do more testing noting these inputs.</p> <p> </p> <p>@edgar.akhmetshin<br/> Just because the example use case is about log files, doesn't make it a duplicate of a discovery feature request. Nothing discussed on that ticket will help when I want to know if there exists a file with a particular name, but don't care what the extension is.</p> <p>Instead of having a <tt>vfs.file.exists</tt> for each one, perhaps an item like <tt>vfs.files.exists</tt> to combine this into one item check such as:</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>vfs.files.exists[/path1/to/some.log, /path1/to/another.log, /path2/to/more.log, /path3/to/another2.log]</pre> </div></div> <p>Regardless of whether the list of filenames is a single string parameter (“name1,name2”) or the item just accepts multiple parameters with each as a separate file, it would help reduce the chances of an external script timing out.</p> Duplicate ZBXNEXT-1699 Development Rank 0|i06wef: Template Templated answers [ZBXNEXT-4566] Permission zabbix administrator on maps with images https://support.zabbix.com/browse/ZBXNEXT-4566 ZABBIX FEATURE REQUESTS <p>Good night dear.</p> <p>I recently encountered a problem regarding permissioning on maps,</p> <p>I have some maps, which are specific hosts and triggers for a group, to which only users who have the appropriate permissions in this group should have access to "list and view the maps", but that is not quite what is happening.</p> <p>If the user is of type "user zabbix" such maps are not listed nor displayed.<br/> If the user is of type "administrator zabbix" the maps are listed and displayed in a way that had never seen before, with the icons in gray and the text "* UNKNOWN" linked to the data.</p> <p>I noticed that if the map contains only "host, trigger, group, map" elements, the permission applied to the user works perfectly and it is not able to list or view the maps.</p> <p>And if the map contains at least 1 element of type "image", the user is able to list and view the map in the way I described above, it seems to me that this is not correct.</p> <p>I faced this problem in version 3.4.6, and tried an upgrade to version 3.4.8 and the problem persists.</p> <p>Is it a permission setting, or a bug?<br/> I hope it was clear, below I separated some prints to illustrate the problem.</p> <p>In short: if any map that contains some element of type "image", any user of type "administrator zabbix" is able to list and see, if I remove all elements of the "image" type of maps, permission works perfectly.</p> Ubuntu 16.04 LTS ZBXNEXT-4566 Permission zabbix administrator on maps with images Change Request Major Reopened Unresolved Unassigned Diego Cavalcante Sat, 7 Apr 2018 00:43:52 +0300 Sat, 10 Aug 2019 16:49:20 +0300 API (A) 8 8 <p>version 3.4.9 the problem persists.</p> <p>Can confirm this on 3.4.9.</p> <p>Here is how to reproduce it:<br/> 1) Create user 'another' and assign it to User type 'Zabbix Admin' which by default has no rights to any host.<br/> 2) With Zabbix super administrator create a new map and add 'Zabbix server' host inside it. Sharing type remains as 'Private'<br/> 3) Authorize with 'another' user. Ensure the map is not visible.<br/> 4) Use Zabbix super administrator and include one image in the same map. Save the map<br/> 5) With user 'another' refresh the map page. The map becomes visible. It is possible to go inside and see some images (not including sensitive data).<br/> <span class="nobr"><a href="https://support.zabbix.com/secure/attachment/61437/61437_inserting-image-item-in-private-map-allows-all-zabbix-admins-see-some-content.mp4" title="inserting-image-item-in-private-map-allows-all-zabbix-admins-see-some-content.mp4 attached to ZBXNEXT-4566">inserting-image-item-in-private-map-allows-all-zabbix-admins-see-some-content.mp4<sup><img class="rendericon" src="https://support.zabbix.com/images/icons/link_attachment_7.gif" height="7" width="7" align="absmiddle" alt="" border="0"/></sup></a></span> </p> <p>Hello Aigars Kadikis, your reproduction of the problem was perfect.<br/> This is exactly the problem, I followed your procedure and the behavior is the same as yours, the permissioning of the elements in the maps works perfectly, but if you insert a single element of type "image" then the permission fails, so any user of type "zabbix administrator" will be able to list and view the maps of other users even if they are" private "and even if they do not have any permission on the elements contained in the map "even though the sensitive data is hidden ".</p> <p>I can confirm that the problem affects all versions 3.4.x and all alphas of 4.0.<br/> Version 3.2.x in my tests are working ok.</p> <p>It works as <a href="https://www.zabbix.com/documentation/3.4/manual/config/visualisation/maps/map" class="external-link" target="_blank" rel="nofollow noopener">documented</a>.</p> <blockquote><p>Admin level users can see private maps regardless of being the owner or belonging to the shared user list.</p></blockquote> <p>The way it is, I only see 2 exits:</p> <p>1º Do not use elements of type "image" in the maps. Well, the permissions are respected.<br/> 2. Do not leave any users with "Zabbix admin" profile. Well, the permissions are respected.</p> <p>I have to choose between the 2.</p> <p>Step by the same problem as Diego and I do not see exit since if not leave some users as admin they no longer have access to some elements</p> <p>I moved this issue to ZBXNEXT project. Please vote for this change request!</p> <p>In include/classes/api/services/CMap.php there are some lines that permit this:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> <span class="code-comment">// Setting PERM_READ permission <span class="code-keyword">for</span> maps with at least one image. </span> $selement_images = self::getSelements(array_keys($sysmaps_r), SYSMAP_ELEMENT_TYPE_IMAGE); self::setMapPermissions($sysmaps_r, $selement_images, [0 =&gt; []], $selement_maps); self::setHasElements($sysmaps_r, $selement_images);</pre> </div></div> <p>Any updates?</p> <p>Hi there, I've reported code lines involved in this issues/feature. This ticket was opened on  2018 Apr 07 ...Any updates?</p> <p>I wonder about this authorization concept. </p> <p>When I look at this list of references, I can not believe that large companies agree with this mess, or have spent a lot of money on work arounds.</p> <p>Example: We have several 24/7 data centers. Some have their own site administrators. To be able to administer their own hosts, they need to be Zabbix Adminstrator. This gives them all rights to maps again. The same issue is with Discovery. I am not able to give a DBA for a single host the rights for scheduled downtime without giving it the right Zabbix Adminstrator.<br/> From an authorization perspective, Zabbix is not suitable for large DCs, in particular multi-tenancy environment. <br/> Map is one of many gaps.</p> <p>By the wording, it is true that an administrator should see everything, but an application admin should be able to set up maintenance or add a template to his host. That's why many of us are Zabbix administrators and have in this case too many rights.</p> <p> </p> Duplicate ZBX-15141 Development Rank 0|i05wl3: Template [ZBXNEXT-4125] API access to global regular expressions https://support.zabbix.com/browse/ZBXNEXT-4125 ZABBIX FEATURE REQUESTS <p>Its either undocumented, hard to find documentation for, or not possible - but I'd like to be able to create/update/delete/get global regular expressions in Zabbix.</p> ZBXNEXT-4125 API access to global regular expressions New Feature Request Major Reopened Unresolved Unassigned David Angelovich Tue, 26 Sep 2017 22:39:48 +0300 Tue, 15 Aug 2023 10:57:46 +0300 3.4.2 API (A) 6 7 <p>Hello David, <br/> currently you can't manipulate with global expressions through the API. </p> Duplicate Development Rank 0|i05fwv: Sprint Roadmap Backlog Story Points 2.0 Template [ZBXNEXT-8778] Map Read-only permission is not working for users with user role type Admin https://support.zabbix.com/browse/ZBXNEXT-8778 ZABBIX FEATURE REQUESTS <p><b>Steps to reproduce:</b></p> <ol> <li>Create new map as Zabbix admin with owner Zabbix admin, select "share" and choose a user group, give them "read-only" permission.</li> <li>That User group has a user role type "user".</li> <li>Login as a member of that group -&gt; map editing is not possible</li> <li>Change user role type to "admin"</li> <li>Login as a member of that group -&gt; map editing is possible (should not be!)</li> </ol> <p>Try the same steps with a dashboard instead of a map - the user group with role type "admin" cannot edit the dashboard. This is the expected result, but not in the maps section.</p> Zabbix 6.0 LTS ZBXNEXT-8778 Map Read-only permission is not working for users with user role type Admin Change Request Major Reopened Unresolved Zabbix Development Team Daniel Kempkens Wed, 5 Apr 2023 09:21:04 +0300 Mon, 23 Oct 2023 17:58:18 +0300 6.4.6 Frontend (F) 0 5 <p>I do confirm. Replicated on Zabbix appliance 6.0.15 LTS(<a href="https://www.zabbix.com/rn/rn6.0.15" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/rn/rn6.0.15</a>). Created: user "Admina" with Admin role and group Zabbix administrators; user "User" with User role and group Users(changed during and for the process to Admin role).<br/> <span class="image-wrap" style=""><a id="200346_thumb" href="https://support.zabbix.com/secure/attachment/200346/200346_screenshot-1.png" title="screenshot-1.png" file-preview-type="image" file-preview-id="200346" file-preview-title="screenshot-1.png"><img src="https://support.zabbix.com/secure/thumbnail/200346/_thumb_200346.png" style="border: 0px solid black" role="presentation"/></a></span> <br/> <span class="image-wrap" style=""><a id="200347_thumb" href="https://support.zabbix.com/secure/attachment/200347/200347_screenshot-2.png" title="screenshot-2.png" file-preview-type="image" file-preview-id="200347" file-preview-title="screenshot-2.png"><img src="https://support.zabbix.com/secure/thumbnail/200347/_thumb_200347.png" style="border: 0px solid black" role="presentation"/></a></span><br/> <span class="image-wrap" style=""><a id="200348_thumb" href="https://support.zabbix.com/secure/attachment/200348/200348_screenshot-3.png" title="screenshot-3.png" file-preview-type="image" file-preview-id="200348" file-preview-title="screenshot-3.png"><img src="https://support.zabbix.com/secure/thumbnail/200348/_thumb_200348.png" style="border: 0px solid black" role="presentation"/></a></span><br/> User can edit the map.<br/> <span class="image-wrap" style=""><a id="200349_thumb" href="https://support.zabbix.com/secure/attachment/200349/200349_screenshot-4.png" title="screenshot-4.png" file-preview-type="image" file-preview-id="200349" file-preview-title="screenshot-4.png"><img src="https://support.zabbix.com/secure/thumbnail/200349/_thumb_200349.png" style="border: 0px solid black" role="presentation"/></a></span> <br/> Created and owned by Admin role type user "Admina".<br/> <span class="image-wrap" style=""><a id="200350_thumb" href="https://support.zabbix.com/secure/attachment/200350/200350_screenshot-5.png" title="screenshot-5.png" file-preview-type="image" file-preview-id="200350" file-preview-title="screenshot-5.png"><img src="https://support.zabbix.com/secure/thumbnail/200350/_thumb_200350.png" style="border: 0px solid black" role="presentation"/></a></span> <br/> User can not edit the dashboard.<br/> <span class="image-wrap" style=""><a id="200351_thumb" href="https://support.zabbix.com/secure/attachment/200351/200351_screenshot-6.png" title="screenshot-6.png" file-preview-type="image" file-preview-id="200351" file-preview-title="screenshot-6.png"><img src="https://support.zabbix.com/secure/thumbnail/200351/_thumb_200351.png" style="border: 0px solid black" role="presentation"/></a></span> <br/> Created and owned by Admin role type user "Admina".<br/> <span class="image-wrap" style=""><a id="200352_thumb" href="https://support.zabbix.com/secure/attachment/200352/200352_screenshot-7.png" title="screenshot-7.png" file-preview-type="image" file-preview-id="200352" file-preview-title="screenshot-7.png"><img src="https://support.zabbix.com/secure/thumbnail/200352/_thumb_200352.png" style="border: 0px solid black" role="presentation"/></a></span></p> <p>This works according to the <a href="https://www.zabbix.com/documentation/6.0/en/manual/config/visualization/maps/map" class="external-link" target="_blank" rel="nofollow noopener">documentation</a>:</p> <blockquote><p>Admin level users can see private maps regardless of being the owner or belonging to the shared user list. Private maps can be edited by the owner of the map and in case a user/ user group has read-write permissions for this map and at least read permissions to all elements of the corresponding map including triggers in the links.</p></blockquote> Duplicate Additional Information Development Rank 0|i0f6cn: Team Template Templated answers Training Zabbix version [ZBXNEXT-5707] Add template Windows updates check (Windows registry monitoring) https://support.zabbix.com/browse/ZBXNEXT-5707 ZABBIX FEATURE REQUESTS <p>Create linked template (Template OS Windows by Zabbix agent and Template OS Windows by Zabbix agent active) to check the date of the last update installation on Windows.</p> <p>In Zabbix Roadmap:</p> <p>Security and compliance monitoring</p> <ul> <li>Standard templates will be enhanced to contain security- and compliance-related monitoring</li> </ul> <p>Example item key: system.run["PowerShell.exe <span class="error">&#91;int&#93;</span><span class="error">&#91;double&#93;</span>::Parse((Get-Date((Get-ItemProperty -Path Registry::'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\Results\Install').LastSuccessTime) -UFormat %s))"]  <br/> But you can think about implementing it without powershell.<br/>  <br/> You can also make a check to check the status of the firewall.<br/>  </p> ZBXNEXT-5707 Add template Windows updates check (Windows registry monitoring) New Feature Request Major Reopened Unresolved Zabbix Development Team Ivan Degtyarev Wed, 22 Jan 2020 10:20:07 +0200 Mon, 18 Dec 2023 16:40:19 +0200 22 19 <p>In Inherited and template macros, create Macro with Effective value for redefine the number of days without installing updates</p> <p>It sounds like a great idea, let us check if it can be implemented without use of system.run.</p> <p>Just a quick status update. We are about to start development of this functionality, aiming for Zabbix 6.2.</p> <p>Development of new <b>metrics</b> (without template changes) for monitoring of Windows registry was moved to <a href="https://support.zabbix.com/browse/ZBXNEXT-7732" title="Windows registry monitoring" class="issue-link" data-issue-key="ZBXNEXT-7732"><del>ZBXNEXT-7732</del></a>.</p> <p>Monitoring of Windows updates using registry seems not to provide real latest info about updates. Sources other than registry should be considered. <br/> Some categories of updates are being installed, but they do not change a timestamp in registry (for example, KBxxxxx updates for Windows Defender, UWP apps, drivers). In such cases eventlog will contain records about successfully installed updates (with event ID 19, and source as WindowsUpdateClient), but timestamp in registry will not be changed. Judging by this fact, Eventlog can be the right source, as WMI behaves similarly to registry. However, eventlog monitoring is available only as active check.</p> <p>Windows registry monitoring metrics are available in:</p> <ul class="alternate" type="square"> <li><b>pre-6.2.0rc1</b> - <a href="https://git.zabbix.com/projects/ZBX/repos/zabbix/commits/a38b1cecd97" class="external-link" target="_blank" rel="nofollow noopener">a38b1cecd97</a></li> </ul> <p>While implementing registry monitoring was mentioned above this is not what was asked for (Windows Update monitoring). Keeping this open.</p> Duplicate ZBXNEXT-8900 ZBXNEXT-7594 ZBXNEXT-7732 Additional Information Development Rank 0|i08cev: Sprint Sprint 86 (Mar 2022) Sprint 87 (Apr 2022) Team Template Templated answers Training Zabbix version [ZBXNEXT-3234] PGRES_FATAL_ERROR in zabbix log after restarting Postgresql service https://support.zabbix.com/browse/ZBXNEXT-3234 ZABBIX FEATURE REQUESTS <p>After restarting postgresql I get "<span class="error">&#91;Z3005&#93;</span> query failed: <span class="error">&#91;0&#93;</span> PGRES_FATAL_ERROR:FATAL:" errors in zabbix log. They stabely appear from time to time, until I restart zabbix-server.<br/> Errors differ slightly on the basis of "DBHost" configuration (remote or localhost). See logs for details. <br/> Don't know, is this critical or not?</p> <p>To reproduce:<br/> 1) set DEBUG to 3 in zabbix_server.conf<br/> 2) run DB service, run zabbix server, check that they work<br/> 3) stop DB service, wait 10-20 sec, start it again<br/> 4) see zabbix logs, PGRES_FATAL_ERROR will appear periodically (think, it depends on the count of hosts and items)</p> Centos 6.5/7.1 x64, PostgreSQL 9.5, Zabbix 2.4.7 ZBXNEXT-3234 PGRES_FATAL_ERROR in zabbix log after restarting Postgresql service Change Request Major Reopened Unresolved Unassigned Sergey Lisikh Tue, 1 Mar 2016 16:56:40 +0200 Wed, 31 May 2017 11:36:11 +0300 Proxy (P) Server (S) 0 2 <p>This error also appear on debug level=2 with interval from 1 to 10-15 minutes.</p> <p>Here is a longer part of the log on my system:</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre> 14399:20160302:111456.497 Starting Zabbix Server. Zabbix 2.4.8rc1 (revision {ZABBIX_REVISION}). 14399:20160302:111456.497 ****** Enabled features ****** 14399:20160302:111456.497 SNMP monitoring: YES 14399:20160302:111456.497 IPMI monitoring: YES 14399:20160302:111456.497 WEB monitoring: YES 14399:20160302:111456.497 VMware monitoring: YES 14399:20160302:111456.497 Jabber notifications: YES 14399:20160302:111456.497 Ez Texting notifications: YES 14399:20160302:111456.497 ODBC: YES 14399:20160302:111456.497 SSH2 support: YES 14399:20160302:111456.497 IPv6 support: YES 14399:20160302:111456.497 ****************************** 14399:20160302:111456.497 using configuration file: /home/zabbix/zabbix-bin/etc/zabbix_server.conf 14399:20160302:111456.508 current database version (mandatory/optional): 02040000/02040000 14399:20160302:111456.508 required mandatory version: 02040000 14399:20160302:111456.517 server #0 started [main process] 14403:20160302:111456.517 server #1 started [configuration syncer #1] 14404:20160302:111456.517 server #2 started [db watchdog #1] 14405:20160302:111456.517 server #3 started [poller #1] 14406:20160302:111456.517 server #4 started [unreachable poller #1] 14408:20160302:111456.518 server #5 started [trapper #1] 14409:20160302:111456.518 server #6 started [trapper #2] 14411:20160302:111456.518 server #7 started [trapper #3] 14413:20160302:111456.518 server #8 started [trapper #4] 14415:20160302:111456.519 server #9 started [trapper #5] 14421:20160302:111456.520 server #13 started [timer #1] 14422:20160302:111456.520 server #14 started [http poller #1] 14420:20160302:111456.520 server #12 started [housekeeper #1] 14418:20160302:111456.520 server #11 started [alerter #1] 14426:20160302:111456.521 server #16 started [history syncer #1] 14430:20160302:111456.522 server #18 started [ipmi poller #1] 14433:20160302:111456.522 server #19 started [java poller #1] 14417:20160302:111456.522 server #10 started [icmp pinger #1] 14434:20160302:111456.522 server #20 started [proxy poller #1] 14429:20160302:111456.523 server #17 started [escalator #1] 14435:20160302:111456.524 server #21 started [self-monitoring #1] 14423:20160302:111456.539 server #15 started [discoverer #1] 14429:20160302:111520.531 [Z3005] query failed: [0] result is NULL [select escalationid,actionid,triggerid,eventid,r_eventid,nextcheck,esc_step,status,itemid from escalations order by actionid,triggerid,itemid,escalationid] 14429:20160302:111520.531 [Z3005] query failed: [0] PGRES_FATAL_ERROR: [select escalationid,actionid,triggerid,eventid,r_eventid,nextcheck,esc_step,status,itemid from escalations order by actionid,triggerid,itemid,escalationid] 14429:20160302:111520.531 [Z3001] connection to database 'zabbix_2_4' failed: [0] could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? 14429:20160302:111520.531 database is down: reconnecting in 10 seconds 14422:20160302:111521.533 [Z3005] query failed: [0] result is NULL [select h.hostid,h.host,h.name,t.httptestid,t.name,t.variables,t.headers,t.agent,t.authentication,t.http_user,t.http_password,t.http_proxy,t.retries,t.ssl_cert_file,t.ssl_key_file,t.ssl_key_password,t.verify_peer,t.verify_host from httptest t,hosts h where t.hostid=h.hostid and t.nextcheck&lt;=1456910121 and mod(t.httptestid,1)=0 and t.status=0 and h.proxy_hostid is null and h.status=0 and (h.maintenance_status=0 or h.maintenance_type=0)] 14422:20160302:111521.533 [Z3005] query failed: [0] PGRES_FATAL_ERROR: [select h.hostid,h.host,h.name,t.httptestid,t.name,t.variables,t.headers,t.agent,t.authentication,t.http_user,t.http_password,t.http_proxy,t.retries,t.ssl_cert_file,t.ssl_key_file,t.ssl_key_password,t.verify_peer,t.verify_host from httptest t,hosts h where t.hostid=h.hostid and t.nextcheck&lt;=1456910121 and mod(t.httptestid,1)=0 and t.status=0 and h.proxy_hostid is null and h.status=0 and (h.maintenance_status=0 or h.maintenance_type=0)] 14422:20160302:111521.533 [Z3001] connection to database 'zabbix_2_4' failed: [0] could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? 14422:20160302:111521.533 database is down: reconnecting in 10 seconds 14426:20160302:111521.556 [Z3005] query failed: [0] result is NULL [begin;] 14426:20160302:111521.556 [Z3001] connection to database 'zabbix_2_4' failed: [0] could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? 14426:20160302:111521.556 database is down: reconnecting in 10 seconds 14403:20160302:111526.520 [Z3001] connection to database 'zabbix_2_4' failed: [0] could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? 14403:20160302:111526.520 database is down: reconnecting in 10 seconds 14418:20160302:111526.528 [Z3005] query failed: [0] result is NULL [select a.alertid,a.mediatypeid,a.sendto,a.subject,a.message,a.status,mt.mediatypeid,mt.type,mt.description,mt.smtp_server,mt.smtp_helo,mt.smtp_email,mt.exec_path,mt.gsm_modem,mt.username,mt.passwd,a.retries from alerts a,media_type mt where a.mediatypeid=mt.mediatypeid and a.status=0 and a.alerttype=0 order by a.alertid] 14418:20160302:111526.528 [Z3005] query failed: [0] PGRES_FATAL_ERROR: [select a.alertid,a.mediatypeid,a.sendto,a.subject,a.message,a.status,mt.mediatypeid,mt.type,mt.description,mt.smtp_server,mt.smtp_helo,mt.smtp_email,mt.exec_path,mt.gsm_modem,mt.username,mt.passwd,a.retries from alerts a,media_type mt where a.mediatypeid=mt.mediatypeid and a.status=0 and a.alerttype=0 order by a.alertid] 14418:20160302:111526.528 [Z3001] connection to database 'zabbix_2_4' failed: [0] could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? 14418:20160302:111526.528 database is down: reconnecting in 10 seconds 14429:20160302:111530.531 [Z3001] connection to database 'zabbix_2_4' failed: [0] could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? 14429:20160302:111530.531 database is down: reconnecting in 10 seconds 14422:20160302:111531.533 [Z3001] connection to database 'zabbix_2_4' failed: [0] could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? 14422:20160302:111531.534 database is down: reconnecting in 10 seconds 14426:20160302:111531.556 [Z3001] connection to database 'zabbix_2_4' failed: [0] could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? 14426:20160302:111531.556 database is down: reconnecting in 10 seconds 14403:20160302:111536.520 [Z3001] connection to database 'zabbix_2_4' failed: [0] could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? 14403:20160302:111536.520 database is down: reconnecting in 10 seconds 14418:20160302:111536.528 [Z3001] connection to database 'zabbix_2_4' failed: [0] could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? 14418:20160302:111536.529 database is down: reconnecting in 10 seconds 14429:20160302:111540.532 [Z3001] connection to database 'zabbix_2_4' failed: [0] could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? 14429:20160302:111540.532 database is down: reconnecting in 10 seconds 14422:20160302:111541.534 [Z3001] connection to database 'zabbix_2_4' failed: [0] could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? 14422:20160302:111541.534 database is down: reconnecting in 10 seconds 14426:20160302:111541.556 [Z3001] connection to database 'zabbix_2_4' failed: [0] could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? 14426:20160302:111541.556 database is down: reconnecting in 10 seconds 14403:20160302:111546.527 database connection re-established 14418:20160302:111546.532 database connection re-established 14429:20160302:111550.535 database connection re-established 14422:20160302:111551.538 database connection re-established 14426:20160302:111551.560 database connection re-established 14423:20160302:111556.546 [Z3005] query failed: [0] result is NULL [select distinct r.druleid,r.iprange,r.name,c.dcheckid,r.proxy_hostid from drules r left join dchecks c on c.druleid=r.druleid and c.uniq=1 where r.status=0 and (r.nextcheck&lt;=1456910156 or r.nextcheck&gt;1456910156+r.delay) and mod(r.druleid,1)=0] 14423:20160302:111556.546 [Z3005] query failed: [0] PGRES_FATAL_ERROR: [select distinct r.druleid,r.iprange,r.name,c.dcheckid,r.proxy_hostid from drules r left join dchecks c on c.druleid=r.druleid and c.uniq=1 where r.status=0 and (r.nextcheck&lt;=1456910156 or r.nextcheck&gt;1456910156+r.delay) and mod(r.druleid,1)=0] 14411:20160302:111558.141 [Z3005] query failed: [0] result is NULL [select hostid,status from hosts where host='Zabbix server' and status in (0,1) and flags&lt;&gt;2 and proxy_hostid is null] 14411:20160302:111558.141 [Z3005] query failed: [0] PGRES_FATAL_ERROR: [select hostid,status from hosts where host='Zabbix server' and status in (0,1) and flags&lt;&gt;2 and proxy_hostid is null] 14405:20160302:111558.780 [Z3005] query failed: [0] result is NULL [select hostid,key_,state,evaltype,formula,error,lifetime from items where itemid=23278] 14405:20160302:111558.780 [Z3005] query failed: [0] PGRES_FATAL_ERROR: [select hostid,key_,state,evaltype,formula,error,lifetime from items where itemid=23278] 14421:20160302:111600.534 [Z3005] query failed: [0] result is NULL [begin;] 14413:20160302:111658.151 [Z3005] query failed: [0] result is NULL [select hostid,status from hosts where host='Zabbix server' and status in (0,1) and flags&lt;&gt;2 and proxy_hostid is null] 14413:20160302:111658.151 [Z3005] query failed: [0] PGRES_FATAL_ERROR: [select hostid,status from hosts where host='Zabbix server' and status in (0,1) and flags&lt;&gt;2 and proxy_hostid is null] 14415:20160302:111758.162 [Z3005] query failed: [0] result is NULL [select hostid,status from hosts where host='Zabbix server' and status in (0,1) and flags&lt;&gt;2 and proxy_hostid is null] 14415:20160302:111758.162 [Z3005] query failed: [0] PGRES_FATAL_ERROR: [select hostid,status from hosts where host='Zabbix server' and status in (0,1) and flags&lt;&gt;2 and proxy_hostid is null] 14408:20160302:111858.174 [Z3005] query failed: [0] result is NULL [select hostid,status from hosts where host='Zabbix server' and status in (0,1) and flags&lt;&gt;2 and proxy_hostid is null] 14408:20160302:111858.174 [Z3005] query failed: [0] PGRES_FATAL_ERROR: [select hostid,status from hosts where host='Zabbix server' and status in (0,1) and flags&lt;&gt;2 and proxy_hostid is null] 14409:20160302:112358.213 [Z3005] query failed: [0] result is NULL [select hostid,status from hosts where host='Zabbix server' and status in (0,1) and flags&lt;&gt;2 and proxy_hostid is null] 14409:20160302:112358.213 [Z3005] query failed: [0] PGRES_FATAL_ERROR: [select hostid,status from hosts where host='Zabbix server' and status in (0,1) and flags&lt;&gt;2 and proxy_hostid is null] 14399:20160302:114444.374 Got signal [signal:15(SIGTERM),sender_pid:15844,sender_uid:1000,reason:0]. Exiting ... 14399:20160302:114446.378 syncing history data... 14399:20160302:114446.380 syncing history data done 14399:20160302:114446.380 syncing trends data... 14399:20160302:114446.392 syncing trends data done 14399:20160302:114446.392 Zabbix Server stopped. Zabbix 2.4.8rc1 (revision {ZABBIX_REVISION}). </pre> </div></div> <p>It can be seen that there are failed queries after database connection was re-established. However, these failed queries probably come from processes which did not notice that the database was down before and were using the old connection descriptor for their query. This looks scary, but does not seem to cause a problem: these failed queries will be repeated immediately after reconnection.</p> <p>Thanks for reply, Aleksandrs!<br/> I've calmed down</p> <p>From the log attached by <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=asaveljevs" class="user-hover" rel="asaveljevs">asaveljevs</a> we can see that the fact that database was down and came back was noticed by alerter, escalator, http poller (these are processes which use direct queries instead of caches), configuration syncer and history syncer processes (which communicate with database a lot by design). Processes that do not notice such short database downtime are trappers, pollers, discoverer, timer, ... (which use mostly caches or spend a lot of time simply sleeping) Since Zabbix processes do not share information about database status this situation is more or less expected.</p> <p>After some discussion we decided to leave things as they are. Some of Zabbix processes communicate to database not very frequently. Between rare queries connection handle may become invalid. Query then fails and Zabbix process tries to reconnect immediately. If the reconnection is successful on the first attempt, no messages about database down/up are logged, just the message about a failed query. Rationale:</p> <ul> <li>We don't want to add "database is down", "database is up" messages on every reconnect, because this would litter logs and frighten users.</li> <li>We don't want to add "successfully reconnected" message only, because it would be like ")" without "(".</li> <li>We don't want to get rid of failed query messages, because we believe it's not good to hide such things.</li> </ul> <p>As suggested by <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=richlv" class="user-hover" rel="richlv">richlv</a> moved to feature requests to track user interest in this issue.</p> Development Rank 0|i044zz: Template [ZBXNEXT-1416] Allow granting permission to configure Maintenance Periods without granting full configuration access to host group https://support.zabbix.com/browse/ZBXNEXT-1416 ZABBIX FEATURE REQUESTS <p>We would like to be able to grant some users the permission to create and modify Maintance Periods for certain host groups, without granting them full configuration access to all aspects of the hosts in those groups.</p> <p>Perhaps this could be implemented as new User Type such as 'Operator', or a new column (between Read-write and Read-only) in the User Group Permissions screen.</p> <p>Of course I suspect this might not be simple to implement, and may fall within the scope of the work required for something like <a href="https://support.zabbix.com/browse/ZBXNEXT-77" title="Better permission granularity" class="issue-link" data-issue-key="ZBXNEXT-77"><del>ZBXNEXT-77</del></a> although that other feature request appears more focused on host-based granularity, whereas this is more about making granular an aspect of configuraiton.</p> Zabbix 2.0.2 running on Debian from unstable repository packages. ZBXNEXT-1416 Allow granting permission to configure Maintenance Periods without granting full configuration access to host group New Feature Request Major Reopened Unresolved Unassigned Robert Parker Mon, 10 Sep 2012 18:10:55 +0300 Tue, 4 Oct 2022 18:42:10 +0300 2.0.2 Frontend (F) Server (S) 53 37 <p>This might be easily related to <a href="https://support.zabbix.com/browse/ZBXNEXT-310" title="Need limited admin user level" class="issue-link" data-issue-key="ZBXNEXT-310"><del>ZBXNEXT-310</del></a>.</p> <p>We also would like this additional security level.<br/> We've sysadmins that do maintenance work and need to create maintenance windows in zabbix. These sysadmins don't have enough knowledge of zabbix so it would be best to limit there access. Currently they require read-write access to create maintenance windows in zabbix.</p> <p><a href="https://support.zabbix.com/browse/ZBXNEXT-310" title="Need limited admin user level" class="issue-link" data-issue-key="ZBXNEXT-310"><del>ZBXNEXT-310</del></a> is an older request but discribes it even better.</p> <p>this should be handled in the context of overall permission granularity, closing in favour of <a href="https://support.zabbix.com/browse/ZBXNEXT-77" title="Better permission granularity" class="issue-link" data-issue-key="ZBXNEXT-77"><del>ZBXNEXT-77</del></a></p> <p>this might be considered w/o full permission redesign, reopening</p> <p>This little hack gives an actual meaning to "Read/Write" in the context of a regular user. This might be a good idea, because it allows the implementation without massive changes and may reduce the confusion as of what the heck the "Read/Write" column is for.</p> <p><a href="http://zabbix.org/wiki/Docs/simplify_ad_hoc_maintenance#POC_implementation" class="external-link" target="_blank" rel="nofollow noopener">http://zabbix.org/wiki/Docs/simplify_ad_hoc_maintenance#POC_implementation</a></p> <p>I think it's very important for users to be able to set maintenance periods for various hosts and groups without having to be in the Zabbix Administrators group. In fact, the majority of users I have accessing Zabbix I would prefer not be Zabbix Administrators but have the ability to create maintenance schedules.</p> <p>I would also like this function, very important for larger installations</p> <p>Add my vote to the list of 'why doesn't this exist yet?' 5 years and counting....</p> <p>We're assigning dev-teams their own credentials for notifications etc, but allow them to set their own maintenance without needing us to set it for them would save us a lot of time.<br/> Please allow for a role of 'maintenance-user' which can set maintenance for hosts assigned to his/her group.<br/> This makes for a better to maintain rights management while still allowing users to manage their own hosts.</p> <p><br/> Any news?</p> <p>How difficult can it be to add a maintenance role. Would be a nice feature. Is there anyway to work around this? With a script or so?</p> <p>Would my approach work for you @Kornelis?</p> <p>@Volker:</p> <p>Is this script compatible with Zabbix 4.2? And how do i implement this?</p> <p>I agree this feature would be greatly appreciated!</p> <p>Thanks</p> <p>@Volker, is it possible to use patch with 4.4? Also, is there any step-by-step instruction how it can be installed?</p> <p>Given its age I predict it not to apply cleanly. However, I think that the concept is still sound and just try to do the few things that I did in the patch wherever they belong now. </p> <p>This appears to work on 6.0.2 and I'm not sure about other versions.</p> <p>Add read-write to the host groups you desire via User Groups and then using User Roles you can restrict configuration of Hosts.</p> <p>I'm not sure if I'm missing anything, but my users can now add maintenance and appear that they cannot configure anything still.</p> <p> </p> Duplicate ZBXNEXT-77 ZBXNEXT-4245 ZBXNEXT-7051 ZBXNEXT-4970 Development Rank 0|i02bzz: Template [ZBXNEXT-967] Logfile monitoring - regular expressions to search multiple lines by agent https://support.zabbix.com/browse/ZBXNEXT-967 ZABBIX FEATURE REQUESTS <p>Logfile monitoring with regular expression is ok. But sometimes you need to search for log entries in more than one line.<br/> More information in this thread: <a href="http://www.zabbix.com/forum/showthread.php?t=19641&amp;highlight=Application" class="external-link" target="_blank" rel="nofollow noopener">http://www.zabbix.com/forum/showthread.php?t=19641&amp;highlight=Application</a></p> <p>Example:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> foo foofoofoo foofoofoofoo error and much more here is the description foofoofoo foofoofoofoo </pre> </div></div> <p>regular expression:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> /^error.*\n.*$/m </pre> </div></div> <p>With this regular expression you will get both lines. But today it is not possible in zabbix</p> CentOS 5.6 ZBXNEXT-967 Logfile monitoring - regular expressions to search multiple lines by agent New Feature Request Major Reopened Unresolved Zabbix Support Team Frank Hirschner Wed, 14 Sep 2011 11:49:31 +0300 Wed, 21 Apr 2021 16:48:48 +0300 1.8.7 1.8.8 Agent (G) 5 4 <p>most likely a dupe of <a href="https://support.zabbix.com/browse/ZBXNEXT-968" title="multiline regular expression matching" class="issue-link" data-issue-key="ZBXNEXT-968"><del>ZBXNEXT-968</del></a> - if not, please reopen</p> <p>This is not duplicate, reopening it, as time to time people ask for that.</p> Duplicate Development Rank 0|i02h1z: Template [ZBXNEXT-1485] Redesigning the get methods output parameter https://support.zabbix.com/browse/ZBXNEXT-1485 ZABBIX FEATURE REQUESTS <p>The output parameter for get methods should be redesigned to be simpler and more intuitive to use.</p> <p>More details in the specification: <a href="http://zabbix.org/wiki/Docs/specs/ZBXNEXT-1485" class="external-link" target="_blank" rel="nofollow noopener">http://zabbix.org/wiki/Docs/specs/ZBXNEXT-1485</a></p> ZBXNEXT-1485 Redesigning the get methods output parameter Change Request Major Reopened Unresolved Unassigned Pavels Jelisejevs Thu, 25 Oct 2012 09:51:29 +0300 Tue, 21 Jan 2014 12:14:39 +0200 2.1.0 2.2.0 API (A) Documentation (D) Frontend (F) 1 2 <p>To make the transition smoother and less painful, I've separated three subtasks that need to be done first: <a href="https://support.zabbix.com/browse/ZBXNEXT-1492" title="Drop support of output shorten for API get methods" class="issue-link" data-issue-key="ZBXNEXT-1492"><del>ZBXNEXT-1492</del></a>, <a href="https://support.zabbix.com/browse/ZBXNEXT-1505" title="Property array support for all API get methods" class="issue-link" data-issue-key="ZBXNEXT-1505"><del>ZBXNEXT-1505</del></a> and <a href="https://support.zabbix.com/browse/ZBXNEXT-1491" title="Property array support for API get method subselects" class="issue-link" data-issue-key="ZBXNEXT-1491"><del>ZBXNEXT-1491</del></a>.</p> <p>subtasks closed, this one can be closed, too <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=jelisejev" class="user-hover" rel="jelisejev">jelisejev</a> Wait, there's still stuff to be done in this task too.</p> Duplicate ZBX-7682 ZBXNEXT-1491 ZBXNEXT-1492 ZBXNEXT-1505 ZBXNEXT-2017 Development Rank 0|i02epj: Template [ZBXNEXT-1136] Remove disabled/inactive auto-registered hosts automatically https://support.zabbix.com/browse/ZBXNEXT-1136 ZABBIX FEATURE REQUESTS <p>I'm trying to find something to automate the deletion of my disabled hosts on my Zabbix Server.<br/> Soma Action that delete inactive/disabled hosts after a certain time. Do you know somwthing that can be used in this issue?</p> OS Centos 5.7 64bits <br/> DB Postgres 9.0 ZBXNEXT-1136 Remove disabled/inactive auto-registered hosts automatically Change Request Major Reopened Unresolved Alexei Vladishev Kleber Vinicius de Carvalho Domingues Thu, 1 Mar 2012 20:35:33 +0200 Tue, 25 Dec 2018 11:31:42 +0200 1.8.10 Server (S) 12 13 <p>what's your definition of "inactive" ?</p> <p>Hosts that are some time without answering Zabbix Server requests. This is the opposite of Auto Discovery.</p> <p>"Remove host" operation is available for Discovery's actions.<br/> Probably it should help.</p> <p>as mentioned, if you are using network discovery, you can use host removal operation;<br/> if you want to do that based on triggers only, you can run a script and deal with hosts via the api.</p> <p>i don't think there's going to be anything more specific implemented -&gt; closing</p> <p>I updated this feature request summary to reflect a main target - <b>auto-registered</b> hosts automatic removal.</p> <p>Any nice ideas how it could be nicely implemented are welcome <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/><br/> Just to discuss it.</p> <p>I'm currently using Auto Registration for load balanced servers I'm starting and stopping with Amazon's AWS auto scaling feature. So what would be useful is an operation to Disable Host after xx mins, then 'Delete Host' after xxx mins</p> <p>For example when the server is terminated it could be disabled after 60 mins, then deleted after 240 mins.</p> <p>@Rob, If you have found a way to deal with that type of issues please respond since I'm looking for a way to automatically remove hosts that are no longer available from zabbix.</p> <p>Thank you</p> <p>@Ionut Cadariu, I've rencently write a script with python to delete unactive hosts periodly. Call for zbx json-rpc with groupid, we get the status of hosts, then we can decide disable them after specific time and delete them. My zabbix version is 2.2.4, if you're interested, post an email:f3536@163.com to me.</p> <p>I'm using zabbix_sender called from the zabbix_agent init script upon shutdown to trigger a server-side API call which disables the host. Then a server-side script runs periodically and deletes disabled hosts greater than X days old through the API. It's working for us but I'd like to see this functionality built-in as ephemeral hosts is becoming more widespread.</p> <p>@James Hammett</p> <p>What is the syntax to send the disable signal for zabbix_sender??? I've been searching Google for the past 1.5 hours trying to find exactly that key and value and the best I've found is your comment saying you've done it...</p> <p>PLEASE reply. PLEASE.</p> <p>M.</p> <p>Google is no help as I haven't seen anyone else tackle this problem. I created an item named "disable-host" and I have zabbix_sender send the name of the host to it upon shutdown. I created a trigger that triggers upon each update of "disable-host". That triggers an action that runs a server-side script that hits the API disabling the host. Lots of moving parts but 100% reliable so far. Right now I'm working toward making this all work with Docker containers :^)</p> <p>please consider using <a href="https://www.zabbix.org/wiki/Getting_help" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.org/wiki/Getting_help</a> for discussion, and maybe even writing a howto on zabbix.org <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>@JamesH</p> <p>Man, thank you. I am totally following what you are saying and am working on a Proof of Concept. I had gotten another idea working just late yesterday.</p> <p>1) Wrote a "service": /etc/init.d/zabbix-disable-host<br/> 2) It phones home:</p> <ul class="alternate" type="square"> <li>An "enable" at system boot</li> <li>A "disable" at system shutdown</li> <li>(also handles "status" which just queries the Zabbix front end for current status)<br/> 3) The back end of it is a python script on the node itself.</li> </ul> <p>I decided on this way because if the node crashes and burns, it never sends the "disable" back so it will go unreachable (and in turn sound the alert)</p> <p>Currently, I'm trying to figure out how to get the date/time out of Zabbix when the node went disabled. This way we can retain usage history for the node for X days, then delete it. We don't want it deleted right away. Looking at the API docs, I don't see that Zabbix actually stores anywhere WHEN the node got / went disabled. :-\</p> <p>M.</p> <p>As a small follow up, it doesn't seem that Zabbix records the date/time a node was disabled. <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/sad.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>So what I do now in my "service" file (/etc/init.d/zabbix-disable-host) on stop:</p> <ul> <li>Sends the "disable (this) host" to Zabbix <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java">zapi.host.update(hostid=HOSTID, status=new_status)</pre> </div></div></li> <li>Enables inventory in manual mode (so it doesn't try to populate it in "automatic mode" when we don't care) <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java">zapi.host.update(hostid=HOSTID,inventory_mode=0)</pre> </div></div></li> <li>Writes an epoch stamp to "date_hw_decomm" (Date HW decommissioned) <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java">zapi.host.update(hostid=HOSTID,inventory={<span class="code-quote">'date_hw_decomm'</span>: EPOCH})</pre> </div></div></li> </ul> <p>Server side I scheduled a daily script to:</p> <ul> <li>Check that specific inventory key of all disabled hosts <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"><span class="code-keyword">for</span> h in zapi.host.getobjects(status=1): host_id = h[<span class="code-quote">'hostid'</span>] result = zapi.host.get( withInventory=1, output=[<span class="code-quote">"date_hw_decomm"</span>], hostids=host_id, selectInventory=[<span class="code-quote">"date_hw_decomm"</span>]) (after a little monkeying with the json back from Zabbix) you get the epoch stamp recorded when the node was disabled above. Whip a little math around comparing that stamp to <span class="code-quote">"now"</span> and get a <span class="code-quote">"diff"</span> (number days between <span class="code-quote">"now"</span> and <span class="code-quote">"disabled date"</span>). </pre> </div></div></li> <li>Whack hosts that were "decommissioned" greater than X days ago.</li> </ul> <p>M.</p> <p>might be solvable by <a href="https://support.zabbix.com/browse/ZBXNEXT-1387" title="Allow triggers to remove hosts from groups, disable them, etc" class="issue-link" data-issue-key="ZBXNEXT-1387">ZBXNEXT-1387</a></p> Duplicate ZBXNEXT-2609 Development Rank 0|i02enz: Template [ZBXNEXT-2519] Move API to Zabbix Server https://support.zabbix.com/browse/ZBXNEXT-2519 ZABBIX FEATURE REQUESTS <p>There are number of drawbacks of current implementation of Zabbix API:</p> <ul class="alternate" type="square"> <li>code duplication (C, PHP)</li> <li>poor performance especially for template related operations</li> <li>lack of bulk operations and in-memory cache</li> <li>API code is too tied to front-end code (no clear separation)</li> <li>API is not available without Zabbix front-end</li> </ul> <p>It's proposed to move API to Zabbix Server side.</p> ZBXNEXT-2519 Move API to Zabbix Server New Feature Request Major Reopened Unresolved Unassigned Alexei Vladishev Thu, 16 Oct 2014 16:04:37 +0300 Mon, 6 Sep 2021 13:09:59 +0300 API (A) Server (S) 34 46 <p>There should be a reliable mechanism (timeout?) to cancel or prevent expensive API requests.<br/> Currently one can just restart the HTTP server. Restarting the Zabbix server is certainly no option.</p> <p>Otherwise issues like <a href="https://support.zabbix.com/browse/ZBX-6763" title="Significant performance difference of API method event.get depending on user type" class="issue-link" data-issue-key="ZBX-6763"><del>ZBX-6763</del></a> might become a serious problem.</p> <p>Btw, how about implementing this as a separate process accessing the shared memory of the server?</p> <p>Yes, the current plan is to implement it as separate process(es). This will allow to partly re-use existing functionaly for some requests (for example template linking) and also will give access to configuration/value caches.</p> <p>Performance issue for template related operations discussed in <a href="https://support.zabbix.com/browse/ZBX-6118" title="Very low performance changing template linked with many hosts" class="issue-link" data-issue-key="ZBX-6118"><del>ZBX-6118</del></a></p> <p>We've had a number of comments from our developers that are creating micro services (which we'll run in application containers) that are looking for a restful end point to send metrics to. Will this be available on the proxy as well and will the API be expanded to allow updating item values?</p> <p>Can we make this a separate component from the Zabbix server entirely so that it can be installed on a separate machine from the server? The reason I ask is this: the server already has a lot to do, ingesting data from the proxies, writing it to the database, monitoring anything not monitored by the proxies, calculating triggers and items, and running actions based on those triggers in addition to the other various tasks it has to do.</p> <p>In a large enterprise environment, being able to horizontally scale is a requirement and thus far, we've been able to do that by adding proxies and additional web servers, but there can only be one Zabbix server. We are planning to start using the Zabbix API much more heavily in the next year, so being able to set up multiple API servers behind a load balancer would be extremely beneficial and take some load off the Zabbix server.</p> <p>I agree with Ross. We definitely need to start separating the server into discrete, horizontally scalable micro-services. May need to look at memcached/redis for distributing in-memory caches between components.</p> <p>I did consider prototyping a RESTful API written in C but it lead to another million new cool ideas and I couldn't decide where to start. For example, it really should sit in front of a shared Data Access Layer (or two: one for config, one for metrics) which could also be a discrete component with a RESTful/other API and then be used by the front-end, server, public API, etc.</p> <p>So in summary, please don't move the API to the server binary; let's make it discrete and scalable.</p> <p>Ryan &amp; Ross, I totally agree with you. The API component must be as independent as possible and ideally shouldn't affect runtime processing of Zabbix Server. We may also give users a choice: run it as part of Zabbix Server or as a standalone process for those who prefer scalability. In both cases the API component shouldn't tightly coupled with Zabbix Server, there will be no shared resources at all.</p> <p>From the other hand, having API on Zabbix Server side would allow interesting things like building distributed or HA Zabbix Server on top of the API or making all communications (server-agent, proxy-server) to be based entirely on API calls. Just imagine Zabbix Agent doing history.put or Proxy doing config.get. I like it, do you?</p> <p>when decoupling the api, what about the server caches (value, configuration) ?<br/> those would be very valuable to reuse for the api.<br/> separate caching engines like redis could be considered, but the complexity of a zabbix deployment would increase massively <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>Yeah I think the caches are valuable to the API but do agree that redis/memcached/other would add install complexity.<br/> Alexei, I definitely like it.</p> <p>I understand this idea is turning into a complete redesign (Zabbix v4?), but if you will indulge me, I'd like to regurgitate the "million new cool ideas" that I feel may actually have value to you. Take it or tweak it or leave it I guess, but I feel some isolation and abstraction would make Zabbix stand out from the crowd.</p> <p>In brief:</p> <ul> <li>All shared memory caches are reimplemented as discrete services with private APIs (i.e. Zabbix implementation of redis/memcached/etcd)</li> <li>Each worker process (currently discrete PIDs via <tt>fork()</tt>) migrated to a discrete service with private API (e.g. trapper, pinger, poller, trigger eval, action queue, etc.)</li> <li>Two new Data-Access Layer (DAL) private APIs to abstract away the database (one for time series, one for config/other) to enable multiple backends (OpenTSB, MongoDB, etc.) without affecting other components. The config service could apply templates at runtime rather than storing duplicate data to disk (which is then expensive to update)</li> <li>Use a message queue to improve API interconnects (pub/sub), atomicity of changes, producer/consumer load balancing, agent comms, delivery and queuing of metrics, actions, etc.</li> <li>a watchdog service to make sure each component is started/listening</li> <li>Public API is then a discrete service which leverages private APIs and DAL</li> <li>Web front-end should <b>exclusively</b> use the public API ("eat your own dog food")</li> </ul> <p>Advantages:</p> <ul> <li>Improved (limitless?) scalability of each component (deploy as monolithic server or distributed micro-services (containerised?))</li> <li>HA per component</li> <li>Significantly improved extensibility (new DAL backends or event brokers would be so much easier!)</li> <li>Improved topologies across network boundaries</li> <li>Eliminate proxies (replace with ZabbixMQ or agent proxies like SCCM)</li> <li>faster changes to templates via config API with updates published on the MQ (no bulk updates or syncers to DB)</li> <li>Leverage service discovery protocols (e.g. consul)</li> </ul> <p>Should I put together some sort of proposal on the wiki?</p> Duplicate ZBX-10119 Development Rank 0|i0334f: Template [ZBXNEXT-2260] Deprecated macros should be removed https://support.zabbix.com/browse/ZBXNEXT-2260 ZABBIX FEATURE REQUESTS <p>Support of deprecated macros like {IPADDRESS}, {HOSTNAME}, {TRIGGER.KEY}, {TRIGGER.COMMENT}, {STATUS}, {PROFILE.*} should be dropped.</p> <p>Upgrade path should replace deprecated macros by supported analogs.</p> ZBXNEXT-2260 Deprecated macros should be removed Change Request Major Reopened Unresolved Unassigned Alexander Vladishev Mon, 14 Apr 2014 11:25:50 +0300 Wed, 21 Oct 2020 10:24:50 +0300 API (A) Frontend (F) Proxy (P) Server (S) 0 1 <p>Implemented in svn://svn.zabbix.com/branches/dev/ZBXNEXT-2260</p> <p>(1) how exactly is this being done ? just by dropping the support ?<br/> if so, this has a potential of massively messing up with existing users that are upgrading - they have huge amounts of items, actions and other configuration entities that will be broken now, and there is no way to easily fix them - they either have to find each instance manually in the frontend, or know all tables in the db where this should be changed and do direct sql.</p> <p>that would be seriously, seriously bad.</p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=sasha" class="user-hover" rel="sasha">sasha</a> Will be introduced an upgrade patch. All deprecated macros will be replaced by supported analogs.</p> <p>&lt;richlv&gt; HOORAY, thanks <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/><br/> we will need a nice spec, listing all macros and locations where they will be changed</p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=jurism" class="user-hover" rel="jurism">jurism</a> We need a specification that lists database tables and fields where the macros are stored and what macros can be placed in those fields.</p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=jurism" class="user-hover" rel="jurism">jurism</a> Database patch added.</p> <p>(2) <span class="error">&#91;PS&#93;</span> please review my changes in r44407.</p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=jurism" class="user-hover" rel="jurism">jurism</a> Reviewed. RESOLVED.</p> Development Rank 0|i02ucv: Template [ZBXNEXT-2238] use specific interface when linking template to a host https://support.zabbix.com/browse/ZBXNEXT-2238 ZABBIX FEATURE REQUESTS <p>I have an idea to solve this problem <a href="https://www.zabbix.com/forum/showthread.php?p=147817" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/forum/showthread.php?p=147817</a><br/> If we can "tag" an interface like "WAN" in host configuration page, items on template can be assign only to interface named "WAN".<br/> For example, I have one host, a pfsense with 3 interfaces, WAN, LAN, DMZ. I create this host and assign my ips to the interfaces (192.168.1.1 -&gt; LAN, 95.x.x.x -&gt; WAN, 192.168.2.1 -&gt;DMZ).<br/> So my template has 3 items named icmpping<span class="error">&#91;LAN&#93;</span>, icmpping<span class="error">&#91;WAN&#93;</span>,icmpping<span class="error">&#91;DMZ&#93;</span> and all are checked on my host.</p> <p>I know, I can use user macro to approach this functionality, but it's not easy for the user. IPs in "agent interfaces" are no sense if the user want use only template (and not item directly on host). Moreover, IPs are duplicate (and not linked !) between macros and IPs configuration.<br/> Save the host can check if interface name correspond to the template items, if no one interface is named "WAN" and the host is linked with a template whose had an "item's WAN", the host can be saved.</p> <p>I think it's a good feature for many users who want to check all (or more than one) interfaces on a host using host configuration (and not user macros...)</p> ZBXNEXT-2238 use specific interface when linking template to a host Change Request Major Reopened Unresolved Zabbix Support Team Mickael Martin (Cyres) Thu, 3 Apr 2014 13:20:13 +0300 Tue, 7 Nov 2023 19:49:14 +0200 2.2.2 Frontend (F) 1 2 <p>similar to <a href="https://support.zabbix.com/browse/ZBXNEXT-735" title="possibility to create JMX items with the same mbean for different host interfaces" class="issue-link" data-issue-key="ZBXNEXT-735"><del>ZBXNEXT-735</del></a></p> <p>mma, if your idea is different from <a href="https://support.zabbix.com/browse/ZBXNEXT-735" title="possibility to create JMX items with the same mbean for different host interfaces" class="issue-link" data-issue-key="ZBXNEXT-735"><del>ZBXNEXT-735</del></a>, please add it as a comment there.</p> <p>Closed as duplicate.</p> <p>I think yes, a bit. My idea is applying an item of a template to a generic interface (linked by interface's name). It's not exactly the same idea with <a href="https://support.zabbix.com/browse/ZBXNEXT-735" title="possibility to create JMX items with the same mbean for different host interfaces" class="issue-link" data-issue-key="ZBXNEXT-735"><del>ZBXNEXT-735</del></a> where justin phelps want assign a template directly on an interface. I think the goal is the same but the way to solve our need is different.</p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=mma" class="user-hover" rel="mma">mma</a>, what about: <a href="https://support.zabbix.com/browse/ZBXNEXT-735#comment-83047" class="external-link" rel="nofollow"><em>[...] having an optional alias per host interface. This could then be set additionally in template items [...]</em></a>?</p> <p>My idea is more flexible but more difficult to implement I think, and more difficult to understand for the end-user.<br/> You can have a template with many items witch have different interfaces assigned. Many templates has standard interfaces (WAN, LAN, DMZ) on Cisco Router or Gateway. </p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=okkuv9xh" class="user-hover" rel="okkuv9xh">okkuv9xh</a>, yes I haven't see with comment. Our points of view are similar. So you can close as duplicate this request.</p> <p><a href="https://support.zabbix.com/browse/ZBXNEXT-735" title="possibility to create JMX items with the same mbean for different host interfaces" class="issue-link" data-issue-key="ZBXNEXT-735"><del>ZBXNEXT-735</del></a> was implemented in a limited way that current request is not a duplicate anymore.<br/> So reopening and updating summary.</p> Causes Duplicate ZBXNEXT-1981 Development Rank 0|i02to7: Template [ZBXNEXT-2227] Curl Max Redirects Option https://support.zabbix.com/browse/ZBXNEXT-2227 ZABBIX FEATURE REQUESTS <p>When executing a webcheck against a server, if the server gives out a "slow" 302 , the Curl will keep following it eternally, without getting out of the loop. When this happens, we verified that one proxy (version 2.0.4) got stuck on that check and never resumed other checked. Resulting that, all the webchecks had no data and stuck, until the problem of 302 redirection loop was resolved, in two production occasions we have seen the loop go on for multiple hours, and all other webchecks were "stopped" and no more data was being collected.</p> <p>After a bit of scrutiny, enabling some more debug from libcurl using CURLOPT_VERBOSE, we detected the error and thereafter we eneabled CURLOPT_MAXREDIRS setting to 5, which actually fixed the problem for good.</p> <p>( <a href="http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTMAXREDIRS" class="external-link" target="_blank" rel="nofollow noopener">http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTMAXREDIRS</a> )</p> <p>So we suggest that an option for Server and Proxy conf file could be added to control the max amount of redirections that curl must follow, in order to give him an option to detect a 302 loop (like a browser is able to).</p> <p>We fix the problem adding:</p> <p> CURLE_OK != (err = curl_easy_setopt(easyhandle, CURLOPT_MAXREDIRS, 5L)) ||</p> <p>at line 332 from httptest.c, from version 2.0.4 &#8211; I also checkd the latest 2.2.2 version, and the option is not in place, then I decided to drop this request.</p> All platforms that have libcurl enabled. ZBXNEXT-2227 Curl Max Redirects Option Change Request Major Reopened Unresolved Unassigned jchegedus Thu, 27 Mar 2014 17:04:19 +0200 Wed, 22 Apr 2020 17:09:53 +0300 1.8.21 2.2.2 Proxy (P) Server (S) 3 2 <p>would be best implemented as part of <a href="https://support.zabbix.com/browse/ZBXNEXT-173" title="Make the Curl &quot;Follow redirects&quot; option configurable" class="issue-link" data-issue-key="ZBXNEXT-173"><del>ZBXNEXT-173</del></a></p> <p><a href="https://support.zabbix.com/browse/ZBXNEXT-173" title="Make the Curl &quot;Follow redirects&quot; option configurable" class="issue-link" data-issue-key="ZBXNEXT-173"><del>ZBXNEXT-173</del></a> did not seem to have implemented it, see <a href="https://support.zabbix.com/browse/ZBXNEXT-3554" title="Max redirects is set to 10, this is too low." class="issue-link" data-issue-key="ZBXNEXT-3554"><del>ZBXNEXT-3554</del></a>.</p> <p>I'm asking to raise CURLOPT_MAXREDIRS to 50, as it done in curl upstream.</p> <p>Hi Guys,</p> <p>as is usually we rise the exception... using the HTTP Agent with some EMC Unity RestAPI we need to follow the redirect more than 10 levels..</p> <p>Please before is to late for Zabbix v.5.0, can you extende the limit to 50 (CURLOPT_MAXREDIRS)?</p> <p>Thanks so much</p> Duplicate ZBXNEXT-173 ZBXNEXT-3554 Development Rank 0|i02t4f: Template [ZBXNEXT-5478] Screen: Auto Add Graphs For Each Hosts That Uses A Template https://support.zabbix.com/browse/ZBXNEXT-5478 ZABBIX FEATURE REQUESTS <p>We have a template with an item and associated trigger and graph.</p> <p>Currently to see the graph for each host that uses that template in a screen, we need to manually add the graph for each host.</p> <p>Considering our ecosystem is in AWS with numerous dynamic hosts, it's really painful to keep updating this screen manually each time the host set changes.</p> <p> </p> <p>We would like to see an option to add a graph from template. Then the screen will find out which all host uses that template and show its corresponding graph. Something similar to how graph prototype works for a single host.</p> <p> </p> <p>Following is an example of manually created screen -</p> <p><span class="image-wrap" style=""><a id="88149_thumb" href="https://support.zabbix.com/secure/attachment/88149/88149_Screen+Shot+2019-10-01+at+2.56.09+AM.png" title="Screen Shot 2019-10-01 at 2.56.09 AM.png" file-preview-type="image" file-preview-id="88149" file-preview-title="Screen Shot 2019-10-01 at 2.56.09 AM.png"><img src="https://support.zabbix.com/secure/thumbnail/88149/_thumb_88149.png" style="border: 0px solid black" role="presentation"/></a></span></p> <p> </p> ZBXNEXT-5478 Screen: Auto Add Graphs For Each Hosts That Uses A Template New Feature Request Major Reopened Unresolved Zabbix Support Team Abhishek Dasgupta Tue, 1 Oct 2019 12:56:57 +0300 Sat, 12 Oct 2019 01:04:05 +0300 0 2 <p>Closing as duplicate of <a href="https://support.zabbix.com/browse/ZBXNEXT-927" title="Allow LLD Graphs to graph an item for each discovered entity in a single graph" class="issue-link" data-issue-key="ZBXNEXT-927">ZBXNEXT-927</a></p> <p>How is this a duplicate? That one talks about same host, this one spans across multiple hosts and has nothing to do with LLD. This request is purely to add a feature to create screen with graph from template. And then screen automatically figure out which all hosts using that graph and render them.</p> <p>Oh, sorry. Misunderstood the description.</p> <p>Somewhat similar issue <a href="https://support.zabbix.com/browse/ZBXNEXT-927" title="Allow LLD Graphs to graph an item for each discovered entity in a single graph" class="issue-link" data-issue-key="ZBXNEXT-927">ZBXNEXT-927</a> - asks for grouping graphs of items created from LLD. </p> <p>Any plan so far to get this implemented anytime soon? We are migrating to latest version (4.4) and creating all these screens is very tedious without this proposed solution.</p> Additional Information Development Rank 0|i07uav: Template Templated answers Training Zabbix version [ZBXNEXT-223] Increase max length of processed text to ~16MB https://support.zabbix.com/browse/ZBXNEXT-223 ZABBIX FEATURE REQUESTS <p>I'm creating some scripts that outputs more than 64KB, which is the current size limit of text checks (see <a href="https://support.zabbix.com/browse/ZBX-952" title="Increase length for text and log data to 64KB" class="issue-link" data-issue-key="ZBX-952"><del>ZBX-952</del></a>). I would suggest to increase this limit to 16MB to match the database field capacity, at least in mysql, which is of type mediumtext (2**24-1 bytes, see <a href="http://dev.mysql.com/doc/refman/5.0/en/storage-requirements.html" class="external-link" target="_blank" rel="nofollow noopener">http://dev.mysql.com/doc/refman/5.0/en/storage-requirements.html</a>)</p> ZBXNEXT-223 Increase max length of processed text to ~16MB Change Request Major Reopened Unresolved Unassigned Allan Douglas Thu, 4 Feb 2010 21:06:46 +0200 Tue, 23 Jul 2019 09:35:57 +0300 Server (S) 4 5 <p>Actual for master items that collect prometheus metrics.</p> <p>Just as another example, kubernetes kube-state-metrics could easily be more than &gt; 64KB</p> <p>We are going to increase this limit in Zabbix 4.4, stay tuned!</p> <p>Wow, so fast! Thank!</p> <p>It seems I misunderstood this feature request. I thought it was about ability to process larger values. I am afraid we won't be able to increase size of the text fields in the DB in Zabbix 4.4. Perhaps later.</p> <p>Sorry for the confusion.</p> <p>I thought that limiting the database also affects the processing of dependent data elements. Now I checked on version 4.2 and saw that the data outside 64Kb is being processed normally.</p> Development Rank 0|i0285r: Template [ZBXNEXT-111] mandatory parameters for api differ from gui https://support.zabbix.com/browse/ZBXNEXT-111 ZABBIX FEATURE REQUESTS <p>api mandatory values differ from gui - for example, gui does not allow creating user w/o surname and password, api does. supposedly these should match</p> trunk rev 8107 ZBXNEXT-111 mandatory parameters for api differ from gui Change Request Major Reopened Unresolved Unassigned richlv Tue, 20 Oct 2009 11:27:59 +0300 Sun, 21 Oct 2012 08:03:00 +0300 API (A) 0 1 <p>This is a global problem of checking passed data, and is part of future API development what is not covered by a single issue... =) for now it's stays on clients side responsibility.</p> <p>valid as a feature request (so that it doesn't get lost)</p> Development Rank 0|i02eiv: Template [ZBXNEXT-215] MIBs file import https://support.zabbix.com/browse/ZBXNEXT-215 ZABBIX FEATURE REQUESTS <p>Don't know if there is a similar feature, but to choose Zabbix in our Service Center we need to import Equipement Mibs file as attached one. I know zload_snmpwalk.pl utility but we need to know this feature will be available as well...</p> RedHat CentOS 5 ZBXNEXT-215 MIBs file import New Feature Request Major Reopened Unresolved Unassigned Manfredo Pansa Tue, 28 Apr 2009 16:26:07 +0300 Thu, 12 Sep 2019 09:49:41 +0300 Frontend (F) 9 9 <p>Just follow standard NET-SNMP documentation in order to import new MIBs. It is extremely straight-forward procedure.</p> <p>Alexei</p> <p>I believe the OP was asking for a way to import a MIB into Zabbix and have Zabbix create a Host Template with all the Items created as defined in the vendor MIB (or allow the user to pick and choose before the template is generated). This would be preferable to building the Host Template by hand in an environment where a lot of different devices are used.</p> <p>I can't see where importing the MIB file into NET-SNMP really has any effect on Zabbix other than being able to use the MIB OID object name rather than the numeric OID.</p> <p>then this is a feature request (somehow i can't find an existing one...) for template builder from snmp mib.</p> <p>until then, <a href="http://www.zabbix.com/wiki/scripts/gentemplate.pl" class="external-link" target="_blank" rel="nofollow noopener">http://www.zabbix.com/wiki/scripts/gentemplate.pl</a> seems to be the most functional script to generate templates for snmp devices in an automated fashion.</p> <p>The link <a href="http://www.zabbix.com/wiki/scripts/gentemplate.pl" class="external-link" target="_blank" rel="nofollow noopener">http://www.zabbix.com/wiki/scripts/gentemplate.pl</a> is broken.<br/> --Stefan</p> <p>yes, it pointed to the old wiki which was in a phase-out state for a long time - if the script was not migrated to zabbix.org, it was probably too outdated and not too useful at that time</p> <p>For who are interested on a possible alternative to the old tool to convert MIB file, i would suggest <a href="https://github.com/cavaliercoder/mib2zabbix" class="external-link" target="_blank" rel="nofollow noopener">https://github.com/cavaliercoder/mib2zabbix</a> . I think is very great tool!</p> <p>I also suggest to Zabbix to think about to something similar directly integrated on the main interface <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> Duplicate Development Rank 0|i02ein: Template [ZBXNEXT-315] Will be nice to add menu page, for example, Administration->Zabbix info, with info about installed Zabbix server version (if possible with revision number), PHP version and it's modules https://support.zabbix.com/browse/ZBXNEXT-315 ZABBIX FEATURE REQUESTS <p>Will be nice to add menu page, for example, Administration-&gt;Zabbix info, with info about installed Zabbix server version (if possible with revision number), PHP version and it's modules (php-gd, php-bcmath, php-mbstring, etc), the content of php.ini file, etc.</p> ZBXNEXT-315 Will be nice to add menu page, for example, Administration->Zabbix info, with info about installed Zabbix server version (if possible with revision number), PHP version and it's modules New Feature Request Major Reopened Unresolved Unassigned Igor Danoshaites Wed, 21 Apr 2010 15:32:43 +0300 Mon, 22 Oct 2012 21:28:53 +0300 0 1 <p>very similar to <a href="https://support.zabbix.com/browse/ZBXNEXT-57" title="&quot;status of zabbix&quot; should show zabbix version and supported features" class="issue-link" data-issue-key="ZBXNEXT-57">ZBXNEXT-57</a></p> <p>dev branch: <a href="https://support.zabbix.com/browse/ZBXNEXT-315" title="Will be nice to add menu page, for example, Administration-&gt;Zabbix info, with info about installed Zabbix server version (if possible with revision number), PHP version and it&#39;s modules" class="issue-link" data-issue-key="ZBXNEXT-315">ZBXNEXT-315</a></p> <p>initial info is shown, any ideas what else can be shown?<br/> getting info about server will require additional development for server side.</p> <p>hmm... i'd argue that it doesn't make sense to introduce a different page.</p> <p>this partially duplicates 'status of zabbix'.</p> <p>so if we are doing this, it would make sense to do it properly. current separate page has the issue of.. being separate, as well as completely visually different from anything else (and i've got enough complaints about user interface inconsistencies and usability sucking in the last few weeks to last for several years...)</p> <p>so what we should do...</p> <p>unify config wizard requirements page, "status of zabbix" and this info page in a single page.<br/> "status of zabbix" and sysrequirements partially overlap, because status would show problems only, but not current php config values that frontend requires. so there should be :</p> <ul class="alternate" type="square"> <li>a section of the page giving high level overview just like "status of zabbix" does;</li> <li>a section of page giving frontend requirements just like config wizard does (so showing the data always, not just errors);</li> <li>low level info just like this new info page does.</li> </ul> <p>and what's important - it all should be visually and functionally consistent. current visual representation leaves a very bad impression.</p> <p>I got an idea of how you can do version, revision and server futures checking, and I decided to tell about it.<br/> It can be done so that the server during the start, wrote somewhere in a database with all necessary information (version, revision, compilation time, futures, etc.)<br/> Web Interface will only read this information from the database.<br/> Give the necessary information simply on port 10051 I think is not safe.</p> <p>It would be nice to resolve this request at the same time<img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/><br/> <a href="https://support.zabbix.com/browse/ZBX-2512" class="external-link" rel="nofollow">https://support.zabbix.com/browse/ZBX-2512</a></p> <p>yes, server inserting some runtime info in the db was exactly the idea in <a href="https://support.zabbix.com/browse/ZBXNEXT-57" title="&quot;status of zabbix&quot; should show zabbix version and supported features" class="issue-link" data-issue-key="ZBXNEXT-57">ZBXNEXT-57</a> <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/wink.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>but it would help to save a lot of time by deciding on a consistent implementation. cleaning it up later can turn out to be near impossible, as we have seen way too many times on other areas.</p> <p>I am reopening this issue as seems that at this moment we do not plan to implement this feature in v2.0, maybe will be implemented later.</p> <p><a href="https://support.zabbix.com/browse/ZBXNEXT-1194" title="Enhanced meta info call" class="issue-link" data-issue-key="ZBXNEXT-1194">ZBXNEXT-1194</a> asks for similar functionality on the api level, these both should probably be resolved together</p> Duplicate ZBXNEXT-57 Development Rank 0|i02ekv: Template [ZBXNEXT-2207] Webchecks - Authentication macro support lacking https://support.zabbix.com/browse/ZBXNEXT-2207 ZABBIX FEATURE REQUESTS <p>Its possible to use a macro for webchecks and provide a username and password but this is not working 100%:</p> <p>If the macro parameters are empty, they are still being sent which results in a 401 statuscode response rather than 200.<br/> It is not possible to use a macro for the "authentication" part, to switch between None/Basic/NTLM.</p> <p>This can be fixed two ways:<br/> 1) Do not authenticate if both fields are empty (e.g. contain a macro that is not set on none of the levels)<br/> 2) Make it possible to use a macro to switch between the authentication type.</p> ZBXNEXT-2207 Webchecks - Authentication macro support lacking Change Request Major Reopened Unresolved Unassigned Frank Mon, 10 Feb 2014 10:17:26 +0200 Sun, 16 Mar 2014 08:26:49 +0200 2.2.1 Proxy (P) Server (S) 0 0 <p>Actually. It appears to be the case <em>only</em> when the macro has been defined on template level with an empty value.<br/> If nothing is defined it does properly "not authenticate" resulting in a 200 status.</p> <p>In any case this is not a bug.<br/> If you like, reopen and move to ZBXNEXT project.</p> <p>Closed</p> <p>moving to feature requests, reopening</p> Development Rank 0|i02pmn: Template [ZBXNEXT-1958] Zabbix agent in vSphere 5.1 Hosts https://support.zabbix.com/browse/ZBXNEXT-1958 ZABBIX FEATURE REQUESTS <p>Hello, we're trying to implement zabbix agent in our ESXi 5.1 hosts, it seems not supported by the agent. Any help?</p> VmWare ESXi 5.1 host servers ZBXNEXT-1958 Zabbix agent in vSphere 5.1 Hosts Change Request Major Reopened Unresolved Unassigned Sistemas Wed, 9 Oct 2013 13:53:54 +0300 Wed, 9 Oct 2013 14:17:21 +0300 2.0.8 Agent (G) 1 0 <p>please use zabbix forums, irc and other channels for community support. this tracker is for bugreports.</p> <p>I'll rewrite that. I need a compiled or a procedure to install Zabbix Agent in ESX Host. As I'd check in forums there's no way to do it as we deploy the agent.</p> Development Rank 0|i02es7: Template [ZBXNEXT-1142] Support JMX Operations https://support.zabbix.com/browse/ZBXNEXT-1142 ZABBIX FEATURE REQUESTS <p>Currently, the JAVA proxy only supports JMX Attributes. Please add support for JMX Operations. I have submitted VERY rough code which I use in our environments to <a href="http://www.zabbix.com/forum/showthread.php?p=97693#post97693" class="external-link" target="_blank" rel="nofollow noopener">http://www.zabbix.com/forum/showthread.php?p=97693#post97693</a></p> Java ZBXNEXT-1142 Support JMX Operations Change Request Major Reopened Unresolved Vladislavs Sokurenko Michael Tewner Wed, 7 Mar 2012 17:12:06 +0200 Thu, 8 Feb 2024 12:11:00 +0200 1.9.9 (beta) Java gateway (J) 18 13 <p>Yes, it would be great!</p> <p>yes , I really need this feature.</p> <p>JMX operation support would be a nice feature, but it is not that simple...<br/> Operations could have multiple params with different types (not only types from <tt>java.lang</tt>, but any custom type), so Zabbix user will have to provide a value and a type for params of operations. It is also hard to tell what syntax can be used for arrays, custom objects, etc to define all that within single field and even for fragmented input (type dropdown and input for a value) there are no good options to define objects, arrays, etc.</p> <p>Provided solution is limited to strings only and uses item key as a data buffer for operation name and param names. Currently item key is limited to 255 characters and adding all the values with their types into one input field will be a nightmare for a user (so fragmented input is a must).</p> <p>So looks like limited solution (for basic <tt>java.lang</tt> types) is the closest Zabbix can get to JMX operation support without asking user to write custom scripts or do some magic inducing serialization of params.</p> <p>It might be worth implementing operation support with plain strings as the first shot. It would allow to verify the basics and additional parameter support can come at a later time.</p> <p>I run into this problem while trying to monitor the default springboot mbeans. I feel like this is a big limitation of the jmx gateway.</p> Causes Duplicate ZBXNEXT-1310 Development Rank 0|i02b4v: Sprint Roadmap Backlog Team Template [ZBXNEXT-1022] heartbeat communication for between Zabbix server and agent https://support.zabbix.com/browse/ZBXNEXT-1022 ZABBIX FEATURE REQUESTS <p>Zabbix agent status on Zabbix server has some problems at the moment.</p> <ul class="alternate" type="square"> <li>Zabbix server make host unreachable if one item cannot retrieve data (network unreachable) from agent. if any user parameter item take a long time, Zabbix server stop monitoring all of other item on same host.</li> </ul> <ul class="alternate" type="square"> <li>If active agent is crashed, Zabbix server doesn't notice that.</li> </ul> <ul class="alternate" type="square"> <li>Agent status on host screen is not actually agent status (Zabbix server calculate internally)</li> </ul> <p>I think it's good that Zabbix server and agent communicate using exclusive heartbeat connection periodically.<br/> If the heartbeat is not successful, Zabbix server move host status to unreachable, and make a event.</p> ZBXNEXT-1022 heartbeat communication for between Zabbix server and agent New Feature Request Major Reopened Unresolved Unassigned Kodai Terashima Tue, 8 Nov 2011 12:04:04 +0200 Sat, 8 Nov 2014 18:45:55 +0200 Agent (G) Server (S) 5 5 <p>hmm. usual suggestion is to avoid using 'status' item and use agent.ping + nodata() instead - that should solve this issue</p> <p>I know agent.ping + nodata() solution, but the solution don't solve the first problem<br/> the most important problem is the first one <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>And, I think check of agent availability is important, but agent.ping + nodata() is difficult for Zabbix beginners.<br/> If we recommend agent.ping + nodata() for all user, I think it's good to implement that function by default, without creation of item and trigger.</p> <p>in latest versions userparameters going down still should result in nodata() trigger for agent.ping. would that solve the problem ?</p> <p>continuing with slow hosts as usual is not feasible, as they would hamper the overall monitoring - such userparameters should be fixed/changed</p> <p>Kodai, about "if any user parameter item take a long time, Zabbix server stop monitoring all of other item on same host"<br/> Seems you are partially wrong. See my last debugging <a href="https://support.zabbix.com/browse/ZBX-4284" title="Possible wrong host (agent!,snmp?) disabling and bad handling of Unreachable items (hosts)" class="issue-link" data-issue-key="ZBX-4284"><del>ZBX-4284</del></a></p> <p>But this feature request is very interesting overall.</p> <p>Thank you pointing that out, Oleksiy.</p> <p>first problem I wrote looks same problem as <a href="https://support.zabbix.com/browse/ZBX-4284" title="Possible wrong host (agent!,snmp?) disabling and bad handling of Unreachable items (hosts)" class="issue-link" data-issue-key="ZBX-4284"><del>ZBX-4284</del></a>. Only one "slow userparameter or check" affect to all of other items on same host. I think it is not good behavior. Zabbix server should only change item status to not supported in this case.</p> <p>I think heartbeat communication between server and agent (and unreachable host is handled by heartbeat) improve the problem and usability so much.</p> <p>...Only one "slow userparameter or check" affect to all of other items on same host. I think it is not good behavior. Zabbix server should only change item status to not supported in this case. ...</p> <p>agreed !!!</p> <p>i had this problem yet,i found something funny that zabbix server will check that server after aboute 320 minutes again.</p> <p>Zabbix setting a host as unreachable just because one item is bad, is the most annoying thing. The biggest problem is that it makes Zabbix unreliable, because if one item times out, the whole host gets disabled, so it stops running other items on that host, which means the host is not being monitored properly.</p> <p>I think the easiest way to solve this problem is to define items which can make a host unreachable, e.g. it could be a check box in the item create/edit page called "Make host unreachable on time out", or some better name. This way e.g. <tt>agent.ping</tt> could have that checkbox set and only that item would make the host unreachable.</p> <p>that's a different problem which is tracked at <a href="https://support.zabbix.com/browse/ZBX-4284" title="Possible wrong host (agent!,snmp?) disabling and bad handling of Unreachable items (hosts)" class="issue-link" data-issue-key="ZBX-4284"><del>ZBX-4284</del></a></p> <p>Well it's not a different problem, they are related, since both of them would change how we detect if a host is unreachable.</p> Duplicate ZBX-4284 Development Rank 0|i02enb: Template [ZBXNEXT-686] Create infrastructure for continuous integration and unit testing https://support.zabbix.com/browse/ZBXNEXT-686 ZABBIX FEATURE REQUESTS <p>It should probably be a combination of PHPUnit, Hudson and misc code analysers. Let's see what we get at the end.</p> ZBXNEXT-686 Create infrastructure for continuous integration and unit testing Change Request Major Reopened Unresolved Unassigned Alexei Vladishev Wed, 8 Dec 2010 13:49:48 +0200 Wed, 21 Oct 2020 10:24:03 +0300 API (A) Frontend (F) 0 2 <p>created by now <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/wink.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>reopen for moving</p> <p>(1) We should get rid of testhelpers instead using ZbxExitException instead of exit() / die()</p> <p>I've implemented basic fixture-based tests in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-686</p> <p>Basic file-based tests and parameter handling implemented in r47620 according to spec.</p> <p>File-based tests with complicated scenarios and Respect/Validation validation implemented in r47644.</p> <p>(2) We need to be able to validate arrays using the same validators as separate values. Something like the code below, but simpler:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> response: __assert: count(3) __keys: __assert: sequentialKeys __each: __assert: <span class="code-object">int</span> __each: id: __assert: notEmpty:<span class="code-object">int</span> hostname: __assert: notEmpty|string|length(5,10) templates: __assert: array|length(3) __each: __assert: string|length(0,12) </pre> </div></div> <p>A similar example with equals support:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> response: __assert: count(3) __keys: __assert: sequentialKeys __each: __assert: <span class="code-object">int</span> __each: id: __equals: 1 hostname: __equals: Zabbix server templates: __equals: [100, 101, 102] </pre> </div></div> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=andrewtch" class="user-hover" rel="andrewtch">andrewtch</a> RESOLVED in r47667. Also, a new validator has been added, 'sequence' (implementing sequentialKeys as above).<br/> Also, I've implemented nice exceptions with paths like "Validation definition is not an array on path "_assert-&gt;_keys-&gt;_each<span class="error">&#91;0&#93;</span>".<br/> I've also added support of short syntax turning:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> hostids: _each: _assert: <span class="code-object">int</span> </pre> </div></div> <p>into:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> hostids: _each: <span class="code-object">int</span> </pre> </div></div> <p>in r47671.</p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=jelisejev" class="user-hover" rel="jelisejev">jelisejev</a> CLOSED.</p> <p>(3) We should NOT use direct header() call, using wrapper instead.</p> <p>RESOLVED in r47747.</p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=jelisejev" class="user-hover" rel="jelisejev">jelisejev</a> CLOSED.</p> <p>(4) We should avoid all </p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java">__DIR__ . <span class="code-quote">'/../../../../../.......'</span></pre> </div></div> <p> constructs and make some path resolver (probably, these values should be set inside phpunit config file).</p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=jelisejev" class="user-hover" rel="jelisejev">jelisejev</a> WON'T FIX.</p> <p>(5) We should use symfony/console table helper while displaying table rows in sql assertion instead of json_encode.</p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=jelisejev" class="user-hover" rel="jelisejev">jelisejev</a> CLOSED.</p> <p>A lot of changes to the API tests have been made, so the comments above can be ignored.</p> <p>In short, branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-686 implements a framework for writing API tests. </p> <p>Some changes have been made to frontend API client. It now fully implements the JSON RPC protocol. Please test that nothing has been broken in the frontend and the API endpoint.</p> <p>RESOLVED.</p> Development Rank 0|i02g6f: Template [ZBXNEXT-7048] Rework how `config` table works in mysql database https://support.zabbix.com/browse/ZBXNEXT-7048 ZABBIX FEATURE REQUESTS <p>DB table `config` stores everything in a single row. This poses an issue with mysql limitations on maximum row size. <a href="https://dev.mysql.com/doc/mysql-reslimits-excerpt/8.0/en/column-count-limit.html#row-size-limits" class="external-link" target="_blank" rel="nofollow noopener">https://dev.mysql.com/doc/mysql-reslimits-excerpt/8.0/en/column-count-limit.html#row-size-limits</a></p> <p>In particular:</p> <blockquote><p>The internal representation of a MySQL table has a maximum row size limit of 65,535 bytes, even if the storage engine is capable of supporting larger rows. <a href="https://dev.mysql.com/doc/refman/8.0/en/blob.html" class="external-link" target="_blank" rel="nofollow noopener"><tt>BLOB</tt></a> and <a href="https://dev.mysql.com/doc/refman/8.0/en/blob.html" class="external-link" target="_blank" rel="nofollow noopener"><tt>TEXT</tt></a> columns only contribute 9 to 12 bytes toward the row size limit because their contents are stored separately from the rest of the row. </p></blockquote> <p>We are reaching this limit with `config` table.</p> <p>Propose to redesign the way we store data, that currently resides in `config` table, to eliminate this issue altogether.</p> ZBXNEXT-7048 Rework how `config` table works in mysql database Change Request Minor Reopened Unresolved Zabbix Development Team Jurijs Klopovskis Fri, 12 Nov 2021 13:18:00 +0200 Tue, 28 Mar 2023 18:33:46 +0300 Frontend (F) Server (S) 0 3 Causes ZBXNEXT-3706 Additional Information Development Rank 0|i0bx3r: Template Templated answers Training Zabbix version [ZBXNEXT-4690] Web Scenario should have BOTH Positive & Negative content Match https://support.zabbix.com/browse/ZBXNEXT-4690 ZABBIX FEATURE REQUESTS <p>Web Scenarios should have both a positive and negative Required String (content match).</p> <ol> <li>Word XXXX is required for an OK state.</li> <li><ins><em><b>IF</b></em></ins> word ZZZZ is present the monitor goes to a PROBLEM state.</li> </ol> ALL ZBXNEXT-4690 Web Scenario should have BOTH Positive & Negative content Match New Feature Request Minor Reopened Unresolved Unassigned Brian Gilbert Wed, 15 Aug 2018 16:19:26 +0300 Mon, 20 Aug 2018 17:34:11 +0300 1 5 <p>It is already implemented. You can use "Global regular expression" with "Result is FALSE" condition: <a href="https://www.zabbix.com/documentation/3.4/manual/regular_expressions" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/3.4/manual/regular_expressions</a></p> <p>Alexey, this would be great if global regular expressions would work in "Required string" field for web scenarios. But they don't :/</p> <p>Brian, <tt>web.page.regexp</tt> agent item might be something to look into, but they also have limitations. </p> <p><a href="https://www.zabbix.com/documentation/4.0/manual/config/items/itemtypes/zabbix_agent" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/4.0/manual/config/items/itemtypes/zabbix_agent</a></p> <p>Yes, I agree, It is also nice idea!</p> <p><a href="https://support.zabbix.com/browse/ZBXNEXT-3806" title="Add negative lookup for required string in web scenario" class="issue-link" data-issue-key="ZBXNEXT-3806">ZBXNEXT-3806</a> is about exactly the same problem but a quick test with pcre negative lookahead did not return the desired result. The expression pattern is still evaluated as true thus the scenario step is successful. Some regex magic though might do the trick, I hope. </p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre></pre> </div></div> <p>^((?!ZZZZ).)*${noformat}<br/>  </p> <p>Pattern <tt>(?s)(?!.*ZZZZ)^</tt> seems to do the trick.</p> <p>Gleb, you are spot on as always!</p> <p>However, if one must ask a top class C developer to solve this configuration request then it can't be considered as a feasible option for everyone. Which makes <a href="https://support.zabbix.com/browse/ZBXNEXT-3806" title="Add negative lookup for required string in web scenario" class="issue-link" data-issue-key="ZBXNEXT-3806">ZBXNEXT-3806</a> still valid.</p> <p>Possible solutions would be additional field for negative match in the scenario step or added support for global regular expressions. </p> <p>Perhaps, we can ask <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=martins-v" class="user-hover" rel="martins-v">martins-v</a> to add this workaround as an <a href="https://www.zabbix.com/documentation/4.0/manual/regular_expressions#example" class="external-link" target="_blank" rel="nofollow noopener">example</a>.</p> <p>This isn't working for me in Ver 3.0... Is this solution for Ver 3.4 ?  After the Regex changes?</p> <p>Thanks</p> <p> </p> <p> </p> <p>Yes, it uses PCRE features.</p> Development Rank 0|i069o7: Template [ZBXNEXT-4283] Add "nowait" switch for remote commands https://support.zabbix.com/browse/ZBXNEXT-4283 ZABBIX FEATURE REQUESTS <p>Before zabbix 3.4, I used remote commands to automatically update zabbix agents and was happy. But now I can not restart the zabbix agent with a remote command, I can only stop it. Please add the "nowait" switch for remote commands, the same switch as for the system.run<span class="error">&#91;command, nowait&#93;</span> items.</p> Zabbix server on Ubuntu 16.04 Server, several zabbix proxies on ArchlinuxARM, and lots of Windows agents ZBXNEXT-4283 Add "nowait" switch for remote commands Change Request Minor Reopened Unresolved Unassigned Evgeny Kravchenko Fri, 15 Dec 2017 16:12:38 +0200 Tue, 19 Dec 2017 11:12:07 +0200 3.4.3 3.4.4 Agent (G) Frontend (F) Proxy (P) Server (S) 0 3 <p>What if you execute remote commands on zabbix agent ?</p> <p>Yes, I do so. Like that:<br/> Executing command 'wscript //B //Nologo \\zabbix\zabbix\usr\vbs\setup.vbs /upgrade'<br/> But in step: Shell.Run ZabbixService.PathName &amp; " -x", 0, True<br/> The agent stops along with the wscript subordinate process.<br/> If I use item system.run<span class="error">&#91;wscript //B //Nologo \\zabbix\zabbix\usr\vbs\setup.vbs /upgrade, nowait&#93;</span> then an independent process wscript is created and the update completes successfully.</p> <p>As a workaround I suggest to execute remote commands through proxy.</p> <p>The problem is that now it's not always possible to execute remote commands through a proxy. The solution can be to execute remote commands with "nowait" mode.<br/> The workaround is system.run<span class="error">&#91;commands, nowait&#93;</span> item and enabling/disabling its by Zabbix API.</p> Development Rank 0|i05n8n: Template [ZBXNEXT-4475] Improved Slack support https://support.zabbix.com/browse/ZBXNEXT-4475 ZABBIX FEATURE REQUESTS <p>There are a few solutions out there that make Slack available as a media type in Zabbix. This is great but I think more can be done.</p> <p>Slack offers interactive message buttons. It would be great if these buttons could be used to acknowledge a trigger in Zabbix.</p> <p>More information on interactive messages can be found in the Slack-documentation: <a href="https://api.slack.com/interactive-messages" class="external-link" target="_blank" rel="nofollow noopener">https://api.slack.com/interactive-messages</a></p> ZBXNEXT-4475 Improved Slack support New Feature Request Minor Reopened Unresolved Unassigned ju5t Mon, 2 Apr 2018 22:18:20 +0300 Tue, 3 Apr 2018 09:25:30 +0300 Server (S) 1 3 <p>Hello ju5t, </p> <p>There is no "out-of-the-box" support for Slack in Zabbix. Integration with Slack is done through the custom script shared in our <a href="https://github.com/v-zhuravlev/zabbix-notify" class="external-link" target="_blank" rel="nofollow noopener">community</a> by the developer of the script. If you have any suggestions - try to contact him directly.</p> <p>Regards,<br/> Aleksejs!</p> <p>Since this is not directly related to the Zabbix - I'm closing this request as <b>Won't Fix</b></p> <p>Thank you for understanding. </p> <p>Regards,<br/> Aleksejs!</p> <p>I know there isn't out of the box support for Slack yet. We're using a similar script as the one you referenced. </p> <p>Interactive messages need an endpoint where they can post their data to. I think it is far beyond the scope of a community contributed media script to do this. You would have to setup your own webserver to redirect these requests over an API call to Zabbix or change the core of Zabbix to accept POST requests formatted by Slack and convert them into an API call.</p> <p>It makes more sense to support this as an official media type in Zabbix.</p> Development Rank 0|i05vzb: Template [ZBXNEXT-5130] Improved usability of "Enabled/Disabled" host status switch https://support.zabbix.com/browse/ZBXNEXT-5130 ZABBIX FEATURE REQUESTS ZBXNEXT-5130 Improved usability of "Enabled/Disabled" host status switch Change Request Minor Reopened Unresolved Unassigned Pavel Amosov Tue, 17 May 2016 11:42:13 +0300 Tue, 26 Mar 2019 09:44:55 +0200 0 3 <p>Design available in development branch svn://svn.zabbix.com/branches/dev/ZBX-10810 .</p> <p><b>(1)</b> Similarly to <a href="https://support.zabbix.com/browse/ZBX-10777" title="Consistent visual style for radios and checkboxes" class="issue-link" data-issue-key="ZBX-10777"><del>ZBX-10777</del></a>, we should probably not use clip() in CSS.</p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=PavelA" class="user-hover" rel="PavelA">PavelA</a> REMOVED in r61105</p> <p>The new design looks good (actually, it is wonderful!), but it does not currently seem to be applicable very much to lists of things (but can be applied in settings like media settings in a user's profile). For instance, in the host list, we display a confirmation dialog. The checkbox should not change its visual state until the user has confirmed his action. Also, since such pages are currently reloaded, animation is not very useful. It may become useful if we later change to AJAX requests. So, in addition to the current widget, there is a need for a non-animatable status switch that can be clicked and wrapped into a link.</p> Development Rank 0|i04bfj: Template [ZBXNEXT-2935] Housekeeper option to remove orphan items from history https://support.zabbix.com/browse/ZBXNEXT-2935 ZABBIX FEATURE REQUESTS <p>I've found over a period of years a zabbix-server + mysql combination will cause this query, which should be empty, to nevertheless find a dozen or so items corresponding to millions of orphaned history rows. Housekeeping runs complete without removing these. </p> <p>select distinct(itemid) FROM `history` where itemid not in (SELECT itemid FROM `items`);</p> <p>I could be missing some zabbix use case, zabbix is not my primary focus. Maybe there's a 'retired item' table somewhere. But if I'm not, for those of us who would rather have the database space than retain a history of deleted items, consider adding a housekeeping flag to delete such orphans automatically. Perhaps a database rule to cause item deletes to cascade delete related history entries? </p> <p>Finally, my appreciation for creating and supporting such a useful tool!</p> All ZBXNEXT-2935 Housekeeper option to remove orphan items from history Change Request Minor Reopened Unresolved Unassigned Harry Coin Mon, 31 Aug 2015 17:24:42 +0300 Tue, 1 Sep 2015 10:01:04 +0300 Server (S) 0 3 <p>see housekeeper table, it holds a list of deleted items and housekeeper deletes all data for those items following different rules. i guess we can close this issue then - please reopen if there's still a need to do something <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>Kindly note the housekeeper has been running for the same years these orphan items exist. Before posting I double checked to make sure the housekeeper completed its run, changing the number of items to process per run to unlimited. Even when that had completed, these history entries describing events that happened to itemids not in the items table remained. I rebooted a few times, let the housekeeper complete, and yet millions of records referring to item record ids not in the items table remain.</p> <p>So, closing this item on the basis the housekeeper would take care of it needs further explanation.</p> <p>See reply above.</p> <p>in general, it would be best to discuss things like this in one of the options at <a href="https://www.zabbix.org/wiki/Getting_help" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.org/wiki/Getting_help</a> - irc would be a great place - but in any case, you did not specify zabbix version. if it's a recent one and you have upgraded, check that housekeeper is enabled at all in administration -&gt; general -&gt; housekeeping</p> <p>I do think the housekeeper has been properly enabled and configured. Note the version is also in the shot, 2.2.</p> <p>Really, just a feature request for an option to delete all references everywhere to items that no longer exist.</p> <p>as noted, that is supposed to happen already. please use <a href="https://www.zabbix.org/wiki/Getting_help" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.org/wiki/Getting_help</a> to discuss the details, until a specific bug or feature request can be reported.</p> <p>Also as noted, though it was supposed to happen, it was not happening. So here we are on this page where I think it's created to ask for features.</p> <p>To be clear: The feature requested is a server command line one-of recovery option to delete every orphan item in the database and generally not proceed until the database is in a known consistent state. </p> <p>Having done this manually, finding a few thousand orphan records in trends* and several million orphan records in history* not mentioned in houskeeper and also not in items I think I've presented a reasonable use case. Look at it this way, if the server flag finds nothing to do it can act as an integrity check and so give confidence the server is about to begin operations on a known-good platform.</p> <p>It's a reasonable enough feature request IMHO.</p> <p>Not absolutely sure, but there can be other use cases.<br/> For example we delete a child node (which passed its history to master) on master.<br/> As I recall it was discussed already in other issues.</p> Development Rank 0|i03rmn: Template [ZBXNEXT-3531] Create "Howtos" section in documentation https://support.zabbix.com/browse/ZBXNEXT-3531 ZABBIX FEATURE REQUESTS <p>This task covers creation of "HowTos" section in <a href="https://www.zabbix.com/documentation/3.4/playground/playground/howtos" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/3.4/playground/playground/howtos</a> and includes the following subtasks included/linked below:</p> <ul> <li>1 Getting started <ul> <li>How to add server to monitoring</li> <li>How to configure a user</li> <li>How to create a user group</li> <li>How to define a problem state</li> <li>How to receive a problem notification</li> <li>How to receive a single metric</li> </ul> </li> <li>2 Network discovery <ul> <li>How to auto-register an agent device</li> <li>How to discover a file system</li> <li>How to discover a Linux server</li> <li>How to discover a network interface</li> <li>How to discover an SNMP device</li> <li>How to discover a Windows service</li> <li>How to discover SNMP OIDs</li> </ul> </li> <li>3 Service monitoring <ul> <li>How to monitor DNS availability</li> <li>How to monitor FTP availability</li> <li>How to monitor HTTP availability</li> <li>How to monitor HTTPS availability</li> <li>How to monitor IMAP availability</li> <li>How to monitor LDAP availability</li> <li>How to monitor NNTP availability</li> <li>How to monitor POP availability</li> <li>How to monitor SMTP availability</li> <li>How to monitor SSH availability</li> <li>How to monitor TCP availability</li> <li>How to monitor Telnet availability</li> </ul> </li> <li>4 Server monitoring <ul> <li>How to aggregate metric values</li> <li>How to calculate metric values</li> <li>How to monitor disk statistics</li> <li>How to monitor filesystems</li> <li>How to monitor memory data</li> <li>How to monitor network traffic</li> <li>How to monitor operating system data</li> <li>How to monitor processor load</li> <li>How to monitor sensor readings</li> <li>How to monitor server availability</li> <li>How to monitor SLA</li> <li>How to monitor statistics per process</li> </ul> </li> <li>5 Log file monitoring <ul> <li>How to extract values from a log line</li> <li>How to monitor a log file</li> <li>How to monitor a log file with file rotation support</li> </ul> </li> <li>6 Network device monitoring <ul> <li>How to monitor an IPMI device</li> <li>How to monitor an SNMP device</li> </ul> </li> <li>7 Web service monitoring <ul> <li>How to monitor web page availability</li> <li>How to monitor web page content</li> </ul> </li> <li>8 Virtual machine monitoring <ul> <li>How to monitor a VMWare environment</li> </ul> </li> <li>9 Application monitoring <ul> <li>How to monitor JBoss</li> <li>How to monitor MySQL</li> <li>How to monitor Nginx</li> <li>How to monitor PosgreSQL</li> <li>How to monitor Tomcat</li> </ul> </li> <li>10 Problem notifications <ul> <li>How to execute a remote command</li> <li>How to get notified by e-mail</li> <li>How to get notified by SMS</li> </ul> </li> <li>11 Visualization <ul> <li>How to compare several metrics in a graph</li> <li>How to create a custom graph</li> <li>How to create a screen</li> <li>How to create network maps</li> <li>How to view a single-metric graph</li> </ul> </li> <li>12 Templates <ul> <li>How to apply a template to host</li> <li>How to create a template</li> <li>How to export a template</li> <li>How to import a template</li> </ul> </li> </ul> ZBXNEXT-3531 Create "Howtos" section in documentation Epic Minor Reopened Unresolved Unassigned Vladimir Silin Fri, 11 Nov 2016 10:00:12 +0200 Fri, 18 Oct 2019 17:35:48 +0300 Documentation (D) Fri, 30 Dec 2016 00:00:00 +0200 0 3 <p>All sub-tasks done. Review required.</p> <p>Please assign linked issues for content review.</p> Development Epic Name &quot;Howtos&quot; in documentation Epic Status Rank 0|i05wp0: Sprint Sprint 20 Template [ZBXNEXT-3341] Automatically map unsupported characters in performance counter path instance name https://support.zabbix.com/browse/ZBXNEXT-3341 ZABBIX FEATURE REQUESTS <p>We have a Network interface discovery where we make these : (Network interface discovery)</p> <p>perf_counter["\510({#IFNAME})\544",300]<br/> perf_counter["\510({#IFNAME})\388",300]</p> <p>BUT when there is this interface (as seen in Device Manager and the same in list for net.if.discovery):<br/> <tt>Intel(R) 82574L Gigabit Network Connection</tt><br/> the interface name in Performance Monitor is :<br/> <tt>Intel[R] 82574L Gigabit Network Connection</tt></p> <p>therefore for discovered interfaces we get this error:<br/> ZBX_NOTSUPPORTED: Cannot obtain performance information from collector.<br/> because the interface name is with () but the item in perf_counter item needs to be specified with [ ] to be working.</p> ZBXNEXT-3341 Automatically map unsupported characters in performance counter path instance name New Feature Request Minor Reopened Unresolved Unassigned Morten Egebæk Tue, 19 Jul 2016 14:08:37 +0300 Fri, 21 Oct 2016 14:53:45 +0300 3.0.3 Agent (G) 0 5 <p>More generally, this issue can be summarized as being able to post process values received in LLD JSON, which is a special case of <a href="https://support.zabbix.com/browse/ZBXNEXT-1443" title="Ability to transform item values before they are processed and stored to DB" class="issue-link" data-issue-key="ZBXNEXT-1443"><del>ZBXNEXT-1443</del></a>, so moving the issue to ZBXNEXT.</p> <p>One potential solution may be to use macro functions introduced in <a href="https://support.zabbix.com/browse/ZBXNEXT-1638" title="Extract a value from a macro {i.e. ITEM.VALUE} using regular expression" class="issue-link" data-issue-key="ZBXNEXT-1638"><del>ZBXNEXT-1638</del></a>, like so:</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>perf_counter["\510({{#IFNAME}.tr("()", "[]")})\544",300] perf_counter["\510({{#IFNAME}.tr("()", "[]")})\388",300] </pre> </div></div> <p>Meanwhile, as a workaround, you can try discovering your interfaces with a script.</p> <p>As I know "net.if.discovery" key should return network interfaces exactly as they are named in perfmon.<br/> Can we get profs that it's not true ?</p> <p>the net.if.discovery works perfect, byt it's the perf_counter where the () is replaced with []</p> <p>The Counter in Zabbix:Intel(R) 82574L Gigabit Network Connection - Packets Received Errors<br/> the perf counter: Intel<span class="error">&#91;R&#93;</span> 82574L Gigabit Network Connection - Packets Received Errors</p> <p>clarify please who and what replaced ?</p> <p>zabbix: perf_counter<span class="error">&#91;&quot;\510(Intel(R) 82574L Gigabit Network Connection)\530&quot;,300&#93;</span><br/> Perfmon perf_counter["\510(Intel<span class="error">&#91;R&#93;</span> 82574L Gigabit Network Connection)\530",300]<br/> if i use "perf_counter["\510(Intel<span class="error">&#91;R&#93;</span> 82574L Gigabit Network Connection)\530",300]" as a normal Item it works </p> <p>do you want to say that during lld-discovery created item keys get (R) instead of [R] ?</p> <p>no the interface is with (R) but the item i perfmon is with <span class="error">&#91;R&#93;</span><br/> Can it be translatet to <span class="error">&#91;R&#93;</span> within the LLD</p> <p>something like : perf_counter<a href="#IFNAME}.tr(&quot;()&quot;, &quot;[]&quot;)})388&quot;,300" target="_blank" rel="noopener">"\510({{#IFNAME}.tr("()", "[]")})\388",300</a></p> <p>Based on <a href="https://msdn.microsoft.com/en-us/library/system.diagnostics.performancecounter.instancename(v=vs.110).aspx" class="external-link" target="_blank" rel="nofollow noopener">this</a> agent should probably do so:</p> <blockquote> <p>If the instance name is automatically generated and might contain the characters "(", ")", "#", "\", or "/", use the character mapping in the following table.</p> <div class='table-wrap'> <table class='confluenceTable'><tbody> <tr> <th class='confluenceTh'>Character</th> <th class='confluenceTh'>Mapped character</th> </tr> <tr> <td class='confluenceTd'>(</td> <td class='confluenceTd'>[</td> </tr> <tr> <td class='confluenceTd'>)</td> <td class='confluenceTd'>]</td> </tr> <tr> <td class='confluenceTd'>#</td> <td class='confluenceTd'>_</td> </tr> <tr> <td class='confluenceTd'>\ </td> <td class='confluenceTd'>_</td> </tr> <tr> <td class='confluenceTd'>/</td> <td class='confluenceTd'>_</td> </tr> </tbody></table> </div> </blockquote> <p>that is correct, but i don't work:</p> <p>the counter in Windows is : \Network Interface(Intel<span class="error">&#91;R&#93;</span> 82574L Gigabit Network Connection)\Bytes Total/sec<br/> but the zabbix is \Network Interface(Intel(R) 82574L Gigabit Network Connection)\Bytes Total/sec</p> <p>and i get a "Cannot obtain performance information from collector."</p> <p>The Log files shows this: <br/> 816:20160719:142729.411 In add_check() key:'perf_counter<span class="error">&#91;&quot;\510(Intel(R) 82574L Gigabit Network Connection)\528&quot;,300&#93;</span>' refresh:120 lastlogsize:0 mtime:0<br/> 816:20160719:142729.411 End of add_check()</p> <p>-&gt;<br/> 816:20160719:142735.802 active check "perf_counter<span class="error">&#91;&quot;\510(Intel(R) 82574L Gigabit Network Connection)\528&quot;,300&#93;</span>" is not supported: Cannot obtain performance information from collector.</p> <p>-&gt;</p> <p> 816:20160719:142735.802 counter path converted to '\\BCAVES12\Network Interface(Intel(R) 82574L Gigabit Network Connection)\Packets Received Errors'<br/> 816:20160719:142735.802 In get_perf_counter_value_by_path() path:\\BCAVES12\Network Interface(Intel(R) 82574L Gigabit Network Connection)\Packets Received Errors interval:300<br/> 816:20160719:142735.802 In add_perf_counter() counter:'\\BCAVES12\Network Interface(Intel(R) 82574L Gigabit Network Connection)\Packets Received Errors' interval:300<br/> 816:20160719:142735.802 add_perf_counter(): unable to add PerfCounter '\\BCAVES12\Network Interface(Intel(R) 82574L Gigabit Network Connection)\Packets Received Errors': <span class="error">&#91;0x800007D1&#93;</span> The specified instance is not present.<br/> 816:20160719:142735.802 End of add_perf_counter(): SUCCEED<br/> 816:20160719:142735.802 get_perf_counter_value_by_path(): unable to add PerfCounter '\\BCAVES12\Network Interface(Intel(R) 82574L Gigabit Network Connection)\Packets Received Errors': <span class="error">&#91;0x800007D1&#93;</span> The specified instance is not present.<br/> 816:20160719:142735.802 End of get_perf_counter_value_by_path():FAIL<br/> 816:20160719:142735.802 End of PERF_COUNTER():unknown</p> <p>When i try truh typeperf i get an error on () but not on []:</p> <p>C:\Windows\system32&gt;typeperf "\\BCAVES12\Network Interface(Intel(R) 82574L Gigabit Network Connection)\Bytes Total/sec"<br/> "(PDH-CSV 4.0)"<br/> "07/19/2016 14:34:17.509","-1"<br/> "07/19/2016 14:34:18.509","-1"<br/> "07/19/2016 14:34:19.525","-1"<br/> Error:<br/> The data is not valid.</p> <p>C:\Windows\system32&gt;typeperf "\\BCAVES12\Network Interface(Intel<span class="error">&#91;R&#93;</span> 82574L Gigabit Network Connection)\Bytes Total/sec"<br/> "(PDH-CSV 4.0)","\\BCAVES12\Network Interface(Intel<span class="error">&#91;R&#93;</span> 82574L Gigabit Network Connection)\Bytes Total/sec"<br/> "07/19/2016 14:34:28.353","2061.744397"<br/> "07/19/2016 14:34:29.368","1775.246758"<br/> "07/19/2016 14:34:30.368","1959.545897"<br/> "07/19/2016 14:34:31.368","3192.053730"<br/> The command completed successfully.</p> <p>so it seeams that the character mapping is not working <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/sad.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>Dear <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=me%40wwi.dk" class="user-hover" rel="me@wwi.dk">me@wwi.dk</a>!</p> <p>Can you please test attached agent binaries? They are compiled from the current trunk (without encryption) with attached patch that automatically maps characters in performance counter instance name.</p> <p>Would be very nice if you'd provide the log file of the test with DebugLevel=4.</p> <p>Here are the logs, the app is Crashing <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/sad.png" height="16" width="16" align="absmiddle" alt="" border="0"/> (it's testet on a Windows 2012R2)<br/> 25692:20160720:080325.784 Unhandled exception c0000005 detected at 0x00417D63. Crashing ...<br/> 25692:20160720:080325.785 ====== Fatal information: ======<br/> 25692:20160720:080325.785 Program counter: 0x417d63<br/> 25692:20160720:080325.786 === Registers: ===<br/> 25692:20160720:080325.787 edi = 1 = 1 = 1<br/> 25692:20160720:080325.787 esi = 9fb290 = 10465936 = 10465936<br/> 25692:20160720:080325.788 ebp = 10fedf4 = 17821172 = 17821172<br/> 25692:20160720:080325.788 ebx = 9f6708 = 10446600 = 10446600<br/> 25692:20160720:080325.789 edx = 0 = 0 = 0<br/> 25692:20160720:080325.789 eax = 0 = 0 = 0<br/> 25692:20160720:080325.790 ecx = 0 = 0 = 0<br/> 25692:20160720:080325.790 esp = 10fedb8 = 17821112 = 17821112<br/> 25692:20160720:080325.790 efl = 10246 = 66118 = 66118<br/> 25692:20160720:080325.791 csgsfs = 232b5300 = 590041856 = 590041856<br/> 25692:20160720:080325.791 === Backtrace: ===</p> <p>Oops... Seems like it is crashing if there is no instance name in performance counter path. Added a condition to check that. Please test updated binaries.</p> <p>That worked <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>here is the log file..</p> <p>I'm glad to hear that! <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>Thank you very much for testing!</p> <p><img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/warning.png" height="16" width="16" align="absmiddle" alt="" border="0"/> <font color="red">In general case proposed patch will not work.</font></p> <p>Syntax for performance counter path is the following:</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>\\computer\object(parent/instance#index)\counter </pre> </div></div> <p>If any of <tt>computer</tt>, <tt>object</tt>, <tt>parent</tt>, <tt>instance</tt>, <tt>index</tt> or <tt>counter</tt> contains '\', '/', '#', '(' or ')' it will spoil the operation of <tt>PdhParseCounterPath()</tt>.</p> <p>So, for example we have network interface <br/> <tt>Intel(R) PRO/1000 MT Network Connection</tt> (as we see it in Device Manager and how it returned to net.if.discovery key)<br/> and performance counter <br/> <tt>\Network Interface(Intel[R] PRO_1000 MT Network Connection)\Current Bandwidth</tt>:</p> <ul> <li><tt>perf_counter[\Network Interface(Intel[R] PRO_1000 MT Network Connection)\Current Bandwidth]</tt> works perfectly with and without patch;</li> <li><tt>perf_counter[\Network Interface(Intel(R) PRO_1000 MT Network Connection)\Current Bandwidth]</tt> works only with patch applied;</li> <li><tt>perf_counter[\Network Interface(Intel(R) PRO/1000 MT Network Connection)\Current Bandwidth]</tt> does not work even with patch applied.</li> </ul> <p>Indeed, in the last case we can't say whether "Intel(R) PRO/1000 MT Network Connection" should be treated as one-piece <tt>instance</tt> or as <tt>parent</tt>="Intel(R) PRO" and <tt>instance</tt>="1000 MT Network Connection".</p> <p>Generally speaking, we can't map characters in LLD macros in <tt>perf_counter[]</tt> parameter too, because user might be discovering whole counter path.</p> <p>One possible solution is to change <tt>perf_counter[path,&lt;interval&gt;]</tt> syntax to <tt>perf_counter[&lt;computer&gt;,object,&lt;parent&gt;,&lt;instance&gt;,&lt;index&gt;,counter,&lt;interval&gt;]</tt>. This will be explicit, but ugly.</p> <p>Solution proposed by <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=asaveljevs" class="user-hover" rel="asaveljevs">asaveljevs</a> is more elegant and more general-purpose, but will require significantly more effort to implement.</p> <p>I've done some code browsing and here is what I've found out.</p> <p>Adding macro function is relatively easy, it boils down to one <tt>else if (...)</tt> in <tt>zbx_calculate_macro_function()</tt> and one function doing dirty job. But current token parser understands macro functions only for simple macros, no user macros and no LLD macros. Managing locations and macros, for which we support new functions, need interventions in huge and complicated <tt>substitute_simple_macros()</tt> function. And as a bonus there is a fact that LLD macros and all other macros are processed in two passes using two different functions...</p> <p>some zabbix users use custom lld script to get correct interface names from WMI ...</p> Development Rank 0|i04gd3: Template [ZBXNEXT-3155] Dropbox for selecting screen disappear in screen view https://support.zabbix.com/browse/ZBXNEXT-3155 ZABBIX FEATURE REQUESTS <p>On the top right corner on 2.4.6 we use to have a dropbox to change between screens. Now that dropbox is no longer there.</p> ZBXNEXT-3155 Dropbox for selecting screen disappear in screen view Change Request Minor Reopened Unresolved Unassigned Juan Thu, 18 Feb 2016 21:04:49 +0200 Wed, 31 May 2017 11:36:10 +0300 3.0.0 Documentation (D) 1 3 <p>See <a href="http://zabbix.org/wiki/Docs/bug_reporting_guidelines" class="external-link" target="_blank" rel="nofollow noopener">http://zabbix.org/wiki/Docs/bug_reporting_guidelines</a><br/> and <a href="https://www.zabbix.com/documentation/3.0/manual/introduction/whatsnew300" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/3.0/manual/introduction/whatsnew300</a><br/> Closed.</p> <p>@zalex_ua I did discuss this in the IRC and I was told to open a issue since the dropbox is actually missing.</p> <p>In the whats new doc you point I see the entry "Map, screen and slide show listings can now be filtered by name." But I dont see anywhere saying you were getting rid of the dropbox.</p> <p>I see that you don't see this as bug but perhaps It could be a "Feature request" to be able to change between screens in a faster way ?</p> <p>indeed, as a minimum removal of the dropdown should go in the upgrade notes...</p> <p>Now there is a well noticeable link "All screens" instead of the drop down.<br/> That part was redesigned a lot and mentioned a bit at at <a href="https://www.zabbix.com/documentation/3.0/manual/introduction/whatsnew300#new_web_interface" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/3.0/manual/introduction/whatsnew300#new_web_interface</a></p> <p>I don't think at makes much sense to document every "new pixel" of reworked 3.0 interface.<br/> Otherwise we could go too far when trying to document each "new pixel" <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>that's slightly downplaying removal of a dropdown calling it a "new pixel" <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/><br/> a functional change that should have went in the upgrade notes before users report it as a regression...</p> <p>ok ok, reopened .... <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>...also here's an example of it done properly for the 2.4 latest data changes <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/wink.png" height="16" width="16" align="absmiddle" alt="" border="0"/><br/> <a href="https://www.zabbix.com/documentation/2.4/manual/installation/upgrade_notes_240#changes_in_latest_data_page" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/2.4/manual/installation/upgrade_notes_240#changes_in_latest_data_page</a></p> Development Rank 0|i043vz: Template [ZBXNEXT-1016] show full value for truncated entries upon mouseover https://support.zabbix.com/browse/ZBXNEXT-1016 ZABBIX FEATURE REQUESTS <p>sometimes frontend trims values - for example, {ITEM.LASTVALUE} expansion is truncated to 20 characters (<a href="https://support.zabbix.com/browse/ZBX-4303" title="Trigger name field truncates {ITEM.LASTVALUE} to 20 characters" class="issue-link" data-issue-key="ZBX-4303"><del>ZBX-4303</del></a>)</p> <p>it would be great if full values could be shown upon mouseover (while still retaining trigger as one clickable link, if possible <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/> )</p> ZBXNEXT-1016 show full value for truncated entries upon mouseover Change Request Minor Reopened Unresolved Unassigned richlv Tue, 1 Nov 2011 13:47:09 +0200 Thu, 31 Jan 2019 08:28:43 +0200 3.4.0alpha1 Frontend (F) 20 13 <p>There should definitely be a solution to see the complete latest/last value.<br/> I noticed this issue from the very beginning but didn't paid too much attention because the history displays such items without truncating.</p> <p>Now, after reaching ~1K NVPS/~1TB DB in our evaluation environment I started to reconfigure non-analytic items to keep no history and trends. Lots of these items are log or text based and therefore not informative any more.</p> <p>This should be really easy in 2.2, because the complete data is in the div already. Only log items are truncated in include/items.inc.php:formatHistoryValue(), which is easy to remove, of course.</p> <p>Connected to <a href="https://support.zabbix.com/browse/ZBXNEXT-2448" title="Don&#39;t truncate log and text type after 20 characters on the server side for last 20 issues" class="issue-link" data-issue-key="ZBXNEXT-2448"><del>ZBXNEXT-2448</del></a></p> <p>Distantly related to <a href="https://support.zabbix.com/browse/ZBXNEXT-2217" title="Graph titles created with item prototype from LLD showing only 20 first characters" class="issue-link" data-issue-key="ZBXNEXT-2217"><del>ZBXNEXT-2217</del></a></p> <p><b>(1)</b> when working on this issue, other usecases to be taken into account :</p> <ul> <li><a href="https://support.zabbix.com/browse/ZBX-4303" title="Trigger name field truncates {ITEM.LASTVALUE} to 20 characters" class="issue-link" data-issue-key="ZBX-4303"><del>ZBX-4303</del></a>, <a href="https://support.zabbix.com/browse/ZBXNEXT-2090" title="Ability to configure setting extract number of characters of {ITEM.VALUE} macro in trigger name" class="issue-link" data-issue-key="ZBXNEXT-2090"><del>ZBXNEXT-2090</del></a>, <a href="https://support.zabbix.com/browse/ZBXNEXT-2448" title="Don&#39;t truncate log and text type after 20 characters on the server side for last 20 issues" class="issue-link" data-issue-key="ZBXNEXT-2448"><del>ZBXNEXT-2448</del></a> - ITEM.VALUE &amp; ITEM.LASTVALUE</li> <li><a href="https://support.zabbix.com/browse/ZBX-7100" title="Labels in maps are stripped to 20 characters" class="issue-link" data-issue-key="ZBX-7100"><del>ZBX-7100</del></a> - map labels</li> <li><a href="https://support.zabbix.com/browse/ZBXNEXT-2217" title="Graph titles created with item prototype from LLD showing only 20 first characters" class="issue-link" data-issue-key="ZBXNEXT-2217"><del>ZBXNEXT-2217</del></a> - LLD graph name expansion</li> </ul> <p>Any update on this case or some workaround to avoid ITEM.LASTVALUE beeing trimmed? Like editing the right php file in 3.x?</p> <p>See <a href="https://support.zabbix.com/browse/ZBXNEXT-2448" title="Don&#39;t truncate log and text type after 20 characters on the server side for last 20 issues" class="issue-link" data-issue-key="ZBXNEXT-2448"><del>ZBXNEXT-2448</del></a>, tony!</p> <p>Currently we have found workaround.</p> <p>In Zabbix 3.2 we can use <a href="https://www.zabbix.com/documentation/3.2/manual/config/macros/macro_functions" class="external-link" target="_blank" rel="nofollow noopener">Macro functions</a> in trigger descriptions.</p> <p>So instead of:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java">{ITEM.VALUE}</pre> </div></div> <p>we can use:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java">{{ITEM.VALUE}.regsub(<span class="code-quote">"(.*)"</span>, <span class="code-quote">"\1"</span>)}</pre> </div></div> <p>After introducing <tt>regsub</tt> we can use it as a possible workaround for this issue.</p> <p>At the same time, it would be great to implement this feature because we have inconsistency for the macros now (e.g. <tt>"{ITEM.VALUE}"</tt> is affected and <tt>"{{ITEM.VALUE}.regsub...)}"</tt> is not).</p> Duplicate ZBX-15183 ZBXNEXT-2090 ZBXNEXT-2217 ZBXNEXT-2448 ZBXNEXT-3375 ZBX-4303 ZBX-7100 Development Rank 0|i02apb: Story Points 2.0 Team Template [ZBXNEXT-1212] Adding JMX/SNMP/IPMI interfaces with Auto-registration https://support.zabbix.com/browse/ZBXNEXT-1212 ZABBIX FEATURE REQUESTS <p>It would be nice if there is some way to automatically add JMX interface to auto-registered host, so template with JMX items could be linked automatically. Maybe another operator for action, like "Add interface" with requirements to specify type and port.</p> Doesn&#39;t matter ZBXNEXT-1212 Adding JMX/SNMP/IPMI interfaces with Auto-registration Change Request Minor Reopened Unresolved Zabbix Support Team Igor Urazov Tue, 1 May 2012 21:52:25 +0300 Wed, 28 Oct 2020 13:32:35 +0200 2.0.0 Frontend (F) Java gateway (J) Server (S) 39 23 <p>it would be very useful, especially for clouds</p> <p>Happy with the auto-registration functionality in 2.0.2 but this would be a significant improvement when using Zabbix to monitor elastic cloud hosts and applications. Same for snmp/impi.</p> <p>Maybe run script action as well? you could run external code that hits the API to do anything you want then.</p> <p>i need this feature too. auto add snmp and impi interface!</p> <p>There has to be a option using which we can enable SNMP, JMX interface on auto registered hosts..</p> <p>I need this as well. Specifically the SNMP interface in my case. The snmp based templates I used to auto link in 1.8 now are not able to be linked which, in my case, breaks all the templates assignments because the snmp template was linked with the main "default" template being linked during the auto reg process. </p> <p>This should not be considered just an improvement requests. Auto linking broke from version 1.8 to 2.0 for people who auto link snmp templates. It's a regression.</p> <p>Support. This is a very useful functionality.</p> <p>This was also a significant problem for us because of auto-linking. Because we have templates with items which need JMX, auto registration failed to link ALL templates, not just the items (or at the very least, the templates) that need JMX. So the host would get added with no monitoring at all.</p> <p>I ended up fixing this by adding a database trigger to auto add the JMX interface when the Agent interface is added. This allowed the auto-registration with template linking to work. Yes it ends up adding a JMX interface to all hosts, even those without JMX, but unless a monitoring item tries to use the JMX interface, nothing complains.</p> <p>Below is the trigger for anyone interested in it. It's made for postgres. You'll likely need to change the port from 9810 to your JMX port:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> CREATE OR REPLACE FUNCTION interface_create_jmx() RETURNS TRIGGER as $$ BEGIN IF <span class="code-keyword">new</span>.type != 1 OR <span class="code-keyword">new</span>.main != 1 THEN RETURN NULL; END IF; BEGIN INSERT INTO <span class="code-keyword">interface</span> (hostid,main,type,useip,ip,dns,port,bulk, interfaceid) SELECT <span class="code-keyword">new</span>.hostid, 1, 4, <span class="code-keyword">new</span>.useip, <span class="code-keyword">new</span>.ip, <span class="code-keyword">new</span>.dns, 9810, <span class="code-keyword">new</span>.bulk, nextid+1 FROM ids WHERE table_name=<span class="code-quote">'<span class="code-keyword">interface</span>'</span> AND field_name=<span class="code-quote">'interfaceid'</span>; UPDATE ids SET nextid=nextid+1 WHERE table_name=<span class="code-quote">'<span class="code-keyword">interface</span>'</span> AND field_name=<span class="code-quote">'interfaceid'</span>; EXCEPTION WHEN unique_violation THEN -- <span class="code-keyword">do</span> nothing END; RETURN NULL; END; $$ LANGUAGE plpgsql; CREATE TRIGGER interface_create_jmx AFTER INSERT ON <span class="code-keyword">interface</span> FOR EACH ROW EXECUTE PROCEDURE interface_create_jmx(); </pre> </div></div> <p>+1 we really need this for SNMP/JMX monitoring of auto-registered hosts.</p> <p>Back in early 2013, we were almost forced to move off Zabbix due the feature-breaking change back when 2.0 was released. We had to develop an external automation system that used various API calls just to allow auto-registrations to continue to work with SNMP linked templates.</p> <p>It's sad to have to used a kludge just because we chose to use linked templates.</p> <p>Used a setup similar to what Patrick did, but we use the zabbixapi gem to workaround this for now. Requires a script that fires during auto-registration to determine the system type, add the JMX interface, and then has to apply the templates with JMX items afterwards.</p> <p>Would really streamline our process to have JMX interface and templates applied without needing the separate actions/scripts.</p> <p>This would be useful functionality in a large cloud environments hosting Java applications. Especially if you link templates to hosts matching certain auto registration criteria (for example: HostMetadata contains string "Cassandra" or "Elasticsearch"), you end up in a situation where adding JMX interface has to be done either manually or with post registration external scripts. Upvoted!</p> <p>I came across same issue, however interface automation during auto-registration can be achieved through ansible zabbix module. We have successfully implemented in our environments.</p> <p>I believe it has been implemented under <a href="https://support.zabbix.com/browse/ZBXNEXT-2072" class="external-link" rel="nofollow">https://support.zabbix.com/browse/ZBXNEXT-2072</a> in Zabbix 5.2.</p> <p>Sorry, didn't notice that it is about auto-discovery, re-opened.</p> Causes Duplicate ZBXNEXT-2072 Development Rank 0|i02bd3: Template [ZBXNEXT-1146] Application with name '-' is shown as no applications in item applications list https://support.zabbix.com/browse/ZBXNEXT-1146 ZABBIX FEATURE REQUESTS <p>Create application with name '-', add item to it.<br/> In items list in applications column its not possible to distinct items with no applications and items that belongs to application '-'</p> ZBXNEXT-1146 Application with name '-' is shown as no applications in item applications list Change Request Minor Reopened Unresolved Unassigned Alexey Fukalov Mon, 25 Oct 2010 16:20:02 +0300 Wed, 31 May 2017 11:36:41 +0300 Frontend (F) 0 0 <p>I think it shouldn't be considered as a bug. I am closing it.</p> <p>well, it is a usability bug, although a very minor one. moving to zbxnext instead <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> Development Rank 0|i02elr: Template [ZBXNEXT-2042] inconsistent alias & userparam syntax https://support.zabbix.com/browse/ZBXNEXT-2042 ZABBIX FEATURE REQUESTS <p>userparameters use comma to delimit item key from command, aliases use colon to delimit item key from substituted key.</p> <p>this is quite confusing and inconsistent.</p> <p>of course, can only be fixed in a major version with a proper upgrade note.</p> ZBXNEXT-2042 inconsistent alias & userparam syntax Change Request Minor Reopened Unresolved Unassigned richlv Wed, 20 Nov 2013 21:06:57 +0200 Wed, 31 May 2017 11:36:18 +0300 2.2.0 Agent (G) 0 0 <p>It's not a bug.</p> Development Rank 0|i02kbb: Template [ZBXNEXT-1819] New graph type 'Bars' https://support.zabbix.com/browse/ZBXNEXT-1819 ZABBIX FEATURE REQUESTS <p>Would be nice to have additionally the graph types 'Bars' and 'Stacked bars' available for Graphs.</p> <p>Examples by D3.js:<br/> <a href="http://bl.ocks.org/mbostock/3885304" class="external-link" target="_blank" rel="nofollow noopener">http://bl.ocks.org/mbostock/3885304</a><br/> <a href="http://bl.ocks.org/mbostock/3886208" class="external-link" target="_blank" rel="nofollow noopener">http://bl.ocks.org/mbostock/3886208</a></p> ZBXNEXT-1819 New graph type 'Bars' New Feature Request Minor Reopened Unresolved Unassigned Marc Thu, 11 Jul 2013 15:48:46 +0300 Wed, 12 Jun 2019 09:15:40 +0300 2.0.6 Frontend (F) 11 4 <p>closing duplicate; thanks to volter for pointing it out</p> <p>I was aware of <a href="https://support.zabbix.com/browse/ZBXNEXT-854" title="Support Bar Graphs" class="issue-link" data-issue-key="ZBXNEXT-854"><del>ZBXNEXT-854</del></a> and thought it follows a different intention.</p> <p>This ticket is about rendering every single value of an item as an dedicated bar in a graph - no visually connection between values</p> <p>If I'm wrong and <a href="https://support.zabbix.com/browse/ZBXNEXT-854" title="Support Bar Graphs" class="issue-link" data-issue-key="ZBXNEXT-854"><del>ZBXNEXT-854</del></a> aims the same feel free to close this issue again.</p> <p>We started a D3 initiative: <a href="https://www.zabbix.org/wiki/Docs/maps_charts_d3" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.org/wiki/Docs/maps_charts_d3</a></p> <p>The timeSeries widget of <a href="https://github.com/hgruber/zabbix-d3js-widgets" class="external-link" target="_blank" rel="nofollow noopener">zabbix-d3js-widgets</a> shows a similar and possibly better solution.</p> Duplicate ZBXNEXT-854 Development Rank 0|i02dov: Template [ZBXNEXT-3069] No availability information for prototyped hypervisor hosts? https://support.zabbix.com/browse/ZBXNEXT-3069 ZABBIX FEATURE REQUESTS <p>Normally you would find availability (and error) information for hosts under "Configuration -&gt; Hosts" in the right most colum (Agent, SNMP, JMX, IPMI icons).<br/> Hosts that are prototyped using the builtin VMware templates do not have that information making debugging of unsupported items, etc much more difficult.</p> zabbix_server -V <br/> Zabbix server v2.2.0rc2 (revision 40078) (06 November 2013) <br/> Compilation time: Nov 6 2013 21:20:12 ZBXNEXT-3069 No availability information for prototyped hypervisor hosts? Change Request Minor Reopened Unresolved Unassigned Henrik Johansen Thu, 7 Nov 2013 12:08:27 +0200 Fri, 11 Dec 2015 17:18:56 +0200 Frontend (F) 2 3 <p>That's not possible by design as vmware keys do not use host interfaces.<br/> And under one zabbix host you can actually monitor several independent vcenter/hypervisor.</p> <p>I'm closing it as wont fix.<br/> Feel free to reopen AND move it to ZBXNEXT if you like. </p> <p>looks like currently inability to connect to vmware api will mark all vmware items as unsupported. this reduces the visibility of the environment and results in a fairly massive amount of database updates in large environments.</p> <p>i would support reopening this one and moving it to zbxnext to implement proper host state for such cases.</p> <p>moved</p> Development Rank 0|i02iyn: Template [ZBXNEXT-2506] support axfr record type for zone transfer in net.dns[] and net.dns.record[] items https://support.zabbix.com/browse/ZBXNEXT-2506 ZABBIX FEATURE REQUESTS <p>AXFR record type is useful to get a list of DNS records for a zone:</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>$ dig -t axfr example.com @192.168.1.1 | head -10 ; &lt;&lt;&gt;&gt; DiG 9.9.5-4-Debian &lt;&lt;&gt;&gt; -t axfr example.com @192.168.1.1 ;; global options: +cmd example.com. 86400 IN SOA ns1.example.com. admin.example.com. 2011100600 3600 1800 604800 3600 example.com. 86400 IN NS ns1.example.com. alice.example.com. 86400 IN A 192.168.1.2 bob.example.com. 86400 IN A 192.168.1.3 bob.example.com. 86400 IN A 192.168.1.4 bob.example.com. 86400 IN AAAA 38a1::3 bob.example.com. 86400 IN AAAA 38a1::4 ... </pre> </div></div> <p>Not all DNS servers allow zone transfer, because that might not be good from a security perspective.</p> <p>So AXFR support in Zabbix agent would be useful for monitoring the DNS security setup, as well as zone content, too.</p> ZBXNEXT-2506 support axfr record type for zone transfer in net.dns[] and net.dns.record[] items New Feature Request Minor Reopened Unresolved Zabbix Development Team Aleksandrs Saveljevs Thu, 9 Oct 2014 18:12:16 +0300 Mon, 8 Jan 2024 11:24:39 +0200 2.4.1 Agent (G) 0 1 <p>In <a href="https://support.zabbix.com/browse/ZBXNEXT-8721" class="external-link" rel="nofollow">ZBXNEXT-8721</a> net.dns.get was added, which greatly increased the scope of the supported record types. <br/> However, the AXFR / zone transfer support was not added.</p> <p>FYI <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=akalimulin" class="user-hover" rel="akalimulin">akalimulin</a> </p> <p>&lt;<a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=arimdjonoks" class="user-hover" rel="arimdjonoks">arimdjonoks</a>&gt; development of axfr support still would require a new untrivial code to be added, so it will stay for hold for now, due to low demand</p> Development Rank 0|i033rj: Template [ZBXNEXT-2574] ad-hoc graphs do not keep period upon page refresh https://support.zabbix.com/browse/ZBXNEXT-2574 ZABBIX FEATURE REQUESTS <p>open ad-hoc graph, change time period, refresh page - period is reset to one hour.</p> <p>this behaviour is not consistent with simple graphs, custom graphs, webmonitoring, screens, audit... any other page with the time period bar.</p> <p>we could either save one value for all ad-hoc graphs, or keep last 5 combinations of items or any other approach that would be sensible</p> ZBXNEXT-2574 ad-hoc graphs do not keep period upon page refresh Change Request Minor Reopened Unresolved Unassigned richlv Fri, 24 Oct 2014 15:35:40 +0300 Wed, 31 May 2017 11:36:30 +0300 Frontend (F) 0 1 <p>After a discussion, it was agreed that this is not fixable as a bugfix in any sane way. A proper development is required, that touches all the graphs is required to properly fix this issue and prevent other odd things happening with the graphs, including the ability to open the same item's multiple graphs and keep their local period and time settings between refreshes.</p> <p>Probably should be converted into ZBXNEXT.</p> <p>&lt;<a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=richlv" class="user-hover" rel="richlv">richlv</a>&gt; even though not easy to fix, it is still a functional bug - hiding it would not be a good approach</p> <p>Moved to ZBXNEXT project.</p> Development Rank 0|i038gv: Template [ZBXNEXT-2515] Saving Adhoc graphs https://support.zabbix.com/browse/ZBXNEXT-2515 ZABBIX FEATURE REQUESTS <p>Adhoc graphs are great, nice and simple. Data pulled in from different hosts etc. However when I do an adhoc graph for my manager and he likes it he wants it view it later at his leisure. He is a buffoon though and doesnt understand zabbix, and he cant understand why i cant save the graphs i have just made for him. Makes the software look bad in his eyes. Should be simple enough yes?</p> <p>keywords: ad-hoc</p> Any ZBXNEXT-2515 Saving Adhoc graphs New Feature Request Minor Reopened Unresolved Zabbix Support Team chris scott Wed, 15 Oct 2014 10:56:20 +0300 Tue, 25 May 2021 14:13:02 +0300 2.4.1 Frontend (F) 12 12 <p>note that reusing the url should provide the same graph - maybe that works as a workaround for now</p> <p>Really need a way of saving these ad hoc graphs and then bringing them in as part of a configured screen.</p> <p>Possibly as a bookmark? <a href="https://support.zabbix.com/browse/ZBXNEXT-1680" title="Custom bookmarks in dashboard" class="issue-link" data-issue-key="ZBXNEXT-1680">ZBXNEXT-1680</a></p> <p>Ad-hoc graphs on dashboards would be amazing <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/> </p> <p>Saving ad-hoc graphs for displaying them in dashboards would be a really good feature.</p> <p>We support this functionality since Zabbix 5.0 or 5.2. Click on any graph widget in dashboard and then press "Download image". That's it!</p> <p>We support this functionality since Zabbix 5.0 or 5.2. Click on any graph widget in dashboard and then press "Download image". That's it!</p> <p>I think this issue isn't meant to "download" the graph as a file, but rather to save the graph as a "favorite" so you can later have a look at the same metrics without having to compose the graph from scratch.</p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=qix" class="user-hover" rel="qix">qix</a>, you are right, I misunderstood it. Reopened!</p> Duplicate ZBXNEXT-2731 ZBXNEXT-3548 Development Rank 0|i033c7: Template [ZBXNEXT-2599] proc.num on linux includes OS threads in process count https://support.zabbix.com/browse/ZBXNEXT-2599 ZABBIX FEATURE REQUESTS <p>On Linux, if the process being counted has spawned an OS-level thread, that appears as a process in /proc and is included in the proc.num output. This makes proc.num<span class="error">&#91;&lt;daemon&gt;&#93;</span> return a number &gt;1 occasionally for daemon's that periodically spawn a thread. </p> <p>The attached patch compares the thread group ID from /proc/&lt;pid&gt;/status to the pid and if they do not match ignores the thread.</p> Linux zabbix-agent ZBXNEXT-2599 proc.num on linux includes OS threads in process count New Feature Request Minor Reopened Unresolved Unassigned David Nolan Thu, 23 Oct 2014 20:39:41 +0300 Wed, 19 Nov 2014 13:41:42 +0200 Agent (G) 0 2 <p>Related issue with FreeBSD: <a href="https://support.zabbix.com/browse/ZBX-4704" title="proc.num shows threads under FreeBSD" class="issue-link" data-issue-key="ZBX-4704"><del>ZBX-4704</del></a></p> <p>David, which Linux distibution are you using and what kernel version?</p> <p>This is on a Ubuntu based amazon image, with kernel 3.13.0-29-generic</p> <p>Thank you David.</p> <p>I would appreciate if you could give us some information about the multi-threaded process that return proc.num count &gt;1 on your system. Is it some open source product or your own code?</p> <p>I assume, in your case, the spawned processes have different PIDs, but share the same TGID, is that correct?</p> <p>According to the documentation: </p> <blockquote> <p>With NPTL, all of the threads in a process are placed in the same thread group; all members of a thread group share the same PID.</p></blockquote> <p>Igors,</p> <p>This is an application implemented in Go. Go does not use pthreads by default, it provides its own threading implementation. Most goroutines (application threads) exist within a single OS thread, but when Go detects one goroutine is blocking it automatically spawns another OS thread and migrates all other goroutines to that thread.</p> <p>Thus the behavior that we see is that proc.num<span class="error">&#91;someapp&#93;</span> will be 1 most of the time, but during those moments where Go has spawned a second thread it will be 2 (or higher). The additional threads have different PIDs but the same TGID. So a zabbix trigger on proc.num<span class="error">&#91;someapp&#93;</span>#1 will fire in error during those times.</p> <p>David,</p> <p>We were unable to replicate the situation when Go spawns an OS thread with different PID, when goroutine is blocked, keeping the same TGID.<br/> This means that in some cases, similar to the one you have, Go's threading implementation spawns a new process instead of a thread.</p> <p>Normally, it is expected that each process, or independently scheduled execution context, has its own process descriptor. On the other hand, threads in the same group have a common PID. Therefore, the result returned by proc.num[] cannot be considered as incorrect, since it shows that there are multiple processes of the same app at the certain period of time.</p> <p>Since in your case, this behaviour is unwanted, we would recommend you to execute the script that parses the PIDs and TGIDs and then compares them.</p> <p>Unfortunately we are experiencing this problem in our production environments, and the propose patch fixed the problem and eliminated spurious alerts. From some further reading it seems like this should be easy to replicate with a C program that just calls clone() directly rather then going through any of the user mode thread libraries.</p> <p>Would you consider adding a variant of proc.num which only reports the thread group masters? perhaps proc.thread_masters, with all the same semantics as proc.num with the addition of the code to ignore processes where PID != TGID? The goal here is to have a builtin test that can verify "one and only one copy of daemon X is running", so you can detect cases where two master processes have been started</p> <p>moving to feature requests. maybe a new parameter to proc.num could be considered</p> <p>David, we understand your concern and appreciate your feedback. As with clone(), in my case, as i mentioned earlier, the new thread is created with the same PID. I would appreciate if you could replicate this issue on your host with a small C or Go program and send me your results. Then we can speed up the fixing of this issue.</p> Development Rank 0|i038dz: Template [ZBXNEXT-1973] Further dissemination of history table https://support.zabbix.com/browse/ZBXNEXT-1973 ZABBIX FEATURE REQUESTS <p>Hi,</p> <p>We recently performed some analysis on the possible storage &amp; processing savings involved in adding a tinyint based history_bool (or history_tiny) table in addition to the existing history_uint table. We found there would be significant savings in doing so.</p> <p>I would like to ask if is is possible to do this, I am tempted to take a look at the source myself and see what is required and I suspect the work to add history_bool would be trivial given that bool is already an acceptable datatype.</p> <p>I look forward to a positive response.</p> <p>Mathew</p> N/A ZBXNEXT-1973 Further dissemination of history table Change Request Minor Reopened Unresolved Unassigned Mathew Mon, 21 Oct 2013 14:16:43 +0300 Tue, 22 Oct 2013 00:19:12 +0300 2.2.0 Frontend (F) Server (S) 0 1 <p>yes, this has been already considered - even more, there's already a specification draft.</p> <p>see <a href="https://support.zabbix.com/browse/ZBXNEXT-1693" title="New numeric data type: small integer" class="issue-link" data-issue-key="ZBXNEXT-1693"><del>ZBXNEXT-1693</del></a> for more detail</p> <p>ergh, misread it. this only talks about history, the other issue talks about other values</p> <p>I made the same mistake <a href="https://support.zabbix.com/browse/ZBXNEXT-1693" title="New numeric data type: small integer" class="issue-link" data-issue-key="ZBXNEXT-1693"><del>ZBXNEXT-1693</del></a> does not include the history table in its specification.</p> Development Rank 0|i02esf: Template [ZBXNEXT-112] user.add should return better error messages https://support.zabbix.com/browse/ZBXNEXT-112 ZABBIX FEATURE REQUESTS <p>From the CLI tool</p> <p>add user passwd=bla<br/> *<b>Debug(7)</b>* parse_input: add user passwd=bla<br/> <span class="error">&#91;&quot;passwd=bla&quot;&#93;</span><br/> {:command=&gt;:adduser, :parameters=&gt;{"passwd"=&gt;"bla"}}<br/> *<b>Debug(10)</b>* json_obj: json_obj: authe29c821d61cc1fa597359c4df0df9ce3id2methoduser.addparamspasswdblajsonrpc2.0<br/> *<b>Debug(8)</b>* do_request: Sending: {"auth":"e29c821d61cc1fa597359c4df0df9ce3","id":2,"method":"user.add","params":[</p> {"passwd":"bla"} <p>],"jsonrpc":"2.0"}<br/> *<b>Debug(8)</b>* do_request: Response Code: 200<br/> *<b>Debug(8)</b>* do_request: Response Body: {"jsonrpc":"2.0","error":</p> {"code":-32500,"message":"Application error.","data":"Incorrect parameters pasted to method [ user.add ]"} <p>,"id":2}<br/> An error was received from the Zabbix server<br/> Error code: -32500<br/> Error message: Application error.<br/> Error data: Incorrect parameters pasted to method [ user.add ]</p> <p>The error message returned is overly simplistic. In this case something to the effect of what fields are required would be useful.</p> <p>Also as an aside, pasted? Perhaps "Incorrect parameter for method [user.add", just a thought. <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> ZBXNEXT-112 user.add should return better error messages Change Request Minor Reopened Unresolved Unassigned nelsonab Tue, 20 Oct 2009 19:32:46 +0300 Sun, 21 Oct 2012 08:02:33 +0300 API (A) 0 0 <p>Error messages will be improved, no doubts, but in time. First things first. =) There is so much work to do!</p> <p>This issue is part of future API development, so I close it.</p> <p>valid as a feature request (so that it doesn't get lost)</p> Development Rank 0|i02ej3: Template [ZBXNEXT-1395] Loose agent because of the timeout in agent mounted disk discovery reply https://support.zabbix.com/browse/ZBXNEXT-1395 ZABBIX FEATURE REQUESTS <p>Zabbix Agent windows Mounted filesystem discovery problem</p> <p>If I enable this feature zabbix falls to network errors.<br/> <span class="error">&#91;CODE&#93;</span> 1386:20120829:180101.758 enabling Zabbix agent checks on host <span class="error">&#91;host&#93;</span>: host became available<br/> 1382:20120829:180107.819 Zabbix agent item <span class="error">&#91;vfs.fs.discovery&#93;</span> on host <span class="error">&#91;host&#93;</span> failed: first network error, wait for 15 seconds<br/> 1386:20120829:180125.933 Zabbix agent item <span class="error">&#91;vfs.fs.discovery&#93;</span> on host <span class="error">&#91;host&#93;</span> failed: another network error, wait for 15 seconds<br/> 1386:20120829:180144.032 Zabbix agent item <span class="error">&#91;vfs.fs.discovery&#93;</span> on host <span class="error">&#91;host&#93;</span> failed: another network error, wait for 15 seconds<br/> 1386:20120829:180202.144 temporarily disabling Zabbix agent checks on host <span class="error">&#91;host&#93;</span>: host unavailable<span class="error">&#91;/CODE&#93;</span></p> <p>It looks like that this is timeout issue.<br/> Is it possible to grow timeout time for low level discovery?</p> <p>When I run zabbix_get from command line it takes about 6 seconds to get data from host.</p> <p><span class="error">&#91;B&#93;</span>WORKAROUND:<br/> Timeout occurs in case of floppy disk presence. I have disabled floppy disk drive in system and timeouts gone away.<br/> Hope this knowledge will help somebody else<span class="error">&#91;/B&#93;</span></p> <p>It would be wonderful to skip disk A: or have ability to increase timeout for discovery.</p> windows os with floppy drive ZBXNEXT-1395 Loose agent because of the timeout in agent mounted disk discovery reply Change Request Minor Reopened Unresolved Unassigned Maxim Semenov Fri, 31 Aug 2012 10:20:40 +0300 Wed, 12 Nov 2014 08:12:11 +0200 2.0.0 2.0.2 Agent (G) 2 3 <p>There is no way to increase timeout for discovery items only. Note that all items (discovery or not) process timeout in exactly the same manner. You may increase Timout parameter in zabbix_agentd.conf and zabbix_server.conf, but it is absolutely not recommended solution.</p> <p>I am closing it because it is not a bug report.</p> <p>The problem is:<br/> If you activate "Mounted filesystem discovery"(from default template) for the hosts with floppy disk drive and Windows installed, then we start to get messages like "Zabbix agent on HOST is unreachable for 5 minutes"</p> <p>This problem because of the function GetVolumeInformation (diskspace.c file) trying to get info about floppy disk drive filesystem. It gets about 5-6 second, so we get timeout. <br/> Think that it's a good idea to exclude disk "a:" from filesystem check in agentd.</p> <p>The problem is: <br/> If you activate "Mounted filesystem discovery"(from default template) for the hosts with floppy disk drive and Windows installed, then we start to get messages like "Zabbix agent on HOST is unreachable for 5 minutes" </p> <p>This problem because of the function GetVolumeInformation (diskspace.c file) trying to get info about floppy disk drive filesystem. It gets about 5-6 second, so we get timeout. <br/> Think that it's a good idea to exclude disk "a:" from filesystem check in agentd. </p> <p>This is not a bug, bun if you want to add file system discovery to a number of windows servers with floppy drives, you will get a lot of "Zabbix agent on HOST is unreachable for 5 minutes" problems. And this is not good.</p> <p>i'm not quite sure whether it's a good idea to hardcode such exceptions, especially given the demise of floppy drives. nevertheless, moving to feature requests first</p> <p>Just a link - a forum thread (in Russian) <a href="http://www.zabbix.com/forum/showthread.php?p=120902" class="external-link" target="_blank" rel="nofollow noopener">http://www.zabbix.com/forum/showthread.php?p=120902</a><br/> <a href="http://www.zabbix.com/forum/showthread.php?p=124056" class="external-link" target="_blank" rel="nofollow noopener">http://www.zabbix.com/forum/showthread.php?p=124056</a></p> <p>I don't think this should be triaged as a minor feature request.</p> <p>vfs.fs.discovery is not a simple item, but a metaitem where actual items are derived from. The file system discovery always timing out if certain devices are installed invalidates the purpose of autodiscovery because no storage item will be created, this makes file system autodiscovery unreliable.</p> <p>It's telling that you have to disable storage devices to make storage autodiscovery work.</p> <p>I've found file system discovery works if the item type of the discovery rule is changed from "zabbix agent" to "zabbix agent (active)", even if the manual for 2.2 states <blockquote><p>The type of check to perform discovery; should be Zabbix agent for file system discovery.</p></blockquote><br/> Maybe the documentation should mention this special case?</p> <p>This makes sense as the server timeout is only for passive checks, active checks can take all the time they need. I guess all hosts that can be passive checked are capable of active checks, so this issue is not that serious after all.</p> <p>note that manual has been updated to mention both 'normal' (passive) agent &amp; active agent as valid choices for this discovery rule</p> <p>additionally, <a href="https://support.zabbix.com/browse/ZBX-4284" title="Possible wrong host (agent!,snmp?) disabling and bad handling of Unreachable items (hosts)" class="issue-link" data-issue-key="ZBX-4284"><del>ZBX-4284</del></a> talks about having an algorithm to disable only the items that are timing out. while it won't solve the main problem here, it would prevent host from being reported as being down</p> <p>features used in <a href="https://support.zabbix.com/browse/ZBXNEXT-2006" title="LLD Macro for Windows Drive Type" class="issue-link" data-issue-key="ZBXNEXT-2006"><del>ZBXNEXT-2006</del></a> might be considered to improve current case, if it still will be actual.</p> Development Rank 0|i02ep3: Template [ZBXNEXT-1337] don't allow to choose unusable triggers for dependencies https://support.zabbix.com/browse/ZBXNEXT-1337 ZABBIX FEATURE REQUESTS <p>adding a trigger as a dependency that already is added should either produce warning, or, ideally, this trigger should not appear in the list to select at all. currently it is allowed to select such a trigger, but it mysteriously is skipped.</p> <p>additionally, it is possible to add trigger as depending on itself. it only produces error upon saving, not upon adding.</p> <p>ideally such triggers would not appear in lists to select at all, or they would appear, but greyed out</p> ZBXNEXT-1337 don't allow to choose unusable triggers for dependencies Change Request Minor Reopened Unresolved Unassigned richlv Fri, 27 Feb 2009 19:07:33 +0200 Sat, 13 Oct 2012 17:37:48 +0300 Frontend (F) 0 1 <p>Such issues will be fixed eventually. It is more usability related problem not a bug per se.</p> <p>well, it's not consistent (works ok with maps), so that's a bug right there. nevertheless, it's a zbxnext as a minimum...</p> Development Rank 0|i02eif: Template [ZBXNEXT-506] quiet mode for zabbix_sender https://support.zabbix.com/browse/ZBXNEXT-506 ZABBIX FEATURE REQUESTS <p>Would be nice to add possibility to suppress the output of the following info from the zabbix_sender utility as sometimes this output is not required:</p> <p>"Processed 1 Failed 0 Total 1 Seconds spent 0.000072"<br/> sent: 1; skipped: 0; total: 1</p> <p>Maybe add some additional option to the zabbix_sender ?</p> ZBXNEXT-506 quiet mode for zabbix_sender New Feature Request Minor Reopened Unresolved Unassigned Igor Danoshaites Wed, 8 Sep 2010 13:18:50 +0300 Sat, 2 Sep 2017 14:55:31 +0300 1.8.3 5 4 <p>other issues related to sender output :</p> <p><a href="https://support.zabbix.com/browse/ZBXNEXT-38" title="Possibility to see what values have not been sent when using zabbix_sender with option &quot;-i file.txt&quot;" class="issue-link" data-issue-key="ZBXNEXT-38">ZBXNEXT-38</a><br/> <a href="https://support.zabbix.com/browse/ZBXNEXT-246" title="Log or report failed items using zabbix_sender" class="issue-link" data-issue-key="ZBXNEXT-246"><del>ZBXNEXT-246</del></a><br/> <a href="https://support.zabbix.com/browse/ZBXNEXT-935" title="zabbix_sender output/return readability" class="issue-link" data-issue-key="ZBXNEXT-935"><del>ZBX-1827</del></a></p> <p>The attached patch adds support for quiet mode in zabbix_sender. This patch is done against the latest version from the trunk. I have tested the patch and the expected output is below:</p> <p><span class="error">&#91;root@devel /opt/xenol/trunk/src/zabbix_sender&#93;</span># ./zabbix_sender -c /opt/zabbix/etc/zabbix_agentd.conf -s www01 -k test -o $(date +%s)<br/> info from server: "Processed 0 Failed 1 Total 1 Seconds spent 0.000018"<br/> sent: 1; skipped: 0; total: 1<br/> <span class="error">&#91;root@devel /opt/xenol/trunk/src/zabbix_sender&#93;</span># ./zabbix_sender -q -c /opt/zabbix/etc/zabbix_agentd.conf -s www01 -k test -o $(date +%s)<br/> <span class="error">&#91;root@devel /opt/xenol/trunk/src/zabbix_sender&#93;</span>#</p> <p>Implemented in svn://svn.zabbix.com/branches/dev/ZBXNEXT-506</p> <p>Specification is not available. I reopen the issue.</p> <p>No way this can be merged? To LTS maybe?</p> Duplicate ZBXNEXT-1321 ZBXNEXT-3187 Development Rank 0|i0294f: Template [ZBXNEXT-2248] Change case for system.hostname https://support.zabbix.com/browse/ZBXNEXT-2248 ZABBIX FEATURE REQUESTS <p>I distribute a common agent configuration file and use 'hostnameitem=system.hostname' to set agent.hostname on each system. Our hosts (5000+) are imported and populated via configuration management but unfortunately the character casing does not always match the configuration on the servers.</p> <p>To fix this, I convert all hostnames to lower case in config management and attempted to do the same in the agent config. Unfortunately, any item key used in 'hostnameitem' must not use an external script and must use a natively support key. I have not found any in-built option for case conversion.</p> <p>Can you please consider adding a key parameter/option for case conversion?</p> ZBXNEXT-2248 Change case for system.hostname New Feature Request Minor Reopened Unresolved Unassigned Ryan Armstrong Thu, 10 Apr 2014 05:11:27 +0300 Fri, 24 Oct 2014 13:47:07 +0300 2.2.1 Agent (G) 0 1 <p>you can use system.run in hostnameitem - does that help ?<br/> in any case, seems to be a duplicate of <a href="https://support.zabbix.com/browse/ZBXNEXT-1080" title="Match agent&#39;s Hostname+FQDN with a host&#39;s DNS name for active checks" class="issue-link" data-issue-key="ZBXNEXT-1080"><del>ZBXNEXT-1080</del></a></p> <p>I neglected to clarify; this issue is most relevant on Windows, where system.run is not supported.</p> <p>I don't feel that this is a duplicate issue as <a href="https://support.zabbix.com/browse/ZBXNEXT-1080" title="Match agent&#39;s Hostname+FQDN with a host&#39;s DNS name for active checks" class="issue-link" data-issue-key="ZBXNEXT-1080"><del>ZBXNEXT-1080</del></a> relates to netbios name vs. FQDN, while either of these results are still affected by casings.</p> <p>This issue is that if the operator who built a server configured it with caps in the hostname, we have to match the casing on the Zabbix server config. Forcing both sides to upper/lower is a major convenience gain and encourages adoption from larger organisations using configuration management.</p> <p><a href="https://www.zabbix.com/documentation/2.2/manual/appendix/items/supported_by_platform" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/2.2/manual/appendix/items/supported_by_platform</a> seems to claim that system.run is supported on all platforms, though</p> <p>system.run is support on Windows yes, but there is no command available to return the hostname converted to lower case.</p> <p>I've attached a patch for Windows and Linux that accepts a new parameter, 'lc' or 'uc' to convert to lower or upper case respectively.</p> Duplicate ZBXNEXT-1080 Development Rank 0|i02tz3: Template [ZBXNEXT-1412] No way to find trigger by expression. https://support.zabbix.com/browse/ZBXNEXT-1412 ZABBIX FEATURE REQUESTS <p>I found than search trigger by expression very difficult task. By trigger.get() i can search only by number presentation(</p> {10} <p>&gt;10). trigger.exists can search by name(localhost:procload.last(0)&gt;10), but cant get triggerid, only true/false. I found undocumented function trigger.getObjects() (legacy?) which use explode_exp() and can search by name. <br/> Maybe add explode_exp() in trigger.get ? </p> ZBXNEXT-1412 No way to find trigger by expression. Change Request Minor Reopened Unresolved Unassigned gescheit Sat, 17 Mar 2012 10:51:51 +0200 Fri, 7 Sep 2012 14:41:49 +0300 API (A) 0 0 <p>I believe it should be in feature requests not here.</p> <p>let's move it then <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> Development Rank 0|i02eo7: Template [ZBXNEXT-9008] Using Operational data as LAST value. https://support.zabbix.com/browse/ZBXNEXT-9008 ZABBIX FEATURE REQUESTS <p><b>Steps to reproduce:</b></p> <ol> <li>Create any item with do not store data,</li> <li>use this value in trigger. </li> </ol> <p><b>Result:</b><br/> there will be no any actions, because there is no data.</p> <p><b>Expected:</b><br/> Use operational data as last value in trigger and the last value on dashboard last values.</p> <p>Also no need to store values in db, because i need only last values.</p> Work values ZBXNEXT-9008 Using Operational data as LAST value. Change Request Trivial Reopened Unresolved Zabbix Development Team Roman Fri, 2 Feb 2024 13:12:56 +0200 Wed, 28 Feb 2024 09:41:11 +0200 6.4.11 7.0.0beta1 Documentation (D) Proxy (P) Server (S) 0 3 <p>Please fix it in the next versions.</p> <p><a href="https://www.zabbix.com/documentation/current/en/manual/config/items/item" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/current/en/manual/config/items/item</a></p> <blockquote><p><b>Do not keep history</b> - item history is not stored. Useful for master items if only dependent items need to keep history.</p></blockquote> <p>By design. No bug here. Only inventory value will be populated with <b>Do not keep history.</b> </p> <blockquote><p>Use operational data as last value in trigger and the last value on dashboard last values.</p> <p>Also no need to store values in db, because i need only last values.</p></blockquote> <p>Moving this issue to a feature request. </p> <p>Is duplicated by</p> <p><a href="https://support.zabbix.com/browse/ZBXNEXT-9003" title="Using Operational data as LAST value." class="issue-link" data-issue-key="ZBXNEXT-9003"><del>ZBXNEXT-9003</del></a></p> <p>I'm not saying it's a bug. I suggest reducing the load and so on, if you use Operational data for the last values, then accessing the database is not required.</p> <p>I ask you to raise the priority of the task to critical.</p> Duplicate ZBXNEXT-9003 Additional Information Development Rank 0|i0heiv: Template Templated answers Training Zabbix version [ZBXNEXT-6758] Ability to create Items from Monitoring https://support.zabbix.com/browse/ZBXNEXT-6758 ZABBIX FEATURE REQUESTS <h1><a name="Summary"></a>Summary</h1> <p>Currently Zabbix UI forces users to switch from Monitoring to Configuration and back frequently in order to create new monitoring objects and check result.</p> <p>Ability to create items from Monitoring section would greatly improve usability.</p> <h1><a name="Usecases"></a>Use cases</h1> <ol> <li>I want to create new items from Monitoring→Latest data</li> <li>I do not want to be transferred to another page when creating or updating an item</li> </ol> <h1><a name="%D0%90cceptance"></a>Аcceptance</h1> <ol> <li>Item configuration form must be made modal</li> <li>New button "Create item" must be added to Monitoring→Latest data and new entry "Create item" must be added to host context menu <ol> <li>If filtered by a single host, then the host must be pre-selected in the item definition form</li> </ol> </li> <li>The new buttons must be visible only if user has sufficient permissions</li> <li>All existing links to configuration of items must lead to the new modal forms</li> </ol> ZBXNEXT-6758 Ability to create Items from Monitoring New Feature Request Trivial Reopened Unresolved Zabbix Development Team Valdis Murzins Thu, 1 Jul 2021 17:50:44 +0300 Tue, 12 Jul 2022 15:41:28 +0300 Frontend (F) 1 6 <p>Slightly related to <a href="https://support.zabbix.com/browse/ZBXNEXT-5553" title="Continue editing after clicking &quot;Update&quot;" class="issue-link" data-issue-key="ZBXNEXT-5553">ZBXNEXT-5553</a></p> Additional Information Development Rank 0|i0b6lb: Sprint Technical backlog Template Templated answers Training Zabbix version [ZBXNEXT-6621] Log timestamp issue retrieved by Zabbix Agent https://support.zabbix.com/browse/ZBXNEXT-6621 ZABBIX FEATURE REQUESTS <p>The time stamp when the log acquired by Zabbix agent is stored in the "HISTORY" is not the time stamp on the Zabbix server side, but the time stamp when it is sent from Zabbix agent.</p> <p>However, this specification has major problems.</p> <p>For security reasons, intentionally disconnect the monitored host from the network and restore communication after resolution. Then, the time stamp of the log stored in "HISTORY" of Zabbix server will be the time (past) at the time of occurrence instead of the present. As a result, it is not possible to know when the log was stored in "HISTORY" of Zabbix server.</p> <p>Also, the event displayed in "Problems" suddenly appears to have been inserted in the past rather than the occurrence of the current time. There was no description of this specification in the reference, which caused a great deal of confusion when investigating the failure.</p> <p>Since it is divided into "Timestamp" and "Local time", can we change the specifications so that the display of "Timestamp" is the time on the Zabbix server side?</p> ZBXNEXT-6621 Log timestamp issue retrieved by Zabbix Agent New Feature Request Trivial Reopened Unresolved Zabbix Support Team Yasumi Mon, 22 Mar 2021 04:29:31 +0200 Thu, 15 Apr 2021 13:58:35 +0300 5.0.9 Agent (G) Server (S) 0 2 <p>This is actually working as expected, because by design we want to have the timestamp of the event, not the timestamp of when it was stored in the server DB, as that could be much later than the event because of multiple reasons.</p> <p>I'm closing this as not a bug.</p> <p>Thanks Edgars Melveris.</p> <p>Thank you for your reply.<br/> Sure, it works as expected, but I'm hoping for a spec that adds the time stamp when the log was stored in the server DB.</p> <p>In that case this should have been feature request. I'll move it to that project.</p> Additional Information Development Rank 0|i0ak0n: Template Templated answers Training Zabbix version [ZBXNEXT-6463] Create template for EMC VNX7500 https://support.zabbix.com/browse/ZBXNEXT-6463 ZABBIX FEATURE REQUESTS <p>Create template for EMC VNX7500</p> ZBXNEXT-6463 Create template for EMC VNX7500 New Feature Request Trivial Reopened Unresolved Aleksandre Sebiskveradze Aleksandrs Larionovs Thu, 21 Jan 2021 11:40:51 +0200 Mon, 20 Jun 2022 10:57:14 +0300 Templates (T) 1 2 Additional Information Development Epic Link ZBXNEXT-6388 Rank 0|i0a7d3: Story Points 3.0 Template Templated answers Training Zabbix version [ZBXNEXT-7106] problem.get doesn't use recent like the frontend does https://support.zabbix.com/browse/ZBXNEXT-7106 ZABBIX FEATURE REQUESTS <p>When using the <b>problem.get</b> API call with <b>recent=true</b>, it functions differently from the frontend.</p> <p><b>Depenendent problems</b> are hidden in the frontend at <b>Monitoring</b> | <b>Problems</b> but they are still retrieved in the API call.</p> <p>Furthermore there is no way to hide dependent problems using <b>problem.get</b>, resulting in the API call having to be combined with <b>trigger.get</b> which has <b>skipDependent</b>.</p> <p>Solution:</p> <ul> <li>Make sure <b>problem.get</b> with the <b>recent</b> flags functions the same way that it does in the frontend</li> <li>Make sure <b>problem.get</b> has something like <b>skipDependent</b> to make sure this call supports supressing dependent items</li> </ul> ZBXNEXT-7106 problem.get doesn't use recent like the frontend does Change Request Trivial Reopened Unresolved Zabbix Support Team Nathan Liefting Mon, 6 Dec 2021 17:59:06 +0200 Wed, 8 Dec 2021 17:07:00 +0200 0 6 <p>This situation is not considered an issue or bug.<br/> Instead, it should've been classified as a feature request.</p> <p>The method <b>problem.get</b> is working as stated in it's documentation. Even though the "dependent problems" are hidden, they are actually displayed in the frontend, so it can't be considered a bug of the method.</p> <p>As stated in the description, you can use the <b>trigger.get</b> with <b>skipDependent</b> to cross informations along with <b>problem.get</b> and filter only those problems that are displayed in the frontend, not listing the "dependent problems"</p> <p>You can also enable Debug Mode in the Frontend to see what API request Zabbix sends.<br/> To enable it go to Administration -&gt; Users -&gt; Add your User to "Enable debug mode" group. <br/> In the right bottom of your browser there will be a button saying "Debug".</p> <p>So we're at the point of "bug + documentation == feature" Nice!</p> <p>@Victor</p> <p>Have to completely disagree with your premesis here, looks like someone made a design error, or simply forgot how Zabbix (frontend) functions. First of all, triggers are configuration and they aren't necessarily in a state. The trigger creates a problem, which we can use <b>problem.get</b> to get data from. Why <b>skipDependent</b> got implemented there, is a different discussion but that's not what I'm here to discuss.</p> <p>If your API would be doing exactly what the frontend is doing, then <b>recent</b> would show the same thing in the API call as it would on this frontend. Now it's an <b>issue</b>, for people as there is a difference between what you can see in one place vs the other. A product which aims to provide it's users with an experience where they shouldn't be guessing what something does in one place vs the other should focus on that. It's called cohesiveness and once we throw general cohesion out of the door simply because it's documented, then we just end up with documented anarchy don't we?</p> <p>How about we fix this cohesiveness <b>issue</b> and make things a little easier on the general Zabbix userbase instead of documenting something that is clearly flawed? <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>Nathan,</p> <p>Sorry, but from our point of view it's not a bug. This is how it was designed. Frontend works the same way, i. e. uses problem.get and trigger.get for filtering out dependent triggers.</p> <p>We understand your case but unfortunately there is no other way than moving this issue to ZBXNEXT.</p> <p>If the frontend is doing the same thing, then from the Zabbix point of view I understand where you are coming from with moving it to ZBXNEXT <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/> Thanks for that feedback, as the cohesiveness between API and what you see on the frontend is still a valid point in my opinion you can move it.</p> Duplicate ZBXNEXT-7103 Additional Information Development Rank 0|i0c2db: Template Templated answers Training Zabbix version [ZBXNEXT-6665] Oracle plugin should support native DB encryption options https://support.zabbix.com/browse/ZBXNEXT-6665 ZABBIX FEATURE REQUESTS <p>Oracle plugin should support native DB encryption options</p> ZBXNEXT-6665 Oracle plugin should support native DB encryption options New Feature Request Trivial Reopened Unresolved Zabbix Development Team Aleksandrs Larionovs Tue, 18 May 2021 10:23:55 +0300 Tue, 10 May 2022 21:54:52 +0300 Templates (T) 1 4 Sub-task ZBXNEXT-6606 Additional Information Development Rank 0|i0awjr: Template Templated answers Training Zabbix version [ZBXNEXT-4874] Long unit names must be shortened on SVG graph Y axes https://support.zabbix.com/browse/ZBXNEXT-4874 ZABBIX FEATURE REQUESTS <p>Item unit names displayed on SVG graph Y axes can be up to 255 characters long.</p> <p>It was decided to shorten long item unit names based on some predefined text length or based on space it occupies in graph (final decision must be made based on deeper research).</p> <p>Shortened unit names must be suffixed with 3 dots. Unit names must be displayed in full length in graph tooltip.</p> ZBXNEXT-4874 Long unit names must be shortened on SVG graph Y axes Change Request Trivial Reopened Unresolved Unassigned Miks Kronkalns Thu, 22 Nov 2018 14:56:12 +0200 Tue, 31 Aug 2021 20:24:21 +0300 4.0.2rc1 4.2.0alpha1 Frontend (F) 0 4 Causes ZBXNEXT-4588 Development Rank 0|i0003v:b Sprint Sprint 46, Nov 2018 Sprint 47, Dec 2018 Sprint 48, Jan 2019 Sprint 49 (Feb 2019) Sprint 50 (Mar 2019) Technical backlog Story Points 0.5 Template [ZBXNEXT-4578] Timeselector readable by screen reader https://support.zabbix.com/browse/ZBXNEXT-4578 ZABBIX FEATURE REQUESTS <p>Timeselector control should be usable by screen reader user</p> ZBXNEXT-4578 Timeselector readable by screen reader Change Request Trivial Reopened Unresolved Unassigned Alexander Shubin Wed, 30 May 2018 10:18:04 +0300 Fri, 1 Feb 2019 11:15:14 +0200 Frontend (F) 0 3 Causes ZBXNEXT-4361 Development Epic Link DEV-817 Rank 0|hzzzy7: Sprint Sprint 35 Sprint 36 Sprint 37 Sprint 38 Sprint 39 Sprint 40 Sprint 41 Sprint 42 Sprint 43 Sprint 44 Sprint 45 Story Points 1.0 Team Template [ZBXNEXT-4153] Frontend readable by screenreader https://support.zabbix.com/browse/ZBXNEXT-4153 ZABBIX FEATURE REQUESTS <p>Each important element on frontend should be readable by screenreader.<br/> Frontend elements that currently are not understandable by screenreader should have aria label with understandable explanation of element and it's state.<br/> Decorative elements should be hidden from screenreader.<br/> Elements with popups should be marked.<br/> Loading part of page should be marked.</p> ZBXNEXT-4153 Frontend readable by screenreader Change Request Trivial Reopened Unresolved Zabbix Development Team Valdis Murzins Wed, 4 Oct 2017 16:39:19 +0300 Sun, 19 Jan 2020 23:23:19 +0200 Frontend (F) 0 4 Sub-task ZBXNEXT-4154 ZBX-12816 ZBX-13283 Development Epic Link DEV-817 Flagged Rank 0|hzzzyf: Sprint Sprint 18 Sprint 19 Sprint 20 Sprint 21 Sprint 22 Sprint 23 Sprint 24 Sprint 25 Sprint 26 Sprint 27 Sprint 28 Sprint 29 Sprint 30 Sprint 31 Sprint 32 Sprint 33 Sprint 34 Sprint 35 Sprint 36 Sprint 37 Sprint 38 Sprint 39 Sprint 40 Sprint 41 Sprint 42 Sprint 43 Sprint 44 Story Points 10.0 Template [ZBXNEXT-4154] Dynamic element readability by screenreader https://support.zabbix.com/browse/ZBXNEXT-4154 ZABBIX FEATURE REQUESTS <p>Screenreaders should be able to read content that is dynamically updated without page refresh.</p> ZBXNEXT-4154 Dynamic element readability by screenreader Change Request Trivial Reopened Unresolved Zabbix Development Team Valdis Murzins Wed, 4 Oct 2017 16:42:08 +0300 Sun, 19 Jan 2020 23:18:52 +0200 Frontend (F) 0 3 Duplicate ZBXNEXT-4155 Sub-task ZBXNEXT-4153 Development Epic Link DEV-648 Rank 0|i0003s: Sprint Sprint 18 Sprint 19 Sprint 20 Sprint 21 Sprint 22 Sprint 23 Sprint 24 Sprint 25 Sprint 26 Sprint 27 Sprint 28 Sprint 29 Sprint 30 Sprint 31 Sprint 32 Sprint 33 Sprint 34 Sprint 35 Sprint 36 Sprint 37 Sprint 38 Sprint 39 Sprint 40 Sprint 41 Sprint 42 Sprint 43 Sprint 44 Sprint 45 Template [ZBXNEXT-4764] Zabbix host create / update allows duplicate interface definitions https://support.zabbix.com/browse/ZBXNEXT-4764 ZABBIX FEATURE REQUESTS <p>When creating or updating a host you can specify multiple interfaces with the same details and can cause confusion as to which interface is actually being used. This should be restricted through the api and database constraints to prevent this from occurring.</p> <p>I have attached a screen shot for your viewing.</p> ZBXNEXT-4764 Zabbix host create / update allows duplicate interface definitions New Feature Request Trivial Reopened Unresolved Zabbix Development Team James Cook Wed, 16 Aug 2017 11:21:38 +0300 Tue, 9 Oct 2018 11:19:15 +0300 3.4.14 4.0.0rc1 API (A) Frontend (F) 0 3 <p>Screen shot missed. </p> <p>I have attached the screen shot of the example</p> <p>With ability to save 2 identical interfaces we are covering following use case:<br/> Host have one agent, that can be accessed by internal IP and by external IP. Normally you are collecting data from both interfaces. But at some moments, you may want to switch all host items to same interface (for example for the time of maintenance). In this case you can make interfaces same for this time, and then change them back without much work.</p> <p>But you are right, that it may be hard to distinguish identical interfaces in item configuration. So I would suggest to keep this task, but with purpose to make even identical interfaces distinguishable.</p> Development Rank 0|i05bz3: Template [ZBXNEXT-8847] IPv6 host name is incorrect https://support.zabbix.com/browse/ZBXNEXT-8847 ZABBIX FEATURE REQUESTS <p><b>Steps to reproduce:</b></p> <p>Try to add host with IPv6 name, like <b>0000:0000:0000:0000:0000:0000:0000:0001</b> or <b>::1</b></p> <p><b>Result:</b><br/> <span class="image-wrap" style=""><img src="https://support.zabbix.com/secure/attachment/211352/211352_image-2023-07-17-16-19-41-099.png" style="border: 0px solid black" /></span></p> ZBXNEXT-8847 IPv6 host name is incorrect Change Request Trivial Reopened Unresolved Unassigned Evgeny Semerikov Mon, 17 Jul 2023 16:20:11 +0300 Wed, 22 Nov 2023 18:04:40 +0200 6.4.7 0 3 <p>Also same problem occurs for proxies (because proxy name = hostname):</p> <p><span class="image-wrap" style=""><img src="https://support.zabbix.com/secure/attachment/211781/211781_image-2023-07-19-23-54-56-101.png" style="border: 0px solid black" /></span></p> <p>Hello Evgeny!</p> <p>Thank you for the report, but this is not a bug, as colons are not allowed in hostnames, and that is also written in the documentation: <br/> <span class="image-wrap" style=""><a id="222519_thumb" href="https://support.zabbix.com/secure/attachment/222519/222519_screenshot.png" title="screenshot.png" file-preview-type="image" file-preview-id="222519" file-preview-title="screenshot.png"><img src="https://support.zabbix.com/secure/thumbnail/222519/_thumb_222519.png" style="border: 0px solid black" role="presentation"/></a></span> </p> <p>I do understand your point, however - that you would like to create hosts with the IP address as the name, therefore this could be created as a ZBXNEXT issue.</p> <p>Closing this issue.</p> <p>Cheers,<br/> Tom</p> <p>Moved to ZBXNEXT</p> Additional Information Development Rank 0|i0fuwn: Template Templated answers Training Zabbix version [ZBXNEXT-8846] Users > Authentication > LDAP Server (User groups) https://support.zabbix.com/browse/ZBXNEXT-8846 ZABBIX FEATURE REQUESTS <p><b>Steps to reproduce:</b></p> <ol> <li>Go to "Users &gt; Authentication &gt; LDAP Server (User groups)"</li> <li>Add few groups in "User group mapping".</li> <li>See random order.</li> </ol> <p><b>Result:</b><br/> Groups unsorted.<br/> <b>Expected:</b><br/> Groups sorted by name.</p> ZBXNEXT-8846 Users > Authentication > LDAP Server (User groups) Change Request Trivial Reopened Unresolved Zabbix Development Team Evgeny Semerikov Mon, 20 Nov 2023 22:28:51 +0200 Wed, 22 Nov 2023 17:53:15 +0200 6.4.7 Frontend (F) 0 2 <p>Hello Evgeny!</p> <p>Why is this expected behaviour ? <br/> I looked through documentation and didn't see a mention that these groups should be sorted by name. As far as I checked, the groups are in the order that you created them. </p> <p>Cheers,<br/> Tom</p> <p>This is expected behaviour because this is userfriendly. May be developers can add simple "ORDER BY" in SQL?</p> <p>Sure, I cannot disagree with that, but then it needs to be created as a ZBXNEXT, instead of a ZBX. </p> <p>Please create a ZBXNEXT for the ordering in group names. <br/> Closing this ticket.</p> <p>I'm moved this to ZBXNEXT.</p> Additional Information Development Rank 0|i0gsxb: Template Templated answers Training Zabbix version [ZBXNEXT-8770] Integration with min.io https://support.zabbix.com/browse/ZBXNEXT-8770 ZABBIX FEATURE REQUESTS <p>Integration with min.io</p> ZBXNEXT-8770 Integration with min.io Change Request Trivial Reopened Unresolved Aleksandre Sebiskveradze Aleksandre Sebiskveradze Thu, 19 Oct 2023 12:57:49 +0300 Fri, 23 Feb 2024 23:24:35 +0200 Templates (T) 0 4 Additional Information Development Rank 0|i0gl3j: Story Points 1.1 Team Template Templated answers Training Zabbix version [ZBXNEXT-8530] Housekeeping time units https://support.zabbix.com/browse/ZBXNEXT-8530 ZABBIX FEATURE REQUESTS <p><b>Steps to reproduce:</b></p> <ol> <li>Go to Administration &gt; Housekeeping</li> <li>Set some parameter to 3y</li> <li>Get error "Incorrect value for field "hk_events_trigger": a time unit is expected."</li> </ol> <p><b>Result:</b><br/> <span class="image-wrap" style=""><img src="https://support.zabbix.com/secure/attachment/208874/208874_image-2023-06-22-19-22-10-031.png" style="border: 0px solid black" /></span></p> ZBXNEXT-8530 Housekeeping time units Change Request Trivial Reopened Unresolved Unassigned Evgeny Semerikov Thu, 22 Jun 2023 19:23:27 +0300 Tue, 27 Jun 2023 10:51:39 +0300 6.4.3 Frontend (F) Server (S) 0 2 <p>PS: also if I set value to 36m, then I get following error: "Incorrect value for field "hk_events_trigger": value must be one of 86400-788400000.", but 788400000 = 25 years.</p> <p>Hello Evgeny,</p> <p>Please read the documentation: </p> <p><a href="https://www.zabbix.com/documentation/current/en/manual/web_interface/frontend_sections/administration/housekeeping" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/current/en/manual/web_interface/frontend_sections/administration/housekeeping</a></p> <blockquote><p>Time suffixes are supported in the period fields, e.g. 1d (one day), 1w (one week). The minimum is 1 day (1 hour for history), the maximum - 25 years.</p></blockquote> <p><a href="https://www.zabbix.com/documentation/current/en/manual/appendix/suffixes" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/current/en/manual/appendix/suffixes</a></p> <blockquote><p>s - seconds (when used, works the same as the raw value)<br/> m - minutes<br/> h - hours<br/> d - days<br/> w - weeks<br/> M - months (trend functions only)<br/> y - years (trend functions only)</p></blockquote> <p>Closing as Won't fix. </p> <p>Regards,<br/> Edgar</p> <p>Hello, Edgar!</p> <p>May be move this to new feature request?</p> Additional Information Development Rank 0|i0fppb: Template Templated answers Training Zabbix version [ZBXNEXT-8513] trigger.get API: macros do not expand in the trigger URL https://support.zabbix.com/browse/ZBXNEXT-8513 ZABBIX FEATURE REQUESTS <p><b>Request:</b></p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> {     <span class="code-quote">"jsonrpc"</span>: <span class="code-quote">"2.0"</span>,     <span class="code-quote">"method"</span>: <span class="code-quote">"trigger.get"</span>,     <span class="code-quote">"params"</span>: {         <span class="code-quote">"triggerids"</span>: <span class="code-quote">"1808353"</span>,         <span class="code-quote">"output"</span>: [             <span class="code-quote">"url"</span>         ]     },     <span class="code-quote">"id"</span>: 1 } </pre> </div></div> <p><b>Response:</b></p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> {     <span class="code-quote">"jsonrpc"</span>: <span class="code-quote">"2.0"</span>,     <span class="code-quote">"result"</span>: [         {             <span class="code-quote">"triggerid"</span>: <span class="code-quote">"1808353"</span>,             <span class="code-quote">"url"</span>: <span class="code-quote">"{$CONFLUENCE_URL}"</span>         }     ],     <span class="code-quote">"id"</span>: 1 } </pre> </div></div> <p><b>Expected:</b><br/> In the UI on the Problem page the macros in the trigger url expand well, the API should have the same behaviour, either by default or with an additional option (like expandURL) that for some unknown reason wasn't created/was missed, although similar ones are present for the trigger name, description and expression.</p> ZBXNEXT-8513 trigger.get API: macros do not expand in the trigger URL Change Request Trivial Reopened Unresolved Zabbix Support Team Yurii Polenok Fri, 16 Jun 2023 13:15:54 +0300 Mon, 19 Jun 2023 13:07:39 +0300 6.4.3 API (A) 1 2 <p>Hi,<br/> you are right that there is no parameter to change the output, but it can't be defined as a bug as it is by design. I will go to close this one. You can create ZBXNEXT request with your vision on how it should be.</p> <p>Regards, Elina</p> Additional Information Development Rank 0|i0fnyn: Template Templated answers Training Zabbix version [ZBXNEXT-8494] Add ability to get HTTP agent error codes inside trigger expression https://support.zabbix.com/browse/ZBXNEXT-8494 ZABBIX FEATURE REQUESTS <p>I'm create a HTTP agent item and get confused.</p> <p>If item get wrong status code (like 500), then item goes to unsupported state, this is normal, but how I can get this to create trigger?</p> ZBXNEXT-8494 Add ability to get HTTP agent error codes inside trigger expression Change Request Trivial Reopened Unresolved Unassigned Evgeny Semerikov Wed, 7 Jun 2023 22:05:37 +0300 Sun, 11 Jun 2023 19:06:10 +0300 6.4.3 Frontend (F) Proxy (P) Server (S) 0 3 <p>HTTP Agent item is for endpoint monitoring, not the HTTP response code, so it looks like it works as designed.</p> <p>Please be advised that this section of the tracker is for bug reports only. The case you have submitted can not be qualified as one, so please reach out to sales@zabbix.com for commercial support (<a href="https://zabbix.com/support" class="external-link" target="_blank" rel="nofollow noopener">https://zabbix.com/support</a>) or consultancy services. Alternatively, you can also use our IRC channel or community forum (<a href="https://www.zabbix.com/forum" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/forum</a>) for assistance. With that said, we are closing this ticket. Thank you for understanding. </p> <p>Serious?</p> <p><span class="image-wrap" style=""><a id="207212_thumb" href="https://support.zabbix.com/secure/attachment/207212/207212_image-2023-06-08-09-40-40-902.png" title="image-2023-06-08-09-40-40-902.png" file-preview-type="image" file-preview-id="207212" file-preview-title="image-2023-06-08-09-40-40-902.png"><img src="https://support.zabbix.com/secure/thumbnail/207212/_thumb_207212.png" style="border: 0px solid black" role="presentation"/></a></span></p> <p>List of expected HTTP status codes. If Zabbix gets a code which is not in the list, the item will become unsupported. If empty, no check is performed.<br/> <a href="https://www.zabbix.com/documentation/6.4/en/manual/config/items/itemtypes/http?hl=HTTP%2Cagent" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/6.4/en/manual/config/items/itemtypes/http?hl=HTTP%2Cagent</a></p> Additional Information Development Rank 0|i0fl5r: Template Templated answers Training Zabbix version [ZBXNEXT-5927] Using built-in macros in JavaScript and regular expression preprocessing https://support.zabbix.com/browse/ZBXNEXT-5927 ZABBIX FEATURE REQUESTS <p>Hi,<br/> Could you please make the <a href="https://www.zabbix.com/documentation/current/manual/appendix/macros/supported_by_location" class="external-link" target="_blank" rel="nofollow noopener">built-in macros</a> available for use in preprocessing steps ?</p> <p>For example, it would be nice to use {<tt>HOST.HOST</tt>} in regular expression preprocessing,<br/> but it would be nice if I could use it also in JavaScript preprocessing calling<br/> a method of a class <tt>ZabbixMacro</tt> like the following:</p> <p> <tt>var hostname = ZabbixMacro.get("{HOST.HOST}");</tt></p> <p> One use case where I encountered this limitation is the following:<br/> I'd like to use Javascript preprocessing to do some GET requests to an API.<br/> This API has the same domain name as the hostname configured on Zabbix,<br/> so I'd like to be able to do a <tt>CurlHttpRequest.Get()</tt> to it using the value<br/> of the {<tt>HOST.HOST</tt>} macro.<br/> I'm aware that this macro can be used in the URL field of the HTTP Agent check Item, but going through this path will force me to create a ton of other items in order to achieve my goal, it would be definitely cleaner to throw everything inside a Javascript preprocessing step.</p> ZBXNEXT-5927 Using built-in macros in JavaScript and regular expression preprocessing New Feature Request Trivial Reopened Unresolved Zabbix Support Team Stefano Enrico Mendola Thu, 30 Apr 2020 11:54:24 +0300 Tue, 9 Jan 2024 05:07:03 +0200 4.4.8 Server (S) 31 24 <p>At the moment, the workaround I'm using is:</p> <p>&gt;adding a User Macro to the host template<br/> &gt;change the value to the final host<br/> &gt;prepending the user macro value to the item value using a regexp preprocessing step<br/> &gt;passing the regexp output to the JavaScript function</p> <p>Re-opening as it appeared to not be duplicate. This issue is specifically about built-in macros.</p> <p>Usermacros support was added in <a href="https://support.zabbix.com/browse/ZBXNEXT-5185" title="JavaScript preprocessing user macros support" class="issue-link" data-issue-key="ZBXNEXT-5185"><del>ZBXNEXT-5185</del></a>.</p> <p>FYI, there is no term "supported macros". On this page <a href="https://www.zabbix.com/documentation/current/manual/appendix/macros/supported_by_location" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/current/manual/appendix/macros/supported_by_location</a> the supported means "what we support out-of-the box". Sometimes we call them "built-in".</p> <p>Hi @dimir, thanks for the clarification and for re-opening this issue.</p> <p>Wouldn't it be nice to let the community know about this nomenclature?<br/> Maybe changing the title of the "Supported macros" manual page to "Built-in supported macros" ?</p> <p>Should I open a separated documentation issue for this?</p> <p>Cheers</p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=martins-v" class="user-hover" rel="martins-v">martins-v</a> what do you think?</p> <p>News about this feature on Zabbix v.5.2?</p> <p>Thanks</p> <p>Just want to throw our use-case into the mix as well:</p> <p>I would really like to be able to know the hostname from within a low-level discovery rule. Being able to use it within a Javascript pre-processing step in an LLD rule would give me the ability to assign it to an LLD Macro, and then reference that macro in Filters and Overrides. This would allow me to write one template that acts differently depending on whether the host is a production host or a dev host.</p> <p><b>Example:</b>   <br/> Goal:   </p> <ul> <li>Monitor disk space on all servers, but only notify on low space if host is a production server (not Dev or DR)</li> </ul> <p>Steps:</p> <ul> <li>LLD rule has a Javascript pre-processing step that adds HOST.NAME as an additional LLD macro called #HOSTNAME to each discovery record.</li> <li>Trigger Prototype has a Tag called Team with the empty string as default value.</li> <li>LLD rule defines an override that compares #HOSTNAME against regex. If matches, then Team tag value is populated with "SysAdmin".</li> <li>A <em>Trigger action</em> is used to notify when the above Trigger produces a problem, but <b>only if value of tag Team = "SysAdmin"</b>. This is done by simply using a Trigger Action condition.</li> </ul> <p>(Outside the scope of this request, but best case scenario (easiest) would be if I could use HOST.NAME directly on the "left-side" of a <em>Filter</em> or <em>Override</em> condition within a LLD rule, instead of first having to assign the "built-in" macro to an LLD macro, and then reference the LLD macro.)</p> <p>I have the same issue when using lld for host prototypes, want to use built-in macros (like: {HOST.CONN}) in JavaScript preprocessing.</p> <p>Another way, is it possible to set a user macro value with built-in macro? For example, {$XXX_CFG_HOST}: {HOST.CONN}, but that doesn't work either.</p> <p>I have run into this limitation trying to use {HOST.NAME} macro within a JSONPath call in preprocessing.</p> <p>+1 Vote for this.</p> Duplicate Additional Information Development Rank 0|i08tp3: Template Templated answers Training Zabbix version [ZBXNEXT-6078] 504 error in last data after update to 5.0.2 https://support.zabbix.com/browse/ZBXNEXT-6078 ZABBIX FEATURE REQUESTS <p>After upgrading zabbix to version 5.0.2, I can't go to the "Latest data" section. Error 504 Gateway Time-out Occurs</p> ZBXNEXT-6078 504 error in last data after update to 5.0.2 Change Request Trivial Reopened Unresolved Zabbix Support Team SerhiiZ Mon, 20 Jul 2020 14:05:52 +0300 Sat, 22 May 2021 08:20:26 +0300 0 2 <p><span class="error">&#91;root@CEHU-ZabbixServer &#93;</span># rpm -qa | grep zabbix<br/> zabbix-release-5.0-1.el7.noarch<br/> zabbix-web-5.0.2-1.el7.noarch<br/> zabbix-agent-5.0.2-1.el7.x86_64<br/> zabbix-web-pgsql-scl-5.0.2-1.el7.noarch<br/> zabbix-server-pgsql-5.0.2-1.el7.x86_64<br/> zabbix-web-deps-scl-5.0.2-1.el7.noarch<br/> zabbix-nginx-conf-scl-5.0.2-1.el7.noarch<br/> zabbix-get-5.0.2-1.el7.x86_64</p> <p>there are no errors in the logs</p> <p> </p> <p><span class="error">&#91;root@CEHU-ZabbixServer &#93;</span># free -h<br/> total used free shared buff/cache available<br/> Mem: 13G 1.7G 163M 1.1G 11G 10G<br/> Swap: 2.0G 0B 2.0G</p> <p> </p> <p><span class="image-wrap" style=""><img src="https://support.zabbix.com/secure/attachment/110344/110344_image-2020-07-20-14-08-43-646.png" style="border: 0px solid black" /></span></p> <p>Duplicate of <a href="https://support.zabbix.com/browse/ZBX-18071" title="&#39;Latest data&#39; timeout via Monitoring &gt; Hosts" class="issue-link" data-issue-key="ZBX-18071"><del>ZBX-18071</del></a> ?</p> <p>After updating to 5.4.0 - the problem still exists.</p> Additional Information Development Rank 0|i097fr: Template Templated answers Training Zabbix version [ZBXNEXT-3552] Correlation of Events based on location or group https://support.zabbix.com/browse/ZBXNEXT-3552 ZABBIX FEATURE REQUESTS <p>Hi,</p> <p>Is there any fusibility to correlate similar kind of events based on location or group.</p> <p>Suppose, there is a Network failure in one region &amp; getting several Device Down alerts. But without raising multiple Device Down alerts, only a correlated alert (having info about all affected nodes) can be triggered.</p> <p>Thanks.</p> CentOS 7.1 <br/> Zabbix 3.0.4 <br/> VMWare Workstation 11 ZBXNEXT-3552 Correlation of Events based on location or group New Feature Request Trivial Reopened Unresolved Unassigned Saumyajit Pramanik Tue, 15 Nov 2016 08:54:58 +0200 Sat, 4 Feb 2017 22:28:39 +0200 3.0.4 Documentation (D) Templates (T) 0 1 <p>Considering that this ZBXNEXT starts with a question, it looks more like a support request. For that, please refer to <a href="https://www.zabbix.org/wiki/Getting_help" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.org/wiki/Getting_help</a> .</p> <p>If there is any specific feature you would like to see in Zabbix, please reopen.</p> <p>Need a feature to correlate similar kind of events based on location or group</p> Development Rank 0|i04pxb: Template [ZBXNEXT-3053] Multiple authentication backends https://support.zabbix.com/browse/ZBXNEXT-3053 ZABBIX FEATURE REQUESTS <p>Please add support for multiple authentication backend (i.e. multiple LDAP, Internal/LDAP, etc..).</p> ZBXNEXT-3053 Multiple authentication backends Change Request Trivial Reopened Unresolved Unassigned Alessandro Sgolacchia Wed, 25 Nov 2015 17:22:36 +0200 Thu, 28 Apr 2022 17:46:13 +0300 3.0.0alpha3 Frontend (F) 6 7 <p>let's close this as a duplicate of <a href="https://support.zabbix.com/browse/ZBXNEXT-407" title="Fallback login option for LDAP" class="issue-link" data-issue-key="ZBXNEXT-407">ZBXNEXT-407</a> - you might want to mention multiple ldap backends in there</p> <p>That's not the same. The <a href="https://support.zabbix.com/browse/ZBXNEXT-407" class="external-link" rel="nofollow">https://support.zabbix.com/browse/ZBXNEXT-407</a> is about fallback. This is about multiple backend auth systems.</p> <p>That's not the same. The <a href="https://support.zabbix.com/browse/ZBXNEXT-407" class="external-link" rel="nofollow">https://support.zabbix.com/browse/ZBXNEXT-407</a> is about fallback. This is about multiple backend auth systems.</p> <p>Please, implement this functionality. We are forced to run VRRP between our LDAP server to compensate.</p> <p>Multiple LDAP servers support will be added in <a href="https://support.zabbix.com/browse/ZBXNEXT-2289" title="Multiple LDAP sources to authenticate frontend users" class="issue-link" data-issue-key="ZBXNEXT-2289"><del>ZBXNEXT-2289</del></a>.</p> Duplicate ZBXNEXT-407 Development Rank 0|i03xwv: Template [ZBXNEXT-3661] Support of RestAPI or JSON RPC as back-end transport for history database https://support.zabbix.com/browse/ZBXNEXT-3661 ZABBIX FEATURE REQUESTS <p>This functionality would allow great flexibility of creating various prototypes and production-ready solutions related to storage of history in various DB engines, also load balancing, sharding, HA solutions, etc.</p> ZBXNEXT-3661 Support of RestAPI or JSON RPC as back-end transport for history database New Feature Request Trivial Reopened Unresolved Vladislavs Sokurenko Alexei Vladishev Thu, 19 Jan 2017 12:45:20 +0200 Mon, 25 Feb 2019 12:13:50 +0200 18 28 <p>Can you elaborate on what this is about? Is it supposed to become an alternative to History export modules, an additional interface in order to access history from other DBMS, e.g. from sites where an Export module previously send data to? If so, is it Zabbix frontend or Zabbix server related, or even both?</p> <p>@marc: see <a href="https://support.zabbix.com/browse/ZBXNEXT-714" title="need scalable alternative for the history and items tables" class="issue-link" data-issue-key="ZBXNEXT-714">ZBXNEXT-714</a><br/> Basically to put history data into timeseries backends, automatically clustered and sharded, and providing many magnitudes faster replies than RDBMS.</p> <p>From your answer it's unfortunately still not very clear to me. Although I'm well aware of <a href="https://support.zabbix.com/browse/ZBXNEXT-714" title="need scalable alternative for the history and items tables" class="issue-link" data-issue-key="ZBXNEXT-714">ZBXNEXT-714</a> and its relatives.<br/> Do I guess correctly, when presuming this is indeed about an "alternative storage backend", that's to say an optional replacement, for history data, with bi-directional access (write/read)?</p> <p>Yes, history and trends.</p> <p>Created sub task for PoC - <a href="https://support.zabbix.com/browse/ZBXNEXT-3877" title="Implement history service calls in server (PoC for Generic Rest API)" class="issue-link" data-issue-key="ZBXNEXT-3877"><del>ZBXNEXT-3877</del></a> in 3.4 release. <br/> In releaee 4.0 we will continue work on <a href="https://support.zabbix.com/browse/ZBXNEXT-3661" title="Support of RestAPI or JSON RPC as back-end transport for history database" class="issue-link" data-issue-key="ZBXNEXT-3661">ZBXNEXT-3661</a> by </p> <ul class="alternate" type="square"> <li><a href="https://support.zabbix.com/browse/ZBXNEXT-3929" title="Fork Frontend persistence to history service Rest API (PoC for Elastic)" class="issue-link" data-issue-key="ZBXNEXT-3929"><del>ZBXNEXT-3929</del></a> - switching all frontend calls to new history service API.</li> <li>extending set of history service implementations for various data sources.</li> <li>improving performance</li> </ul> Causes ZBXNEXT-4417 Sub-task ZBXNEXT-714 Development Rank 0|i004xz: Sprint Sprint 2 Sprint 3 Sprint 4 Sprint 5 Sprint 6 Sprint 7 Sprint 8 Team Template [ZBXNEXT-3543] Compose "Network discovery" section of "HowTos" https://support.zabbix.com/browse/ZBXNEXT-3543 ZABBIX FEATURE REQUESTS <p>Compose <a href="https://www.zabbix.com/documentation/3.4/manual/howtos/network_discovery" class="external-link" target="_blank" rel="nofollow noopener">Network discovery</a> section of <a href="https://www.zabbix.com/documentation/3.4/manual/howtos" class="external-link" target="_blank" rel="nofollow noopener">HowTos</a> with the following pages:</p> <ul> <li>How to auto-register an agent device</li> <li>How to discover a file system</li> <li>How to discover a Linux server</li> <li>How to discover a network interface</li> <li>How to discover an SNMP device</li> <li>How to discover a Windows service</li> <li>How to discover SNMP OIDs</li> </ul> <p>providing quick manuals and solutions for the objectives stated in the headers. </p> ZBXNEXT-3543 Compose "Network discovery" section of "HowTos" Change Request Trivial Reopened Unresolved Unassigned Vladimir Silin Fri, 11 Nov 2016 10:43:58 +0200 Sun, 20 Oct 2019 14:05:51 +0300 Documentation (D) 0 2 <p>Ready for review.</p> Development Epic Link ZBXNEXT-3531 Rank 0|i000rb: Sprint Sprint 1 Sprint 22 Story Points 7.0 Template [ZBXNEXT-1552] smb/cifs share monitoring https://support.zabbix.com/browse/ZBXNEXT-1552 ZABBIX FEATURE REQUESTS <p>I would like to monitor if a shared folder on the server is available. Web Monitoring was trying, through the URL: file :/ / &lt;server-name&gt; / &lt;folder-name&gt;, but the result is the error message: "could not read a file :/ / file". There is another way to do this?</p> zabbix instaled in CentOS Server, monitoring Windows 2008 Server ZBXNEXT-1552 smb/cifs share monitoring Change Request Trivial Reopened Unresolved Unassigned diana vasconcelos Wed, 26 Dec 2012 15:39:20 +0200 Wed, 31 May 2017 11:36:50 +0300 2.0.2 2 3 <p>Please stay on topic. What feature request you'd like to report here?</p> <p>this does not sound like related to web monitoring, but monitoring of smb/cifs shares</p> <p>Excuse me for not knowing how to correctly specify my difficulty, but I need to monitor on a Windows 2008 server a share \ \ &lt;name server&gt; \ &lt;folder-name&gt; is active or is accessible. There are how to do this in Zabbix, or need a new feature?</p> <p>How monitoring of smb/cifs shares for Windows????</p> <p>Thank you for your attention but I got the result they wanted through a UserParameter configured Zabbix server to test assembly of the sharing occurs successfully.</p> <p>let's clarify &amp; keep it</p> Development Rank 0|i02epz: Template [ZBXNEXT-6482] Signal webhook https://support.zabbix.com/browse/ZBXNEXT-6482 ZABBIX FEATURE REQUESTS <p>Create webhook for Signal messenger. <br/> <a href="https://signal.org/en/" class="external-link" target="_blank" rel="nofollow noopener">https://signal.org/en/</a></p> ZBXNEXT-6482 Signal webhook New Feature Request Trivial Reopened Unresolved Zabbix Support Team Aleksandrs Larionovs Mon, 1 Feb 2021 12:18:08 +0200 Fri, 23 Feb 2024 10:21:12 +0200 5.0.9rc1 5.2.5rc1 5.4.0alpha2 Templates (T) 3 8 <p>Looks like this has been added to the roadmap now anyway?<br/> <a href="https://www.zabbix.com/roadmap" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/roadmap</a></p> <p> </p> <p><span class="image-wrap" style=""><img src="https://support.zabbix.com/secure/attachment/130300/130300_image-2021-03-30-11-13-19-639.png" height="291" width="549" style="border: 0px solid black" /></span></p> <p>I don't understand the status of this request.</p> <p>It's "Declined", "Closed", has "fixed Versions", stands on the "roadmap" and ist not in the GIT repo.</p> <p>So is it now?</p> <ol> <li>Planed</li> <li>Declined</li> <li>Fixed</li> <li>NULL</li> </ol> <p>Schroedinger's issue?</p> <p>Marco has a point, though. Something's obviously wrong with this issue.</p> <p><br/> The task has been declined due to internal reasons. The appearance on the roadmap and whats new page was a mistake, and should be resolved soon.</p> <p>Why declined? </p> <p>Looks like back then there was some functionality in Zabbix missing, like encryption mechanisms. Could be now it's not the case anymore. Will see if I can get it some attention.</p> <p>The typical flow here would be to implement the required crypto functions (AES-GCM-SIV, etc) for the Zabbix JS engine and then this ticket could be implemented by the integration team.</p> <p>Currently, this ticket is still being blocked.</p> Additional Information Development Rank 0|i0a9g7: Team Template Templated answers Training Zabbix version [ZBXNEXT-4487] Trigger Event Actions Conditions Based on host inventory https://support.zabbix.com/browse/ZBXNEXT-4487 ZABBIX FEATURE REQUESTS <p>We would appreciate if you could add an a new condition in triggered based notification to filter by host inventory. </p> <p>Regards, Nadir.</p> ZBXNEXT-4487 Trigger Event Actions Conditions Based on host inventory New Feature Request Trivial Reopened Unresolved Unassigned Nadir Albajari Tue, 10 Apr 2018 13:07:42 +0300 Tue, 10 Apr 2018 14:36:27 +0300 Server (S) 0 2 <p>Sorry, I found the solution</p> <p>sorry my fault, still not working</p> Development Rank 0|i05wwf: Template [ZBXNEXT-3697] Dynamic list of loadable module items https://support.zabbix.com/browse/ZBXNEXT-3697 ZABBIX FEATURE REQUESTS <p>When loading a module, zbx_module_item_list() is called to populate the keys -&gt; functions list.</p> <p><del>I believe the documentation specifies that this function is optional; it doesn't appear to be so. (Sorry: I forget exactly where I read that.)</del></p> <p><del>The documentation should state that the list returned by this function is static &#8211; it cannot be altered during lifetime of the loaded module.</del></p> <p>What I am looking for is a method to extend that list. I'd like to have new keys added (which point to an existing function in the dynamic module of course) in order to provide new items.</p> ZBXNEXT-3697 Dynamic list of loadable module items Change Request Trivial Reopened Unresolved Unassigned Jan-Piet Mens Sun, 18 May 2014 15:56:38 +0300 Thu, 16 Feb 2017 12:00:29 +0200 Agent (G) Proxy (P) Server (S) 0 4 <p>See <b>(11)</b> of <a href="https://support.zabbix.com/browse/ZBXNEXT-3353" title="Module for sending history data" class="issue-link" data-issue-key="ZBXNEXT-3353"><del>ZBXNEXT-3353</del></a>. In short - for API version 2 all module functions except zbx_module_api_version() will be optional.</p> <p>Apart from documentation this ticket asks for item list to be dynamic. I' suggest to update documentation as a part of <a href="https://support.zabbix.com/browse/ZBX-11058" title="zbx_module_item_list() is mandatory in loadable module interface" class="issue-link" data-issue-key="ZBX-11058"><del>ZBX-11058</del></a> and move this ticket into ZBXNEXT project as a request for dynamic item list.</p> Duplicate ZBXNEXT-3353 ZBX-11058 Development Rank 0|i04upz: Team Template [ZBXNEXT-4370] Improve handling of special characters in quoted parameters of JMX item keys https://support.zabbix.com/browse/ZBXNEXT-4370 ZABBIX FEATURE REQUESTS <p>Currently we force users to escape special characters (e. g. backslashes) in JMX item keys parameters:</p> <p><a href="https://www.zabbix.com/documentation/4.0/manual/config/items/itemtypes/jmx_monitoring#other_issues" class="external-link" target="_blank" rel="nofollow noopener">https://www.zabbix.com/documentation/4.0/manual/config/items/itemtypes/jmx_monitoring#other_issues</a></p> <p>This could be done by Zabbix automatically the same way it works with other item types, not forcing user to think about escaping at all.</p> <p>In addition, number of escape characters in key parameters and error message can be different (2nd parameter, attributeName "invalid\attributeName" in example below) , which is confusing:</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>MBean objectName: com.example:Type=Hello attribute: invalid\attributeName item key: jmx[com.example:Type=Hello,"invalid\\attributeName"] error message: getAttribute failed: ModelMBeanAttributeInfo not found for invalid\attributeName </pre> </div></div> <p>Note that the error message is not so user-friendly also. So, the expected result could be like the following (with error message fixed):</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>MBean objectName: com.example:Type=Hello attribute: invalid\attributeName item key: jmx[com.example:Type=Hello,"invalid\attributeName"] error message: MBean "com.example:Type=Hello" does not have attribute "invalid\attributeName" </pre> </div></div> <p>The idea came from <del><a href="https://support.zabbix.com/browse/ZBX-13294" title="escaping backslashes and quoting spaces in JMX keys described not very correctly" class="issue-link" data-issue-key="ZBX-13294"><del>ZBX-13294</del></a></del>.</p> ZBXNEXT-4370 Improve handling of special characters in quoted parameters of JMX item keys Change Request Trivial Reopened Unresolved Unassigned dimir Fri, 2 Feb 2018 11:56:50 +0200 Wed, 12 Sep 2018 09:12:58 +0300 Java gateway (J) 0 5 <p>After fixing this issue the documentation mentioned in description should be updated.</p> <p>The following example demonstrates that it is impossible to monitor Java object attribute with double-backslash in the name, without additional escaping.</p> <p>I have Java application with JMX support enabled with the following object and its attribute:<br/> objectName:</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>com.example:type=Hello </pre> </div></div> <p>attributeName:</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>double\\backslash </pre> </div></div> <p>I add it to Zabbix using frontend, as the following JMX key:</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>jmx[com.example:type=Hello,double\\backslash] </pre> </div></div> <p>After some time the item becomes unsupported with the following error message:</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>getAttribute failed: ModelMBeanAttributeInfo not found for double\backslash </pre> </div></div> <p><font color="#d04437">Note the single backslash in the error message!</font></p> <p>In the database it's exactly as I was adding it</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> MariaDB [trunk]&gt; select name,key_ from items where key_ like <span class="code-quote">'jmx%Hello%<span class="code-object">double</span>%'</span>; +----------+---------------------------------------------------+ | name | key_ | +----------+---------------------------------------------------+ | jmx $2 | jmx[com.example:type=Hello,<span class="code-object">double</span>\\backslash] | +----------+---------------------------------------------------+ </pre> </div></div> <p>If I double-quote the attributeName, it won't help. It only helps if I escape every backslash in it, resulting with 4 backlashes. See the following screenshot of combinations of unescaped/escaped quoted/unquoted examples:</p> <p>  <span class="image-wrap" style=""><a id="64458_thumb" href="https://support.zabbix.com/secure/attachment/64458/64458_jmx-double-backslashes.png" title="jmx-double-backslashes.png" file-preview-type="image" file-preview-id="64458" file-preview-title="jmx-double-backslashes.png"><img src="https://support.zabbix.com/secure/thumbnail/64458/_thumb_64458.png" style="border: 0px solid black" role="presentation"/></a></span></p> <p>Just a note, this is not about escaping dots, the dots in attributes have special meaning - separator. So if there are dots in the attribute name used not as a separator - they must be escaped manually. Besides, we do not escape dots in other items.</p> <p>This was added in:<br/> <a href="https://support.zabbix.com/browse/ZBX-4663" title="JMX monitoring doesn&#39;t work for MBeans with attributes which names contain dots" class="issue-link" data-issue-key="ZBX-4663"><del>ZBX-4663</del></a></p> <p>Right. I got your point. One solution could be to use every member of composite data as separate item parameter:</p> <p><tt>jmx<span class="error">&#91;com.example:type=Hello,world&#93;</span></tt><br/> <tt>jmx<span class="error">&#91;com.example:type=Hello,cars,bmw&#93;</span></tt><br/> <tt>jmx<span class="error">&#91;com.example:type=Hello,the.fruits,apple&#93;</span></tt></p> <p>The first parameter is MBean object name, second is attribute name, in case attribute contains composite data - all other parameters are it's members. I don't remember why we did not follow this idea, there was something making it complicated.</p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=vso" class="user-hover" rel="vso">vso</a> yes, I think it was already discussed <a href="https://support.zabbix.com/browse/ZBX-4663?focusedCommentId=65940&amp;page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-65940" class="external-link" rel="nofollow">here</a><br/> Unfortunately it will not allow us to add more parameters to item key in the future.<br/> Still JMX discovery seems like a more convenient way.</p> <p>Right, thanks for finding this.</p> <p>What if in case of attribute being composite data we force users to use quotes? E. g.</p> <p><tt>jmx<span class="error">&#91;com.example:type=Hello,world&#93;</span></tt><br/> <tt>jmx<span class="error">&#91;com.example:type=Hello,&quot;cars,bmw&quot;&#93;</span></tt><br/> <tt>jmx<span class="error">&#91;com.example:type=Hello,&quot;the.fruits,apple&quot;&#93;</span></tt></p> <p>Looks simple and clear. The upgrade patch doesn't look too complicated:</p> <ol> <li>If second parameter has unescaped dot, ensure it's quoted.</li> <li>Replace unescaped dot with comma.</li> <li>Replace escaped dot sequence with a dot.<br/>  </li> </ol> <div class='table-wrap'> <table class='confluenceTable'><tbody> <tr> <th class='confluenceTh'>before</th> <th class='confluenceTh'>after</th> </tr> <tr> <td class='confluenceTd'><tt>jmx<span class="error">&#91;com.example:type=Hello,world&#93;</span></tt></td> <td class='confluenceTd'><tt>jmx<span class="error">&#91;com.example:type=Hello,world&#93;</span></tt></td> </tr> <tr> <td class='confluenceTd'><tt>jmx<span class="error">&#91;com.example:type=Hello,cars\.bmw&#93;</span></tt></td> <td class='confluenceTd'><tt>jmx<span class="error">&#91;com.example:type=Hello,&quot;cars,bmw&quot;&#93;</span></tt></td> </tr> <tr> <td class='confluenceTd'><tt>jmx<span class="error">&#91;com.example:type=Hello,the\.fruits.apple&#93;</span></tt></td> <td class='confluenceTd'><tt>jmx<span class="error">&#91;com.example:type=Hello,&quot;the.fruits,apple&quot;&#93;</span></tt></td> </tr> </tbody></table> </div> <p>Of course, Java gateway need to be modified accordingly. And we should probably make this in new major version.</p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=vso" class="user-hover" rel="vso">vso</a> can you please provide example with following example where we want to access ".a" composite data and "f.r.u.i.t.s" is name<br/> f.r.u.i.t.s (Fruits composite data):<br/> a = apple<br/> b = banana<br/> c = cherry</p> <p>before:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> jmx[com.example:type=Hello,f\.r\.u\.i\.t\.s.a] </pre> </div></div> <p>&lt;<a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=dimir" class="user-hover" rel="dimir">dimir</a>&gt; After:</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>jmx[com.example:type=Hello,"f.r.u.i.t.s,a"]</pre> </div></div> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=vso" class="user-hover" rel="vso">vso</a> what if it is now, haven't tested though</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> jmx[com.example:type=Hello,<span class="code-quote">"f,r,u,i,t,s.a"</span>] </pre> </div></div> <p>Will it become</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> jmx[com.example:type=Hello,<span class="code-quote">"f\,r\,u\,i\,t\,s,a"</span>] </pre> </div></div> <p>It is possible that we can solve issue by doing this (not tested):</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> Index: src/zabbix_java/src/com/zabbix/gateway/HelperFunctionChest.java =================================================================== --- src/zabbix_java/src/com/zabbix/gateway/HelperFunctionChest.java (revision 84748) +++ src/zabbix_java/src/com/zabbix/gateway/HelperFunctionChest.java (working copy) @@ -56,8 +56,7 @@ <span class="code-keyword">for</span> (<span class="code-object">int</span> i = 0; i &lt; input.length(); i++) { - <span class="code-keyword">if</span> (<span class="code-quote">'\\'</span> == input.charAt(i) &amp;&amp; i + 1 &lt; input.length() &amp;&amp; - (<span class="code-quote">'\\'</span> == input.charAt(i + 1) || <span class="code-quote">'.'</span> == input.charAt(i + 1))) + <span class="code-keyword">if</span> (<span class="code-quote">'\\'</span> == input.charAt(i) &amp;&amp; i + 1 &lt; input.length() &amp;&amp; <span class="code-quote">'.'</span> == input.charAt(i + 1)) { i++; } </pre> </div></div> <p>As an extra we would need upgrade patch to </p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> convert \\ to \ </pre> </div></div> <p>Idea is that we shall only unescape dots that are escaped.</p> <p>However it's not clear what to do in that case:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> \\. </pre> </div></div> Causes ZBX-4663 Development Rank 0|i05r3r: Sprint Sprint 38 Sprint 39 Sprint 40 Sprint 41 Team Template [ZBXNEXT-4176] Custom identification of shapes on maps https://support.zabbix.com/browse/ZBXNEXT-4176 ZABBIX FEATURE REQUESTS <p>For map shapes linking with API proposed to introduce custom shape IDs:</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> { <span class="code-quote">"sysmap_shapeid"</span>: <span class="code-quote">"32"</span>, <span class="code-quote">"custom_shapeid"</span>: <span class="code-quote">"my_shape_id123"</span>, &lt;------------------ [New] <span class="code-quote">"type"</span>: <span class="code-quote">"0"</span>, <span class="code-quote">"x"</span>: <span class="code-quote">"100"</span>, <span class="code-quote">"y"</span>: <span class="code-quote">"150"</span>, <span class="code-quote">"width"</span>: <span class="code-quote">"50"</span>, <span class="code-quote">"height"</span>: <span class="code-quote">"50"</span>, <span class="code-quote">"text"</span>: <span class="code-quote">"shape 1"</span>, <span class="code-quote">"font"</span>: <span class="code-quote">"9"</span>, <span class="code-quote">"font_size"</span>: <span class="code-quote">"11"</span>, <span class="code-quote">"font_color"</span>: <span class="code-quote">"000000"</span>, <span class="code-quote">"text_halign"</span>: <span class="code-quote">"0"</span>, <span class="code-quote">"text_valign"</span>: <span class="code-quote">"0"</span>, <span class="code-quote">"border_type"</span>: <span class="code-quote">"1"</span>, <span class="code-quote">"border_width"</span>: <span class="code-quote">"2"</span>, <span class="code-quote">"border_color"</span>: <span class="code-quote">"000000"</span>, <span class="code-quote">"background_color"</span>: "", <span class="code-quote">"zindex"</span>: <span class="code-quote">"0"</span> } </pre> </div></div> <p>where custom_shapeid:</p> <ul class="alternate" type="square"> <li>type variable string of size 16 chars</li> <li>defined by API during Create, and Update</li> <li>read by API during Get</li> <li>unique per map</li> <li>empty by default (DB migration patch)</li> <li>visible in map editor in shape property dialog</li> <li>only numbers and characters are allowed (no special symbols)</li> </ul> ZBXNEXT-4176 Custom identification of shapes on maps Change Request Trivial Reopened Unresolved Zabbix Development Team Rostislav Palivoda Thu, 12 Oct 2017 16:56:08 +0300 Thu, 20 May 2021 12:15:51 +0300 3.4.3rc1 Frontend (F) 1 1 Development Epic Link DEV-654 Rank 0|i0039z: Sprint Sprint 18 Story Points 2.0 Template [ZBXNEXT-4032] Different background colour for acknowledged issues https://support.zabbix.com/browse/ZBXNEXT-4032 ZABBIX FEATURE REQUESTS <p>It would be nice to be able to set different background colour for issues that have been acknowledged, might make monitoring dashboard look less dramatic <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> ZBXNEXT-4032 Different background colour for acknowledged issues Change Request Trivial Reopened Unresolved Unassigned Tony den Haan Wed, 16 Aug 2017 16:23:02 +0300 Mon, 21 Aug 2017 09:58:01 +0300 0 1 Development Rank 0|i05c0n: Template [ZBXNEXT-5780] Allow to use step durations longer than 1 week in Operations https://support.zabbix.com/browse/ZBXNEXT-5780 ZABBIX FEATURE REQUESTS <p> </p> <p>There are use cases that require to send reminders about problems on a monthly basis. Currently it's not possible to define step duration longer than 1 week in Actions -&gt; Operations. This seems like an artificial limitation. Please lift this limit.</p> ZBXNEXT-5780 Allow to use step durations longer than 1 week in Operations Change Request Trivial Reopened Unresolved Unassigned Alex Kalimulin Thu, 27 Feb 2020 11:21:28 +0200 Thu, 27 Feb 2020 14:34:21 +0200 4.4.6 5.0.0alpha2 API (A) Frontend (F) 0 2 Additional Information Development Rank 0|i08irj: Template Templated answers Training Zabbix version [ZBXNEXT-5476] Add SUM function for graphs https://support.zabbix.com/browse/ZBXNEXT-5476 ZABBIX FEATURE REQUESTS <p>I may just be missing it, but I'm not seeing a way to display the sum of the history of an item, nor a feature request for it.  I understand this may be accomplished via calculated items, but calculated items doesn't provide the flexibility of selecting an ad-hoc time period to sum.  This function would be useful in conjunction with the pie graph, or even a new "Text" graph that simply displays the item value and unit.</p> ZBXNEXT-5476 Add SUM function for graphs New Feature Request Trivial Reopened Unresolved Zabbix Support Team Brian Lloyd Mon, 30 Sep 2019 21:13:42 +0300 Sat, 18 Jul 2020 01:23:02 +0300 Frontend (F) 0 3 <p>An example of where this might be useful is in determining the total ingress throughput transferred by a device interface since the beginning of the month.  Trying to accomplish this using a calculated item isn't really ideal.</p> <p>This feature along with some other aggregation functions is already implemented for graph widget in Zabbix 4.4, you can check it out.</p> <p>With this I am closing this task as<br/> DUPLICATE of <a href="https://support.zabbix.com/browse/ZBXNEXT-5425" title="Aggregation functions for graphs" class="issue-link" data-issue-key="ZBXNEXT-5425"><del>ZBXNEXT-5425</del></a></p> <p>This is implemented in graph widgets, but aren't graph widgets only for use on the dashboard and have to be manually defined?  There's no way to have a graph widget created for viewing from a graph or graph prototype template so that I can quickly pull up a graph showing a sum operation for items on a host associated with a template, right?</p> <p>For my purposes, I'm wanting to add a graph prototype for network traffic ingress and egress showing total bytes transferred for every interface created via LLD so that you can quickly see that interface x has transferred so many Bytes in the past day, week, month, etc, dynamically.  I have items that are storing network traffic data in bits per second as well as items storing network traffic data in bytes.  The bps graph shows network usage over time on a line graph.  I want to create a pie graph prototype in a similar manner to the bps line graph prototype to show the total bytes that have been transferred for the period of time selected, which would be a sum operation on the item history tracking total bytes.</p> <p>I've implemented the desired change to the code in my system - if I provide the patch files, would zabbix consider including my changes in a future release?</p> <p>Thanks for your time.</p> <p>I don't think this is a duplicate as it's requesting the sum function in graphs, separate from graph widgets.</p> Duplicate ZBXNEXT-5425 Additional Information Development Rank 0|i07u5z: Template Templated answers Training Zabbix version [ZBXNEXT-1249] Remove "Not supported" status of items https://support.zabbix.com/browse/ZBXNEXT-1249 ZABBIX FEATURE REQUESTS <p>Currently items can become "not supported" for various reasons like "script returned nothing" or wrong value, effectively auto-disabling the items permanently. Very often wrong values are returned due to temporary problems. Instead the items should remain Enabled and should continue to run as scheduled without being disabled.</p> ZBXNEXT-1249 Remove "Not supported" status of items Change Request Trivial Reopened Unresolved Unassigned Vladimir Berezhnoy Sun, 3 Jun 2012 15:32:05 +0300 Sat, 18 Jul 2020 16:34:33 +0300 Proxy (P) Server (S) 37 30 <p>that also works as a safeguard measure so that a few misbehaving items (think timeouts) do not bring down the whole monitoring system.</p> <p>also assuming this calls for ignoring problems on the proxy &amp; server side, but not for any logic change on the agent side</p> <p>Well, a max retries parameter for items would be great. So before it gets unsupported we try to run it X times with the normal interval. Disabling them on proxies for 10 minutes is bad. The new internal notifications should help, as a wrapper can be written enabling them on problematic hosts. but still...</p> <p>I'll add a me too here. I have an increasing number of things I can't monitor for no good reason, Zabbix has simply decided for no reason after months of use and no changes that something is not supported. 50% of my webservers have no network traffic suddenly because it's not supported, and yet it obviously is since it was working fine up until now, and works fine on the other systems. My expectation would be enabling it would force it out of the not supported status back to working, but it does not. This has happened with network, cpu, memory, etc on various systems at various random times for no reason in every version of software I have run since 2.0</p> <p>I would also add that priority of trivial is not accurate since this is crippling to the whole point of the software. After enough time I'll have to change to another product as this one will simply be unable to monitor anything.</p> <p>Hello,<br/> just signed up, too add my vote. I'm also affected by this behaviour. Please add a solution for this, as I have to enable dozens of triggers every morning, because they get unsupported during the night. </p> <p>Agree. I need a solution for this too. When we click on "not supported" message in webfront, zabbix could enabled the item again, not disable it.</p> <p>+1. for me, the problem was easily identified and i was able to just unlink the template and re-link it, problem solved.</p> <p>+1. This is very important for me aswell.</p> <p>+1</p> <p>Perhaps we need a better approach at the problem.</p> <p>I manage a pretty big setup (500k items) and the not supported item situation is good enough. It gives zabbix resilience in dificult times, where script fails, timeout happens, and other stuff we see on large networks.</p> <p>What i miss with this item status is the ability to recover manually a failed item. For a numerous reasons i might want to force a item collect after a issue, so this feature would be good. </p> <p>Maybe if we disable it and then re-enable, or force-enable?</p> <p>inability to re-enable unsupported items is a functional regression in 2.2, it was possible in 2.0 and earlier. unfortunately, nothing on the roadmap to improve this</p> <p>Hey, @alexei!<br/> Is there any way to autoreenabling "not supported" items?</p> <p>Hi @Lory Pamos,<br/> since 2.2 my problem is gone! <br/> Under Zabbix-&gt;Administration-&gt;General. In the Dropdown choose "Other". There is a new option: "Refresh unsupported items (in sec)"<br/> That works for me!</p> <p>Items going Not Supported for transient problems is an issue for me too. Too often there are several minute gaps just because a particular item times out sometimes, often a device that I have no ability to control or fix the cause of sporadic timeouts. I'd rather not make ALL unsupported items refresh every 60s as there's definitely valid cases where if an item isn't working I don't want to keep re-checking everything continuously.</p> <p>What I would really like is a way to override the behavior on a per-item basis. To be able to set an individual item to never go unsupported no matter the response. The new use case I just ran into, polling via SNMP for health status of IBM IMMs (remote management devices). There are OIDs that don't exist when there is not an error condition, but during error conditions, instances are created which contain strings detailing the error condition. I'd like to be able to capture the error condition strings when there is an error for alerting purposes, but if I try to poll those OIDs they go unsupported. So an error might occur, but it will be X minutes before the items get refreshed and try again.</p> <p>Being able to override per item certainly seems like it could be helpful. (Michael Sphar++)</p> <p>Another idea would be to support a more sophisticated backoff (something like <a href="http://en.wikipedia.org/wiki/Exponential_backoff" class="external-link" target="_blank" rel="nofollow noopener">exponential backoff</a>); where it could be set globally, but the first polling error checks again at double the defined polling interval, then double again, etc...</p> <p>It would also be nice to expose when the item is scheduled to go back into a supported state (although this could currently be calculated by the timestamp in the log+Admin config); something like the LLD rules (xref: <a href="https://support.zabbix.com/browse/ZBXNEXT-1058" title="Frontend should have some indicator for lost LLD resources that are going to be removed" class="issue-link" data-issue-key="ZBXNEXT-1058"><del>ZBXNEXT-1058</del></a>): "The item is not discovered anymore and will be deleted in 2d 21h 13m".</p> <p>Yet another option would be to expose the (2.2 newly available) <a href="https://www.zabbix.com/documentation/2.2/manual/config/notifications/unsupported_item" class="external-link" target="_blank" rel="nofollow noopener">Receiving notification on unsupported items</a> as an item+trigger so that the unsupported state can be alarmed/acted on like any other item. I mention this as today the workaround for effectively this is to setup a trigger on an item that has nodata for a certain timeframe; this seems like a waste of timer resources since there is knowledge that the item is not supported.</p> <p>1. This should not be marked "trivial". Should be a much higher status.</p> <p>2. Rename feature as &lt;&lt; Better user-management for "Not supported" status of items &gt;&gt;</p> <p><del>3. Adding to the comments above: in some situations, items become "Not supported" for reasons that are never logged anywhere &#8211; either on server or agent, and the reason is not available to the GUI. All three should be fixed: the GUI should "known" why an item became "not supported". The reason should always be logged at the warning-level.</del> OK, supported in 2.4</p> <p>Regarding (3), information on why items are not supported by the agent is provided in GUI since Zabbix 2.4.0 (see <a href="https://support.zabbix.com/browse/ZBXNEXT-2203" title="Zabbix should provide detailed information why item is not supported by the agent" class="issue-link" data-issue-key="ZBXNEXT-2203"><del>ZBXNEXT-2203</del></a> and <a href="http://blog.zabbix.com/zabbix-2-4-features-part-7-improved-troubleshooting/" class="external-link" target="_blank" rel="nofollow noopener">http://blog.zabbix.com/zabbix-2-4-features-part-7-improved-troubleshooting/</a> under "More detail than just ZBX_UNSUPPORTED" heading).</p> <p>I believe this can be closed because there is now an option to "Refresh unsupported items" on the Administration &gt; General &gt; Other tab. You can define how many seconds should Zabbix refresh an item after it has been set to unsupported.</p> <p>that option has been there almost forever, and unfortunately it does not solve the problem this issue asks to deal with <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>The issue says the item becomes permanently disabled, It does not become permanently disabled, if it runs fine on the next "Refresh unsupported items" check, it becomes enabled.</p> <p>At least this is what literally just happened to me, does it work differently with external checks?</p> <p>i guess "permanently" is either the wrong word or some misunderstanding - but the default delay of 10 minutes is not good either, especially as there is no way to force item polling anymore <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>The way Zabbix handles 'unsupported' items is very annoying indeed. It might be that an item cannot be monitored for some reason, but when the reason is gone the monitoring should be resumed.</p> <p>I think what we need is a "force retry" option, in template as well as host. Lowering the global retry interval might cause unwanted issues.</p> <p>It seems to me, that "permanent" is a very good description of the problem.</p> <p>In my case, I have set <em>Refresh unsupported items</em> to <b>60s</b>. I also had it at <b>5m</b> and <b>10m</b> before. But it doesn't matter how I configure it, the <b>items marked as <em>not supported</em> don't get re-enabled</b>. Even disabling and re-enabling the item does not help. Pressing <em>check now</em> does not help. Restart of the Zabbix Server does not help. I cannot get the item to work again.</p> <p>The affected item is configured with a template. This template is applied to my host. The item is an <em>external check</em> and calls a local sh-script. Due to a misconfiguration, this script did not return valid values and the item ended up with the following message:</p> <p><tt>Item preprocessing step #1 failed: cannot convert value "..." of type "string" from boolean format: invalid value format</tt></p> <p>I also saw this error in the server log file, but only once.</p> <p>I guess <a href="https://support.zabbix.com/browse/ZBXNEXT-6035" title="Introduce &quot;Override errors&quot; to items" class="issue-link" data-issue-key="ZBXNEXT-6035"><del>ZBXNEXT-6035</del></a> is a fresh look on this issue.</p> Development Rank 0|i02bin: Template [ZBXNEXT-2640] Add ability to send numeric history to amqp queue for distribution to other databases https://support.zabbix.com/browse/ZBXNEXT-2640 ZABBIX FEATURE REQUESTS <p>Some users have history reporting and analysis needs that go significantly beyond what the zabbix UI provides. Adding a "hook" to zabbix to allow for numeric history data to be sent to other (additional) data stores would add an enormous amount of flexibility to zabbix deployments.</p> <p>I believe the "hook" could live somewhere in src/libs/zbxdbcache/dbcache.c in the dc_add_history_&lt;type&gt; functions.</p> <p>If logic were added there to optionally send data to rabbitmq (<a href="http://alanxz.github.io/rabbitmq-c/docs/0.5.0/" class="external-link" target="_blank" rel="nofollow noopener">http://alanxz.github.io/rabbitmq-c/docs/0.5.0/</a>) (replacing item id with the corresponding host name and item key strings) it would then be possible to do any number of things with the data at the "other end": graphite, opentsdb, other "nosql" targets, etc.</p> <p>The data required would be:</p> <p>unix time, host name, item key, value</p> <p>The precise format really doesn't matter as long as it's machine parse-able.</p> <p>I imagine the option would be enabled with a few configuration lines in the server config file. </p> <p>AMQ connection parameters would be something like:</p> <p> hostname<br/> port<br/> exchange<br/> routingkey</p> <p>and maybe username+password</p> <p>The code to "fork" data would only function if these things were defined. The presumption would be that it's fire-and-forget - zabbix wouldn't need to do anything other than format the string and send it down the pipe.</p> ZBXNEXT-2640 Add ability to send numeric history to amqp queue for distribution to other databases New Feature Request Trivial Reopened Unresolved Unassigned David Parker Fri, 12 Dec 2014 18:52:39 +0200 Sun, 8 Aug 2021 12:39:39 +0300 Server (S) 5 10 <p>It's probably duplicate of <a href="https://support.zabbix.com/browse/ZBXNEXT-714" title="need scalable alternative for the history and items tables" class="issue-link" data-issue-key="ZBXNEXT-714">ZBXNEXT-714</a></p> <p>Feel free to reopen if you don't agree.<br/> Closed.</p> <p>I don't believe this is really the same thing as <a href="https://support.zabbix.com/browse/ZBXNEXT-714" title="need scalable alternative for the history and items tables" class="issue-link" data-issue-key="ZBXNEXT-714">ZBXNEXT-714</a> in that that request suggests wholesale replacement of the storage backend. This feature just defines a "hook" that would allow for data to be sent off to some other store of the user's choosing. The idea is simply that when history data is being inserted into mysql, have it optionally also go to rabbitmq with a simple data format so the user can do with it as he wishes.</p> <p>This particular feature could provide an interim solution to the much broader issue discussed in <a href="https://support.zabbix.com/browse/ZBXNEXT-714" title="need scalable alternative for the history and items tables" class="issue-link" data-issue-key="ZBXNEXT-714">ZBXNEXT-714</a>. My last comment in <a href="https://support.zabbix.com/browse/ZBXNEXT-714" title="need scalable alternative for the history and items tables" class="issue-link" data-issue-key="ZBXNEXT-714">ZBXNEXT-714</a> clarifies a bit more what I mean by that.</p> <p>Probably a duplicate of <a href="https://support.zabbix.com/browse/ZBXNEXT-3353" title="Module for sending history data" class="issue-link" data-issue-key="ZBXNEXT-3353"><del>ZBXNEXT-3353</del></a>.</p> Duplicate ZBXNEXT-714 Development Rank 0|i03c8f: Template [ZBXNEXT-7010] Mediatypes: Use macro's instead of hardcoded credentials https://support.zabbix.com/browse/ZBXNEXT-7010 ZABBIX FEATURE REQUESTS <p>Currently the included mediatype templates use hardcoded credentials in the parameters e.g. <tt>&lt;PLACE USERNAME HERE&gt;</tt> and <tt>&lt;PLACE PASSWORD HERE&gt;</tt> preventing to easily upgrade the template whenever a new version is available since it will overwrite the parameters again.</p> <p>Wouldn't it be a better idea to make it refer to macro's (e.g. {<tt>$MEDIA.SLACK.TOKEN</tt>} and have the user configure that macro instead? This would allow people to easily upgrade Media Types without needing to manually modifying the template before/after importing.</p> ZBXNEXT-7010 Mediatypes: Use macro's instead of hardcoded credentials Change Request Trivial Reopened Unresolved Zabbix Integration Team Frank Wed, 20 Oct 2021 15:11:29 +0300 Wed, 27 Mar 2024 11:51:23 +0200 5.4.6 Templates (T) 4 4 Sub-task ZBXNEXT-7912 Additional Information Development Rank 0|i0bs2n: Template Templated answers Training Zabbix version [ZBXNEXT-8947] Template for mssql plugin https://support.zabbix.com/browse/ZBXNEXT-8947 ZABBIX FEATURE REQUESTS <p>Please prepare template for mssql plugin </p> ZBXNEXT-8947 Template for mssql plugin Specification change (Sub-task) ZBXNEXT-6235 Trivial Reopened Unresolved Aleksandr Kotsegubov Aleksandre Sebiskveradze Fri, 12 Jan 2024 16:14:53 +0200 Thu, 28 Mar 2024 16:11:56 +0200 6.0.28rc1 6.4.13rc1 7.0.0beta2 7.0 (plan) Templates (T) 5 7 <p>Available in:</p> <ul> <li><b>6.0.28rc1</b> <a href="https://git.zabbix.com/projects/ZBX/repos/zabbix/commits/3ba6a33e3c6ba87b79bde0babff6e680cf42ecc6" class="external-link" target="_blank" rel="nofollow noopener">3ba6a33e3c6</a></li> <li><b>6.4.13rc1</b> <a href="https://git.zabbix.com/projects/ZBX/repos/zabbix/commits/f5456e207ddc00fe180cb0171866f566cb6d09df" class="external-link" target="_blank" rel="nofollow noopener">f5456e207dd</a></li> <li><b>7.0.0beta2 (master)</b> <a href="https://git.zabbix.com/projects/ZBX/repos/zabbix/commits/84a65a8841cdfc6be2d48b52953e25d353cdafcd" class="external-link" target="_blank" rel="nofollow noopener">84a65a8841c</a></li> </ul> <p>Documentation updated: </p> <ul> <li>What's new in Zabbix (<a href="https://www.zabbix.com/documentation/6.0/en/manual/introduction/whatsnew6028" class="external-link" target="_blank" rel="nofollow noopener">6.0.28</a>, <a href="https://www.zabbix.com/documentation/6.4/en/manual/introduction/whatsnew6413" class="external-link" target="_blank" rel="nofollow noopener">6.4.13</a>)</li> <li>Template changes (<a href="https://www.zabbix.com/documentation/6.0/en/manual/installation/template_changes#changes-in-6.0.28" class="external-link" target="_blank" rel="nofollow noopener">6.0.28</a>, <a href="https://www.zabbix.com/documentation/6.4/en/manual/installation/template_changes#changes-in-6.4.13" class="external-link" target="_blank" rel="nofollow noopener">6.4.13</a>)</li> </ul> Duplicate Additional Information Development Rank 0|i0h8mf: Story Points 1.0 Team Template Templated answers Training Zabbix version [ZBXNEXT-8043] Official - Setup Zabbix Proxy on Windows https://support.zabbix.com/browse/ZBXNEXT-8043 ZABBIX FEATURE REQUESTS <p>Hello devs,<br/> Can you make a Zabbix Proxy running on Windows?<br/> Or a Zabbix agent (windows) able to work as a proxy. (Like legent from PRTG)</p> <p>I think that with this feature in addition, many people blocked in Windows will be happy.</p> <p>Thank you.</p> <p>Traduit avec DeepL (<a href="https://www.deepl.com/app/?utm_source=ios&amp;utm_medium=app&amp;utm_campaign=share-translation" class="external-link" target="_blank" rel="nofollow noopener">https://www.deepl.com/app/?utm_source=ios&amp;utm_medium=app&amp;utm_campaign=share-translation</a></p> Windows ZBXNEXT-8043 Official - Setup Zabbix Proxy on Windows New Feature Request High Reopened Unresolved Zabbix Support Team Philippe Petit Sat, 15 Oct 2022 23:05:33 +0300 Sat, 15 Oct 2022 23:21:03 +0300 Proxy (P) 0 2 Additional Information Development Rank 0|i0e47j: Template Templated answers Training Zabbix version [ZBXNEXT-5931] Native monitoring of certificate validy / expiration https://support.zabbix.com/browse/ZBXNEXT-5931 ZABBIX FEATURE REQUESTS <p>Still needing to rely on a script to monitore TLS certificate is frustrating.</p> <p>When adding a web-scenario for HTTPS websites, it would be usefull to have a check of certificate validy and/or expiration date. Another possilibity is to add this option to HTTP Agent item type.</p> <p>It would create an item with date of certificate expiration. We can then use this item to trigger and alert.</p> <p> </p> <p> </p> ZBXNEXT-5931 Native monitoring of certificate validy / expiration New Feature Request Medium Reopened Unresolved Zabbix Development Team Alain Devarieux Mon, 4 May 2020 13:25:26 +0300 Wed, 12 Oct 2022 14:13:37 +0300 Agent2 plugin (N) 46 47 <p>That's not so easy. Because HTTP(S) is not the only one. </p> <p>If you would have an integrated ssl expiration date check than it has to support different protocols (ftp, smtp, ldap, rdp, and so on). Some protocols have there own syntax for starttls-like implementation. Additionally to that you have to differentiate mechanisms in the "same" protocol (e.g. LDAP+StartTLS and LDAPS). In some scenarios both variants could deliver different certificates.</p> <p>Currently I use a own script based on openssl s_client, too.</p> <p>Sure, it would be nice if this will be part of Zabbix. But if there is a protocol option missing, than you have to use the old script additionally ...</p> <p>There is option in curl <a href="https://curl.haxx.se/libcurl/c/CURLINFO_CERTINFO.html" class="external-link" target="_blank" rel="nofollow noopener">CURLOPT_CERTINFO</a> but not sure how it fits in HTTP agent, could be similar to headers</p> <p>Example of output:</p> <div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent"> <pre>Subject:C = US, ST = CA, L = San Francisco, O = "Cloudflare, Inc.", CN = zabbix.com Issuer:C = US, ST = CA, L = San Francisco, O = "CloudFlare, Inc.", CN = CloudFlare Inc ECC CA-2 Version:2 Serial Number:0609affe4caeed2a5d1b400649673e30 Signature Algorithm:ecdsa-with-SHA256 Public Key Algorithm:id-ecPublicKey X509v3 Authority Key Identifier:keyid:3E:74:2D:1F:CF:45:75:04:7E:3F:C0:A2:87:3E:4C:43:83:51:13:C6 X509v3 Subject Key Identifier:24:10:52:D2:C7:E8:73:74:78:4B:11:3F:B0:E4:4D:2D:EE:C0:63:D7 X509v3 Subject Alternative Name:DNS:*.zabbix.com,DNS:zabbix.com X509v3 Key Usage:DigitalSignature X509v3 Extended Key Usage:TLSWebServerAuthentication,TLSWebClientAuthentication X509v3 CRL Distribution Points:, FullName:, URI:http://crl3.digicert.com/CloudFlareIncECCCA2.crl, FullName:, URI:http://crl4.digicert.com/CloudFlareIncECCCA2.crl X509v3 Certificate Policies:Policy:2.16.840.1.114412.1.1, CPS:https://www.digicert.com/CPS, Policy:2.23.140.1.2.2 Authority Information Access:OCSP-URI:http://ocsp.digicert.com, CAIssuers-URI:http://cacerts.digicert.com/CloudFlareIncECCCA-2.crt X509v3 Basic Constraints:CA:FALSE CT Precertificate SCTs:SignedCertificateTimestamp:, Version:v1(0x0), LogID:A4:B9:09:90:B4:18:58:14:87:BB:13:A2:CC:67:70:0A:, 3C:35:98:04:F9:1B:DF:B8:E3:77:CD:0E:C8:0D:DC:10, Timestamp:Dec416:00:58.1542019GMT, Extensions:none, Signature:ecdsa-with-SHA256, 30:45:02:20:6C:E3:35:C3:3C:EC:49:97:93:4E:77:53:, 4E:58:4A:30:D4:3F:DF:EE:41:A0:B9:B7:BA:D1:4B:A8:, 2F:8E:5C:84:02:21:00:DF:BC:DC:62:70:BF:29:38:8C:, A7:01:28:9B:4E:0F:50:F0:ED:60:81:75:EA:49:1D:29:, E7:76:78:F3:06:B0:CA, SignedCertificateTimestamp:, Version:v1(0x0), LogID:5E:A7 Start date:Dec 4 00:00:00 2019 GMT Expire date:Oct 9 12:00:00 2020 GMT Signature:30:45:02:20:46:87:79:25:20:36:30:84:f1:13:9f:30:b6:0b:07:1e:aa:0c:37:79:50:07:18:21:96:b3:41:e1:19:73:9a:aa:02:21:00:8d:69:22:85:be:45:7a:be:5a:00:7f:d2:dd:1a:ec:7e:de:e2:28:ad:df:76:ac:db:c7:99:6b:94:5e:a8:14:33: Cert:-----BEGIN CERTIFICATE----- MIIEvzCCBGWgAwIBAgIQBgmv/kyu7SpdG0AGSWc+MDAKBggqhkjOPQQDAjBvMQsw CQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAcTDVNhbiBGcmFuY2lzY28x GTAXBgNVBAoTEENsb3VkRmxhcmUsIEluYy4xIDAeBgNVBAMTF0Nsb3VkRmxhcmUg SW5jIEVDQyBDQS0yMB4XDTE5MTIwNDAwMDAwMFoXDTIwMTAwOTEyMDAwMFowYjEL MAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2Nv MRkwFwYDVQQKExBDbG91ZGZsYXJlLCBJbmMuMRMwEQYDVQQDEwp6YWJiaXguY29t MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEZpcY9/1N8CXxsoMWaqfAG6GfoMRZ prCbV49E69BzxvzGnMe6uljXr3ppHgk0f0UdslbDhWlA+ff71Y+xCcyjY6OCAu4w ggLqMB8GA1UdIwQYMBaAFD50LR/PRXUEfj/Aooc+TEODURPGMB0GA1UdDgQWBBQk EFLSx+hzdHhLET+w5E0t7sBj1zAjBgNVHREEHDAaggwqLnphYmJpeC5jb22CCnph YmJpeC5jb20wDgYDVR0PAQH/BAQDAgeAMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggr BgEFBQcDAjB5BgNVHR8EcjBwMDagNKAyhjBodHRwOi8vY3JsMy5kaWdpY2VydC5j b20vQ2xvdWRGbGFyZUluY0VDQ0NBMi5jcmwwNqA0oDKGMGh0dHA6Ly9jcmw0LmRp Z2ljZXJ0LmNvbS9DbG91ZEZsYXJlSW5jRUNDQ0EyLmNybDBMBgNVHSAERTBDMDcG CWCGSAGG/WwBATAqMCgGCCsGAQUFBwIBFhxodHRwczovL3d3dy5kaWdpY2VydC5j b20vQ1BTMAgGBmeBDAECAjB2BggrBgEFBQcBAQRqMGgwJAYIKwYBBQUHMAGGGGh0 dHA6Ly9vY3NwLmRpZ2ljZXJ0LmNvbTBABggrBgEFBQcwAoY0aHR0cDovL2NhY2Vy dHMuZGlnaWNlcnQuY29tL0Nsb3VkRmxhcmVJbmNFQ0NDQS0yLmNydDAMBgNVHRMB Af8EAjAAMIIBAwYKKwYBBAHWeQIEAgSB9ASB8QDvAHYApLkJkLQYWBSHuxOizGdw Cjw1mAT5G9+443fNDsgN3BAAAAFu0aSjKgAABAMARzBFAiBs4zXDPOxJl5NOd1NO WEow1D/f7kGgube60UuoL45chAIhAN+83GJwvyk4jKcBKJtOD1Dw7WCBdepJHSnn dnjzBrDKAHUAXqdz+d9WwOe1Nkh90EngMnqRmgyEoRIShBh1loFxRVgAAAFu0aSi wgAABAMARjBEAiBYXB9xf840lF95G8a4wcyxVnOur3oLd+5+/nBc4SO53gIgX4AN bZYPmRPEn2DkVNd+wih8hX4NRzsXQ6q7SdyzbhQwCgYIKoZIzj0EAwIDSAAwRQIg Rod5JSA2MITxE58wtgsHHqoMN3lQBxghlrNB4RlzmqoCIQCNaSKFvkV6vloAf9Ld Gux+3uIord92rNvHmWuUXqgUMw== -----END CERTIFICATE----- Subject:C = US, ST = CA, L = San Francisco, O = "CloudFlare, Inc.", CN = CloudFlare Inc ECC CA-2 Issuer:C = IE, O = Baltimore, OU = CyberTrust, CN = Baltimore CyberTrust Root Version:2 Serial Number:0ff3e61639aa3d1a1265f41f8b34e5b6 Signature Algorithm:sha256WithRSAEncryption Public Key Algorithm:id-ecPublicKey X509v3 Basic Constraints:CA:TRUE,pathlen:0 X509v3 Key Usage:DigitalSignature,CertificateSign,CRLSign Authority Information Access:OCSP-URI:http://ocsp.digicert.com X509v3 CRL Distribution Points:, FullName:, URI:http://crl3.digicert.com/Omniroot2025.crl X509v3 Certificate Policies:Policy:X509v3AnyPolicy, CPS:https://www.digicert.com/CPS X509v3 Subject Key Identifier:3E:74:2D:1F:CF:45:75:04:7E:3F:C0:A2:87:3E:4C:43:83:51:13:C6 X509v3 Authority Key Identifier:keyid:E5:9D:59:30:82:47:58:CC:AC:FA:08:54:36:86:7B:3A:B5:04:4D:F0 Start date:Oct 14 12:00:00 2015 GMT Expire date:Oct 9 12:00:00 2020 GMT Signature:38:5f:a7:ff:fc:85:f2:73:32:e4:d5:a3:89:99:96:60:af:32:c1:03:b3:65:df:be:1e:03:ca:a5:ed:85:b2:8f:af:4b:8c:73:8f:2a:8c:a9:00:0e:01:24:17:f7:ec:52:85:76:c8:e5:1c:79:ca:c3:17:87:50:b6:04:33:36:9e:2a:9e:18:17:96:32:12:af:43:cc:57:18:de:db:c7:d8:88:25:83:e5:ca:06:25:31:fd:bd:5d:48:3b:51:01:dd:2c:14:c7:c1:60:51:e9:95:01:d8:b2:33:56:0e:47:66:8d:6c:cd:af:f9:85:d9:eb:1c:47:47:88:34:e8:f0:fa:c2:ab:4f:69:4e:09:59:d4:57:c6:cc:c1:c8:e3:e6:19:c1:58:38:52:e2:e2:83:85:de:22:34:dc:3f:a6:f7:af:24:bc:e0:6f:c0:ab:68:2d:52:c7:6b:05:57:2c:42:1b:2d:48:87:03:0c:90:ab:48:48:a9:28:be:34:8a:fb:ba:ed:f4:60:99:1d:15:78:11:aa:d9:6d:53:7f:69:28:bc:b7:6b:20:76:7f:a0:55:03:71:79:f5:67:a7:b0:a0:0a:17:57:b2:00:a9:ad:cf:ff:67:8c:3e:26:e5:a7:24:bc:c2:6f:10:e8:89:c6:70:a5:d2:1f:80:ed:0d:3f:27:13: Cert:-----BEGIN CERTIFICATE----- MIIDozCCAougAwIBAgIQD/PmFjmqPRoSZfQfizTltjANBgkqhkiG9w0BAQsFADBa MQswCQYDVQQGEwJJRTESMBAGA1UEChMJQmFsdGltb3JlMRMwEQYDVQQLEwpDeWJl clRydXN0MSIwIAYDVQQDExlCYWx0aW1vcmUgQ3liZXJUcnVzdCBSb290MB4XDTE1 MTAxNDEyMDAwMFoXDTIwMTAwOTEyMDAwMFowbzELMAkGA1UEBhMCVVMxCzAJBgNV BAgTAkNBMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBDbG91ZEZs YXJlLCBJbmMuMSAwHgYDVQQDExdDbG91ZEZsYXJlIEluYyBFQ0MgQ0EtMjBZMBMG ByqGSM49AgEGCCqGSM49AwEHA0IABNFW9Jy25DGg9aRSz+Oaeob/8oayXsy1WcwR x07dZP1VnGDjoEvZeFT/SFC6ouGhWHWPx2A3RBZNVZns7tQzeiOjggEZMIIBFTAS BgNVHRMBAf8ECDAGAQH/AgEAMA4GA1UdDwEB/wQEAwIBhjA0BggrBgEFBQcBAQQo MCYwJAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLmRpZ2ljZXJ0LmNvbTA6BgNVHR8E MzAxMC+gLaArhilodHRwOi8vY3JsMy5kaWdpY2VydC5jb20vT21uaXJvb3QyMDI1 LmNybDA9BgNVHSAENjA0MDIGBFUdIAAwKjAoBggrBgEFBQcCARYcaHR0cHM6Ly93 d3cuZGlnaWNlcnQuY29tL0NQUzAdBgNVHQ4EFgQUPnQtH89FdQR+P8Cihz5MQ4NR E8YwHwYDVR0jBBgwFoAU5Z1ZMIJHWMys+ghUNoZ7OrUETfAwDQYJKoZIhvcNAQEL BQADggEBADhfp//8hfJzMuTVo4mZlmCvMsEDs2Xfvh4DyqXthbKPr0uMc48qjKkA DgEkF/fsUoV2yOUcecrDF4dQtgQzNp4qnhgXljISr0PMVxje28fYiCWD5coGJTH9 vV1IO1EB3SwUx8FgUemVAdiyM1YOR2aNbM2v+YXZ6xxHR4g06PD6wqtPaU4JWdRX xszByOPmGcFYOFLi4oOF3iI03D+m968kvOBvwKtoLVLHawVXLEIbLUiHAwyQq0hI qSi+NIr7uu30YJkdFXgRqtltU39pKLy3ayB2f6BVA3F59WensKAKF1eyAKmtz/9n jD4m5ackvMJvEOiJxnCl0h+A7Q0/JxM= -----END CERTIFICATE----- </pre> </div></div> <blockquote> <p>The info chain is provided in a series of data in the format "name:content" where the content is for the specific named data.</p> <p>AVAILABILITY</p> <p>This option is only working in libcurl built with OpenSSL, NSS, Schannel or GSKit support. Schannel support added in 7.50.0</p> <p>Added in 7.19.1</p></blockquote> <p>I think what user asks here is to implement it as part of Web Monitoring. I think it would be more convenient to have this functionality as part of that instead of introduce another set of items for agent.</p> <p>I guess most often when you need to check a web site certificate you also need to make sure its functionality works. Imagine you have around 200 web sites to monitor and periodically you add/edit/remove them. You would have to adjust the agent checks accordingly each time.</p> <p>While I agree that all certificates need monitoring, I think that the most important feature to address at first is HTTP TLS Monitoring. As Zabbix is already able to crawl a website, this feature can be added to the web scenario.</p> <p>We can still fall back to openssl script to monitore other kind of certificates.</p> <p>As a Zabbix use Curl in Web scenarios as well in HTTP agent it's pretty easy obtain certificate start, expiration dates, subject, issuer and so on. It's achievable by<br/> basically with those two/three options to handle headers and certificate data: CURLOPT_VERBOSE, CURLOPT_HEADER, CURLINFO_CERTINFO ( <em>-I</em> and <em>-v</em> flags in CLI and <em>-k</em> for insecure connections - in case of self signed certificate). It would be really nice to have more useful new keys in this case.</p> <p>CLI example</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> curl --insecure -v -I https:<span class="code-comment">//www.zabbix.com 2&gt;&amp;1 </span>* About to connect() to www.zabbix.com port 443 (#0) * Trying 104.31.68.176... * Connected to www.zabbix.com (104.31.68.176) port 443 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * skipping SSL peer certificate verification * SSL connection using TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 * Server certificate: * subject: CN=zabbix.com,O=<span class="code-quote">"Cloudflare, Inc."</span>,L=San Francisco,ST=CA,C=US * start date: Dec 04 00:00:00 2019 GMT * expire date: Oct 09 12:00:00 2020 GMT * common name: zabbix.com * issuer: CN=CloudFlare Inc ECC CA-2,O=<span class="code-quote">"CloudFlare, Inc."</span>,L=San Francisco,ST=CA,C=US &gt; HEAD / HTTP/1.1 &gt; User-Agent: curl/7.29.0 &gt; Host: www.zabbix.com &gt; Accept: */* &gt; </pre> </div></div> <p>Now I'm using for SSL certificate expire date checks this simple bash oneliner (returned result is days till expire date)</p> <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"> <pre class="code-java"> [ns@sys]# expr <span class="code-quote">"("</span> $(date <span class="code-quote">'+%s'</span> --date <span class="code-quote">"`echo |openssl s_client -showcerts -servername www.zabbix.com -connect www.zabbix.com:443 2&gt;/dev/<span class="code-keyword">null</span>| openssl x509 -noout -dates | grep -i <span class="code-quote">'notAfter='</span> | sed <span class="code-quote">'s#notAfter=##'</span> `"</span>) - $(date <span class="code-quote">'+%s'</span>) <span class="code-quote">")"</span> / 24 / 3600 156 </pre> </div></div> <p>I would like to see it in HTTP Agent item i don't think you want to buid a webscenario for this kind of monitoring.</p> <p>Hi Guys,</p> <p>Just as a note for this in terms of potential additional items to detect certificate configuration issues.</p> <p>We implemented checks for the common things such as</p> <ul> <li>TLS Expiry Date / TLS Future Date (i.e. currently inactive due to future start date)</li> <li>TLS Issuer</li> <li>TLS Serial</li> <li>TLS Signature Algorithm</li> <li>TLS Version</li> <li>TLS Subject</li> <li>TLS Subject Alternative Names</li> </ul> <p>All of the above ensure the validity of the TLS certificate.</p> <p>For us most importantly we check whether a specific set off subject alternative names exist or an individual one using regular expressions.</p> <p>Cheers</p> <p>James</p> <p>How will this be solved?<br/> Zabbix agent?<br/> Zabbix agent2?<br/> Web scenario?<br/> HTTP agent?</p> <p>Hello, <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=starko" class="user-hover" rel="starko">starko</a></p> <p>It will be a plugin for agent2.</p> <p>Any reason for it not to be implemented in server/proxy side? Monitoring websites via agent sounds bad idea for my setup. Its too big, have too many ssl endpoints, and its too much distributed.</p> <p>We think its easier to manage using the current distribution setup, that is using proxy.</p> <p>Is that a new general direction on expanding Zabbix monitoring capabilities?</p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=fpaternot" class="user-hover" rel="fpaternot">fpaternot</a>, the current implementation is just yet another agent2 item - web.certificate.get<span class="error">&#91;host&#93;</span>, similar to web.page.get[]. So it's a natural choice to have such check in the agent along with other web.* items. Also, this gives you a pretty high degree of flexibility if you need to monitor a lot of websites without the additional overhead of managing proxies.</p> <p>Sorry, I don't see the flexibility you mention.</p> <p>When one creates a host (lets call it example.com), we have to give it an interface. Since we have it monitored via agent2, we have to point that interface to zabbix-agent-host.</p> <p>Point one: a user looking for that host example.com, will see dns/ip of Zabbix-agent-host. That creates confusion.</p> <p>Point two: we have an additional component to maintain, the Zabbix agent. We have to look/tune sessions for that plugin, and monitor its usage. Thats not well implemented yet, like the internal Zabbix itens for poller usage.</p> <p>Point three: Zabbix agent is not currently required to monitor web pages, but it will be now, just to check just the certificate. From this point of view, I'd prefer to do an external script call, curl -v and preprocess the result. Of course it gives us a performance hit, but sounds better than adding agent to dependency list.</p> <p>Point four: as Gatis Rumben mentioned <a href="https://support.zabbix.com/browse/ZBXNEXT-5931?focusedCommentId=429451&amp;page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-429451" class="external-link" rel="nofollow">here</a>, its already available from lib curl, the current setup of Zabbix proxy/server. It's perfectly possible to either extend http agent or web scenario. I personally think http agent is more flexible to implement as it does not affect existing hosts and can be easily expanded as Zabbix Admin wants.</p> <p> </p> <p>I can create a new feature request for it to be implemented on server/proxy side if you guys think its not a fit in this request.</p> <p>Adding a few more comments:</p> <ul class="alternate" type="square"> <li>on Zabbix training (from 2.0 to 5.0 that I participated in), we see as good practice to add proxies even if you don't need them just yet. The point is that it reduces load on server, its easier to expand and provides additional capabilities to maintain Zabbix server and not loose data. In the long run, its the only way to distribute and grow Zabbix installations. So it's an additional overhead but a needed one if you are monitoring an IT environment.</li> <li>I just realized that the original feature request does asks for a web scenario or http agent implementation. So, I think we can improve on the subject at hand.</li> </ul> <p>Looking forward for your reply.</p> <p>Kind regards <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <blockquote><p>yet another agent2 item - <tt>web.certificate.get[host]</tt>, similar to <tt>web.page.get[]</tt></p></blockquote> <p>It is funny to hear, because <tt>web.page.&#42;</tt> items weren't even capable of SSL until very recently (see <a href="https://support.zabbix.com/browse/ZBXNEXT-287" title="Fix web.page.regexp to be SSL capable (or make web.page.ssl.regexp)" class="issue-link" data-issue-key="ZBXNEXT-287"><del>ZBXNEXT-287</del></a>). If I get dates/versions right, HTTP Agent (<a href="https://support.zabbix.com/browse/ZBXNEXT-4358" title="Metrics for easy RestAPI data retrieval (Z4rc1)" class="issue-link" data-issue-key="ZBXNEXT-4358"><del>ZBXNEXT-4358</del></a>) was implemented <em>before</em> <tt>web.page.&#42;</tt> became aware of HTTPS. This timeline makes me think that there are very few users in need of HTTPS monitoring who are still using agent's <tt>web.page.&#42;</tt> items, they all must have switched to HTTP Agent as soon as it became available.</p> <p>Zabbix repeatedly communicated that both of the agent implementations will be equal going forward.<br/> Will this feature be added in the C agent as well?</p> <p>In any case, having it on the agent seems like a mistake. Server/proxy level would be the usable one, otherwise it will be easier to reimplement the functionality as external checks, trapper items or whatever.</p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=richlv" class="user-hover" rel="richlv">richlv</a> wrote:</p> <blockquote><p>In any case, having it on the agent seems like a mistake. Server/proxy level would be the usable one, otherwise it will be easier to reimplement the functionality as external checks, trapper items or whatever.</p></blockquote> <p>I'm absolutely agree.</p> <p>Additionally, I'd like to support <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=fpaternot" class="user-hover" rel="fpaternot">fpaternot</a> who reminded that the initial problem definition for this task (see Description field) was about Web-scenario or HTTP agent, i.e. server-side checks (Zabbix server or Zabbix proxy). A possibility to perform the agent-side checks could be a pleasant addition, but not a replacement for the server-side checks.</p> <p>If Zabbix SIA does not change its mind and if there is sufficient demand I can probably develop a libcurl-based loadable module. If it happens, it will be possible to use it with server/proxy as <em>Simple check</em> or with old agent (not agent2) as <em>Zabbix agent</em> or <em>Zabbix agent (active)</em>.</p> <p>Disclaimer: I have not yet figured out how to package modules, so there will likely be some manual compilation involved (<a href="https://github.com/i-ky/effluence/blob/master/COMPILE.md" class="external-link" target="_blank" rel="nofollow noopener">like that</a>, no rocket science).</p> <p>+1 for the arguments of <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=fpaternot" class="user-hover" rel="fpaternot">fpaternot</a> I dislike the fact, that this feature was implemented, without the original request in mind. We already have Web scenarios and http agent via proxies, now we have a third way. This is not logical. </p> <p>Dear all, thanks for your feedback and criticism. I still believe this change will benefit many Zabbix users running Agent2, but I also understand there are use cases and constraints that may require alternative approaches. If you find that this solution is not applicable in your environment please feel free to add ZBXNEXTs with your proposals, as the certificate validation doesn't have to be an "either-or" feature.</p> <p>With all due respect <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=Kalimulin" class="user-hover" rel="Kalimulin">Kalimulin</a>: But this is disrespectful towards <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=Aldevar" class="user-hover" rel="Aldevar">Aldevar</a>. This very request here <a href="https://support.zabbix.com/browse/ZBXNEXT-5931" title="Native monitoring of certificate validy / expiration" class="issue-link" data-issue-key="ZBXNEXT-5931">ZBXNEXT-5931</a> is very clearly about adding a cert vadility check for <b>web-scenarios and/or HTTP Agent</b>. It was Zabbix SIA decision, to bring up a whole different solution. And now it's our part, the community, to create a new ZBXNEXT and collect votes from scratch, although we have 34 votes here?</p> <p>IMHO Zabbix company should've created a fresh ZBXNEXT for the Agent2 approach, and let our ZBXNEXT untouched with all its votes. <b>Now this ZBXNEXT will be closed, although no solution was provided, and we stay here, with empty hands, despite the 34 votes.</b></p> <p>This is totally unfair regarding this community request. Not happy.</p> <p>Ps.: To make this clear: <em>I'm not unhappy about the new feature. I like the new feature.</em> I'm unhappy about hijacking this ZBXNEXT and implementing something else, which was not the initial request and then closing it and then requesting us to start from scratch.</p> <p>Dear <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=starko" class="user-hover" rel="starko">starko</a>, <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=fpaternot" class="user-hover" rel="fpaternot">fpaternot</a>, <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=richlv" class="user-hover" rel="richlv">richlv</a>, <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=constantin.oshmyan" class="user-hover" rel="constantin.oshmyan">constantin.oshmyan</a>, Voters and Watchers!</p> <p>The work on <a href="https://support.zabbix.com/browse/ZBXNEXT-5931?focusedCommentId=566962&amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-566962" class="external-link" rel="nofollow">loadable module</a> has started. Feel free to join <a href="https://github.com/i-ky/sheepskin/discussions/2" class="external-link" target="_blank" rel="nofollow noopener">discussion on specification</a>.</p> <p>The specification for agent2 seems fine, the issue we seem to have in common is that we expect it to be available for Zabbix server monitoring (and proxy as usual), not the agent.</p> <p><font color="#00875a">Discussed with </font><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=Kalimulin" class="user-hover" rel="Kalimulin">Kalimulin</a><font color="#00875a"> to keep this ticket open for for server/proxy (web scenarios) implementation. Implementation for agent close in <a href="https://support.zabbix.com/browse/ZBXNEXT-6708" title="Monitor TLS/SSL website certificates" class="issue-link" data-issue-key="ZBXNEXT-6708"><del>ZBXNEXT-6708</del></a>. Therefore move merge comment into <a href="https://support.zabbix.com/browse/ZBXNEXT-6708" title="Monitor TLS/SSL website certificates" class="issue-link" data-issue-key="ZBXNEXT-6708"><del>ZBXNEXT-6708</del></a> and close it as fixed. <a href="https://support.zabbix.com/browse/ZBXNEXT-5931" title="Native monitoring of certificate validy / expiration" class="issue-link" data-issue-key="ZBXNEXT-5931">ZBXNEXT-5931</a> will be reopened and discussion continues. </font></p> <blockquote><p>Discussed with <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=Kalimulin" class="user-hover" rel="Kalimulin">Kalimulin</a> to keep this ticket open for for server/proxy (web scenarios) implementation. [...] <a href="https://support.zabbix.com/browse/ZBXNEXT-5931" title="Native monitoring of certificate validy / expiration" class="issue-link" data-issue-key="ZBXNEXT-5931">ZBXNEXT-5931</a> will be reopened and discussion continues.</p></blockquote> <p>Thank you, a wise decision! <img class="emoticon" src="https://support.zabbix.com/images/icons/emoticons/thumbs_up.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p> <p>This time I fully agree with the community that requested is one thing, but the implementation is quite different what was asked. As it requires additional resources, configuration and deployment on the monitored environment, which was not necessary until now. Imagine if its infrastructure is huge. It takes a very large amount of work to do this with this solution of Agent2.</p> <p>Thanks so much for listening <a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=palivoda" class="user-hover" rel="palivoda">palivoda</a>! Hope this issue will be solved sometime in the future, with Web-Scenario or HTTP-Agent in mind. </p> <p>Hi all!</p> <p>Please check out a <a href="https://github.com/i-ky/sheepskin" class="external-link" target="_blank" rel="nofollow noopener">loadable module</a> implementing <tt>web.certificate.get</tt> for server/proxy and old agent. Your feedback is very much appreciated! Feel free to drop questions in <a href="https://github.com/i-ky/sheepskin/discussions" class="external-link" target="_blank" rel="nofollow noopener">discussions</a>, report <a href="https://github.com/i-ky/sheepskin/issues" class="external-link" target="_blank" rel="nofollow noopener">issues</a> and <a href="https://github.com/i-ky/sheepskin/pulls" class="external-link" target="_blank" rel="nofollow noopener">propose changes</a>.</p> <p>Hello,</p> <p>I see certificate like web scenario : an object, linked to a host with some automatics items :</p> <ul> <li>Date of "start"</li> <li>Date of expiration</li> <li>Serial number</li> <li>Authority's names</li> <li>Protocols available (TLS1.1, TLS 1.2, ...)</li> <li>Revocation status</li> <li>Maybe size of public key, cipher, etc...</li> </ul> <p>Be careful, certificate are not only for web, you can have certificate for SMTP, OpenVPN, etc.</p> <p>A page like that <a href="https://camo.githubusercontent.com/b31204afd4bc993c05090dd2d365f3b98e8e18daeb236a2ddabb385b7032fb68/68747470733a2f2f692e6962622e636f2f4d7047776d586e2f53637265656e73686f742d312e706e67" class="external-link" target="_blank" rel="nofollow noopener">SSLChecker</a> <a href="https://github.com/pernodpepper/SSLChecker" class="external-link" target="_blank" rel="nofollow noopener">https://github.com/pernodpepper/SSLChecker</a><br/> <span class="image-wrap" style=""><a id="147389_thumb" href="https://support.zabbix.com/secure/attachment/147389/147389_sslchecker.png" title="sslchecker.png" file-preview-type="image" file-preview-id="147389" file-preview-title="sslchecker.png"><img src="https://support.zabbix.com/secure/thumbnail/147389/_thumb_147389.png" style="border: 0px solid black" role="presentation"/></a></span> </p> <p>May I ask whether this implemented feature also covers SNI?</p> <p>Many people have LBs which are also terminating the TLS on HTTPs sessions, reverse-proxying to normal http/fpm/whatever backends. They are service multiple sites using multiple certs. It is very important to be able to request a specific host's certificate from the LB, otherwise this feature will be limited to simply monitoring the default host's certificate.</p> <p> </p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=phoemix" class="user-hover" rel="phoemix">phoemix</a>, yes, it does support SNI.</p> <p>I'm confused as to how this agent2-based check would work.  If I have 2 sites I want to check (<a href="http://www.google.com%2C/" class="external-link" target="_blank" rel="nofollow noopener">www.google.com,</a> <a href="http://www.zabbix.com/" class="external-link" target="_blank" rel="nofollow noopener">www</a>.aws.com) how would I set this up in Zabbix?  I don't have agents running on those sites.  How would I add 2 checks (one for each site) to be run by a single agent?  Do I now need to stand up multiple VM's each running an agent to check each site's certificates?</p> <p>Gavin you only need to add a host for each website, all monitored by the same agent2 deployed (in localhost or monitored by proxy). Change the template inherited macros of each host to monitor the websites.</p> <p><a href="https://support.zabbix.com/secure/ViewProfile.jspa?name=highpeak" class="user-hover" rel="highpeak">highpeak</a> You can install Zabbix server module <a href="https://github.com/i-ky/sheepskin" class="external-link" target="_blank" rel="nofollow noopener">https://github.com/i-ky/sheepskin</a> and monitor these without an agent.</p> Duplicate Sub-task ZBXNEXT-6708 Additional Information Development Rank 0|i08tyn: Sprint Sprint 78 (Jul 2021) Template Templated answers Training Zabbix version [ZBXNEXT-8271] Need the favicon rebranding feature https://support.zabbix.com/browse/ZBXNEXT-8271 ZABBIX FEATURE REQUESTS <p>Hi! Due to russian aggression against Ukraine and its symbol the letter Z, some people like me may want to rebrand the favicon too. For now, it is only possible to do this by changing files of installation and will be reverted on any update of Zabbix Frontend. So it would be nice to have the branding feature to change that letter while it is considered a modern swastika.</p> ZBXNEXT-8271 Need the favicon rebranding feature Change Request Low Reopened Unresolved Valdis Murzins Ihor Romanyshyn Tue, 14 Feb 2023 11:13:32 +0200 Tue, 6 Jun 2023 09:44:34 +0300 6.2.7 6.4.0rc1 Frontend (F) 0 5 <p>Duplicate of <a href="https://support.zabbix.com/browse/ZBXNEXT-7585" title="Change icon/logo" class="issue-link" data-issue-key="ZBXNEXT-7585">ZBXNEXT-7585</a></p> <p>Sorry, but my ticket is not about the redesign. I like the logo to be redesigned. Maybe it's time to invent some mascot, I prefer some cyberpunk spider.</p> <p>But I would like to have the <a href="https://www.zabbix.com/documentation/6.4/en/manual/web_interface/rebranding" class="external-link" target="_blank" rel="nofollow noopener">Rebranding</a> option to change the <b>favicon</b> logo by myself. I know it's much easier to do than doing all that work about rebranding a whole worldwide known product. It's sad, but in my country, this logo is not good anymore. Someone walking by can think I'm a supporter of the russian invasion just by seeing the icon in my browser window. And I will have a talk with our Security Service of Ukraine while they can work with real collaborators.</p> Duplicate ZBXNEXT-7585 ZBXNEXT-8475 Additional Information Development Rank 0|i0euk7: Template Templated answers Training Zabbix version [ZBXNEXT-8352] Add support to MS Azure SCIM requests with the flag https://support.zabbix.com/browse/ZBXNEXT-8352 ZABBIX FEATURE REQUESTS <p>In MS Azure when special flag is added to SCIM URL, some requests are sent in different format.</p> <p>Need to provide support for these requests.</p> ZBXNEXT-8352 Add support to MS Azure SCIM requests with the flag Change Request Low Reopened Unresolved Zabbix Development Team Elina Pulke Thu, 16 Mar 2023 14:57:32 +0200 Wed, 12 Apr 2023 16:01:50 +0300 6.4.0 7.0.0alpha1 API (A) Frontend (F) 0 3 Causes ZBXNEXT-276 Sub-task ZBX-21976 Additional Information Development Rank 0|i0f23r: Team Template Templated answers Training Zabbix version