-
Problem report
-
Resolution: Fixed
-
Critical
-
7.2.0alpha1
-
None
-
S24-W24/25
-
0.25
==00:00:00:11.897 1889685== Invalid read of size 1 ==00:00:00:11.897 1889685== at 0x487E6C0: strncmp (vg_replace_strmem.c:716) ==00:00:00:11.897 1889685== by 0x46E8F7: substitute_simple_macros_impl (expression.c:1571) ==00:00:00:11.897 1889685== by 0x47362B: zbx_substitute_simple_macros (expression.c:3135) ==00:00:00:11.897 1889685== by 0x284F13: add_user_msg (escalator.c:584) ==00:00:00:11.897 1889685== by 0x2853E7: add_user_msgs (escalator.c:672) ==00:00:00:11.897 1889685== by 0x2858B3: add_object_msg (escalator.c:791) ==00:00:00:11.897 1889685== by 0x288897: escalation_execute_operations (escalator.c:1954) ==00:00:00:11.897 1889685== by 0x289EEF: escalation_execute (escalator.c:2579) ==00:00:00:11.897 1889685== by 0x28C54F: process_db_escalations (escalator.c:3288) ==00:00:00:11.897 1889685== by 0x28D293: process_escalations (escalator.c:3616) ==00:00:00:11.897 1889685== by 0x28D897: escalator_thread (escalator.c:3743) ==00:00:00:11.897 1889685== by 0x4C9A37: zbx_thread_start (threads.c:119) ==00:00:00:11.897 1889685== Address 0x0 is not stack'd, malloc'd or (recently) free'd
Need to create 1 autoregistration operation:
Send message to user groups: Zabbix administrators via all media
Set Custom message with subject and Message to:
{ACTION.ID} {ACTION.NAME} {ALERT.MESSAGE} {ALERT.SENDTO} {ALERT.SUBJECT} {ESC.HISTORY} {DATE} {TIME} {DISCOVERY.DEVICE.IPADDRESS} {DISCOVERY.DEVICE.DNS} {DISCOVERY.DEVICE.STATUS} {DISCOVERY.DEVICE.UPTIME} {DISCOVERY.RULE.NAME} {DISCOVERY.SERVICE.NAME} {DISCOVERY.SERVICE.PORT} {DISCOVERY.SERVICE.STATUS} {DISCOVERY.SERVICE.UPTIME} {EVENT.ACK.STATUS} {EVENT.AGE} {EVENT.DATE} {ACTION.ID} {ACTION.NAME} {ALERT.MESSAGE} {ALERT.SENDTO} {ALERT.SUBJECT} {ESC.HISTORY} {DATE} {TIME} {DISCOVERY.DEVICE.IPADDRESS} {DISCOVERY.DEVICE.DNS} {DISCOVERY.DEVICE.STATUS} {DISCOVERY.DEVICE.UPTIME} {DISCOVERY.RULE.NAME} {DISCOVERY.SERVICE.NAME} {DISCOVERY.SERVICE.PORT} {DISCOVERY.SERVICE.STATUS} {DISCOVERY.SERVICE.UPTIME} {EVENT.ACK.STATUS} {EVENT.AGE} {EVENT.DATE} {EVENT.DURATION} {EVENT.ID} {EVENT.NAME} {EVENT.NSEVERITY} {EVENT.OBJECT} {EVENT.OPDATA} {EVENT.RECOVERY.DATE} {EVENT.RECOVERY.ID} {EVENT.RECOVERY.NAME} {EVENT.RECOVERY.STATUS} {EVENT.RECOVERY.TAGS} {EVENT.RECOVERY.TAGSJSON} {EVENT.RECOVERY.TIME} {EVENT.RECOVERY.VALUE} {EVENT.SEVERITY} {EVENT.SOURCE} {EVENT.STATUS} {EVENT.TAGS} {EVENT.TAGSJSON} {EVENT.TAGS.<tag name>} "j2" 365L, 8206B 1,1 Top {ACTION.ID} {ACTION.NAME} {ALERT.MESSAGE} {ALERT.SENDTO} {ALERT.SUBJECT} {ESC.HISTORY} {DATE} {TIME} {DISCOVERY.DEVICE.IPADDRESS} {DISCOVERY.DEVICE.DNS} {DISCOVERY.DEVICE.STATUS} {DISCOVERY.DEVICE.UPTIME} {DISCOVERY.RULE.NAME} {DISCOVERY.SERVICE.NAME} {DISCOVERY.SERVICE.PORT} {DISCOVERY.SERVICE.STATUS} {DISCOVERY.SERVICE.UPTIME} {EVENT.ACK.STATUS} {EVENT.AGE} {EVENT.DATE} {EVENT.DURATION} {EVENT.ID} {EVENT.NAME} {EVENT.NSEVERITY} {EVENT.OBJECT} {EVENT.OPDATA} {EVENT.RECOVERY.DATE} {EVENT.RECOVERY.ID} {EVENT.RECOVERY.NAME} {EVENT.RECOVERY.STATUS} {EVENT.RECOVERY.TAGS} {EVENT.RECOVERY.TAGSJSON} {EVENT.RECOVERY.TIME} {EVENT.RECOVERY.VALUE} {EVENT.SEVERITY} {EVENT.SOURCE} {EVENT.STATUS} {EVENT.TAGS} {EVENT.TAGSJSON} {EVENT.TAGS.<tag name>} "j2" 365L, 8206B 4,1 Top {EVENT.TAGSJSON} {EVENT.TAGS.<tag name>} {EVENT.TIME} {EVENT.UPDATE.ACTION} {EVENT.UPDATE.DATE} {ACK.DATE} {EVENT.UPDATE.HISTORY} {EVENT.ACK.HISTORY} {EVENT.UPDATE.MESSAGE} {ACK.MESSAGE} {EVENT.UPDATE.NSEVERITY} {EVENT.UPDATE.SEVERITY} {EVENT.UPDATE.STATUS} {EVENT.UPDATE.TIME} {ACK.TIME} {EVENT.VALUE} {EVENT.CAUSE.*} {EVENT.SYMPTOMS} {EVENT.CAUSE.ACK.STATUS} {EVENT.CAUSE.AGE} {EVENT.CAUSE.DATE} {EVENT.CAUSE.DURATION} {EVENT.CAUSE.ID} {EVENT.CAUSE.NAME} {EVENT.CAUSE.NSEVERITY} {EVENT.CAUSE.OBJECT} {EVENT.CAUSE.OPDATA} {EVENT.CAUSE.SEVERITY} {EVENT.CAUSE.SOURCE} {EVENT.CAUSE.STATUS} {EVENT.CAUSE.TAGS} {EVENT.CAUSE.TAGSJSON} {EVENT.CAUSE.TAGS.<tag name>} {EVENT.CAUSE.TIME} {EVENT.CAUSE.UPDATE.HISTORY} {EVENT.CAUSE.VALUE} {EVENT.SYMPTOMS} {FUNCTION.VALUE<1-9>} {FUNCTION.RECOVERY.VALUE<1-9>} {HOST.CONN} 39,1 11% {FUNCTION.RECOVERY.VALUE<1-9>} {HOST.CONN} {HOST.CONN<1-9>} {HOST.DESCRIPTION} {HOST.DESCRIPTION<1-9>} {HOST.DNS} {HOST.DNS<1-9>} {HOST.HOST} {HOST.HOST<1-9>} {HOSTNAME<1-9>} {HOST.ID} {HOST.ID<1-9>} {HOST.IP} {HOST.IP<1-9>} {IPADDRESS<1-9>} {HOST.METADATA} {HOST.NAME} {HOST.NAME<1-9>} {HOST.PORT} {HOST.PORT<1-9>} {HOST.TARGET.CONN} {HOST.TARGET.DNS} {HOST.TARGET.HOST} {HOST.TARGET.IP} {HOST.TARGET.NAME} {HOSTGROUP.ID} {INVENTORY.ALIAS} {INVENTORY.ALIAS<1-9>} {INVENTORY.ASSET.TAG} {INVENTORY.ASSET.TAG<1-9>} {INVENTORY.CHASSIS} {INVENTORY.CHASSIS<1-9>} {INVENTORY.CONTACT} {INVENTORY.CONTACT<1-9>} {PROFILE.CONTACT<1-9>} {INVENTORY.CONTRACT.NUMBER} {INVENTORY.CONTRACT.NUMBER<1-9>} {INVENTORY.DEPLOYMENT.STATUS} {INVENTORY.DEPLOYMENT.STATUS<1-9>} {INVENTORY.HARDWARE} 77,1 23% {INVENTORY.DEPLOYMENT.STATUS<1-9>} {INVENTORY.HARDWARE} {INVENTORY.HARDWARE<1-9>} {PROFILE.HARDWARE<1-9>} {INVENTORY.HARDWARE.FULL} {INVENTORY.HARDWARE.FULL<1-9>} {INVENTORY.HOST.NETMASK} {INVENTORY.HOST.NETMASK<1-9>} {INVENTORY.HOST.NETWORKS} {INVENTORY.HOST.NETWORKS<1-9>} {INVENTORY.HOST.ROUTER} {INVENTORY.HOST.ROUTER<1-9>} {INVENTORY.HW.ARCH} {INVENTORY.HW.ARCH<1-9>} {INVENTORY.HW.DATE.DECOMM} {INVENTORY.HW.DATE.DECOMM<1-9>} {INVENTORY.HW.DATE.EXPIRY} {INVENTORY.HW.DATE.EXPIRY<1-9>} {INVENTORY.HW.DATE.INSTALL} {INVENTORY.HW.DATE.INSTALL<1-9>} {INVENTORY.HW.DATE.PURCHASE} {INVENTORY.HW.DATE.PURCHASE<1-9>} {INVENTORY.INSTALLER.NAME} {INVENTORY.INSTALLER.NAME<1-9>} {INVENTORY.LOCATION} {INVENTORY.LOCATION<1-9>} {PROFILE.LOCATION<1-9>} {INVENTORY.LOCATION.LAT} {INVENTORY.LOCATION.LAT<1-9>} {INVENTORY.LOCATION.LON} {INVENTORY.LOCATION.LON<1-9>} {INVENTORY.MACADDRESS.A} {INVENTORY.MACADDRESS.A<1-9>} {PROFILE.MACADDRESS<1-9>} {INVENTORY.MACADDRESS.B} {INVENTORY.MACADDRESS.B<1-9>} {INVENTORY.MODEL} {INVENTORY.MODEL<1-9>} {INVENTORY.NAME} {INVENTORY.NAME<1-9>} 115,1 35% {INVENTORY.NAME} {INVENTORY.NAME<1-9>} {PROFILE.NAME<1-9>} {INVENTORY.NOTES} {INVENTORY.NOTES<1-9>} {PROFILE.NOTES<1-9>} {INVENTORY.OOB.IP} {INVENTORY.OOB.IP<1-9>} {INVENTORY.OOB.NETMASK} {INVENTORY.OOB.NETMASK<1-9>} {INVENTORY.OOB.ROUTER} {INVENTORY.OOB.ROUTER<1-9>} {INVENTORY.OS} {INVENTORY.OS<1-9>} {PROFILE.OS<1-9>} {INVENTORY.OS.FULL} {INVENTORY.OS.FULL<1-9>} {INVENTORY.OS.SHORT} {INVENTORY.OS.SHORT<1-9>} {INVENTORY.POC.PRIMARY.CELL} {INVENTORY.POC.PRIMARY.CELL<1-9>} {INVENTORY.POC.PRIMARY.EMAIL} {INVENTORY.POC.PRIMARY.EMAIL<1-9>} {INVENTORY.POC.PRIMARY.NAME} {INVENTORY.POC.PRIMARY.NAME<1-9>} {INVENTORY.POC.PRIMARY.NOTES} {INVENTORY.POC.PRIMARY.NOTES<1-9>} {INVENTORY.POC.PRIMARY.PHONE.A} {INVENTORY.POC.PRIMARY.PHONE.A<1-9>} {INVENTORY.POC.PRIMARY.PHONE.B} {INVENTORY.POC.PRIMARY.PHONE.B<1-9>} {INVENTORY.POC.PRIMARY.SCREEN} {INVENTORY.POC.PRIMARY.SCREEN<1-9>} {INVENTORY.POC.SECONDARY.CELL} {INVENTORY.POC.SECONDARY.CELL<1-9>} {INVENTORY.POC.SECONDARY.EMAIL} {INVENTORY.POC.SECONDARY.EMAIL<1-9>} {INVENTORY.POC.SECONDARY.NAME} {INVENTORY.POC.SECONDARY.NAME<1-9>} {INVENTORY.POC.SECONDARY.NOTES} 153,1 46% {INVENTORY.POC.SECONDARY.NAME<1-9>} {INVENTORY.POC.SECONDARY.NOTES} {INVENTORY.POC.SECONDARY.NOTES<1-9>} {INVENTORY.POC.SECONDARY.PHONE.A} {INVENTORY.POC.SECONDARY.PHONE.A<1-9>} {INVENTORY.POC.SECONDARY.PHONE.B} {INVENTORY.POC.SECONDARY.PHONE.B<1-9>} {INVENTORY.POC.SECONDARY.SCREEN} {INVENTORY.POC.SECONDARY.SCREEN<1-9>} {INVENTORY.SERIALNO.A} {INVENTORY.SERIALNO.A<1-9>} {PROFILE.SERIALNO<1-9>} {INVENTORY.SERIALNO.B} {INVENTORY.SERIALNO.B<1-9>} {INVENTORY.SITE.ADDRESS.A} {INVENTORY.SITE.ADDRESS.A<1-9>} {INVENTORY.SITE.ADDRESS.B} {INVENTORY.SITE.ADDRESS.B<1-9>} {INVENTORY.SITE.ADDRESS.C} {INVENTORY.SITE.ADDRESS.C<1-9>} {INVENTORY.SITE.CITY} {INVENTORY.SITE.CITY<1-9>} {INVENTORY.SITE.COUNTRY} {INVENTORY.SITE.COUNTRY<1-9>} {INVENTORY.SITE.NOTES} {INVENTORY.SITE.NOTES<1-9>} {INVENTORY.SITE.RACK} {INVENTORY.SITE.RACK<1-9>} {INVENTORY.SITE.STATE} {INVENTORY.SITE.STATE<1-9>} {INVENTORY.SITE.ZIP} {INVENTORY.SITE.ZIP<1-9>} {INVENTORY.SOFTWARE} {INVENTORY.SOFTWARE<1-9>} {PROFILE.SOFTWARE<1-9>} {INVENTORY.SOFTWARE.APP.A} {INVENTORY.SOFTWARE.APP.A<1-9>} {INVENTORY.SOFTWARE.APP.B} {INVENTORY.SOFTWARE.APP.B<1-9>} {INVENTORY.SOFTWARE.APP.C} 191,1 58% {INVENTORY.SOFTWARE.APP.B<1-9>} {INVENTORY.SOFTWARE.APP.C} {INVENTORY.SOFTWARE.APP.C<1-9>} {INVENTORY.SOFTWARE.APP.D} {INVENTORY.SOFTWARE.APP.D<1-9>} {INVENTORY.SOFTWARE.APP.E} {INVENTORY.SOFTWARE.APP.E<1-9>} {INVENTORY.SOFTWARE.FULL} {INVENTORY.SOFTWARE.FULL<1-9>} {INVENTORY.TAG} {INVENTORY.TAG<1-9>} {PROFILE.TAG<1-9>} {INVENTORY.TYPE} {INVENTORY.TYPE<1-9>} {PROFILE.DEVICETYPE<1-9>} {INVENTORY.TYPE.FULL} {INVENTORY.TYPE.FULL<1-9>} {INVENTORY.URL.A} {INVENTORY.URL.A<1-9>} {INVENTORY.URL.B} {INVENTORY.URL.B<1-9>} {INVENTORY.URL.C} {INVENTORY.URL.C<1-9>} {INVENTORY.VENDOR} {INVENTORY.VENDOR<1-9>} {ITEM.DESCRIPTION} {ITEM.DESCRIPTION<1-9>} {ITEM.DESCRIPTION.ORIG} {ITEM.DESCRIPTION.ORIG<1-9>} {ITEM.ID} {ITEM.ID<1-9>} {ITEM.KEY} {ITEM.KEY<1-9>} {TRIGGER.KEY} {ITEM.KEY.ORIG} {ITEM.KEY.ORIG<1-9>} {ITEM.LASTVALUE} {HOST.HOST}{ITEM.KEY} {ITEM.LASTVALUE<1-9>} {ITEM.LOG.AGE} 229,1 70% {ITEM.LASTVALUE<1-9>} {ITEM.LOG.AGE} {ITEM.LOG.AGE<1-9>} {ITEM.LOG.DATE} {ITEM.LOG.DATE<1-9>} {ITEM.LOG.EVENTID} {ITEM.LOG.EVENTID<1-9>} {ITEM.LOG.NSEVERITY} {ITEM.LOG.NSEVERITY<1-9>} {ITEM.LOG.SEVERITY} {ITEM.LOG.SEVERITY<1-9>} {ITEM.LOG.SOURCE} {ITEM.LOG.SOURCE<1-9>} {ITEM.LOG.TIME} {ITEM.LOG.TIME<1-9>} {ITEM.NAME} {ITEM.NAME<1-9>} {ITEM.NAME.ORIG} {ITEM.NAME.ORIG<1-9>} {ITEM.STATE} {ITEM.STATE<1-9>} {ITEM.STATE.ERROR} {ITEM.VALUE} {ITEM.LASTVALUE} {ITEM.VALUE<1-9>} {ITEM.VALUETYPE} {ITEM.VALUETYPE<1-9>} {LLDRULE.DESCRIPTION} {LLDRULE.DESCRIPTION.ORIG} {LLDRULE.ID} {LLDRULE.KEY} {LLDRULE.KEY.ORIG} {LLDRULE.NAME} {LLDRULE.NAME.ORIG} {LLDRULE.STATE} {LLDRULE.STATE.ERROR} {MAP.ID} {MAP.NAME} {PROXY.DESCRIPTION} {PROXY.DESCRIPTION} 267,1 81% {PROXY.DESCRIPTION} {PROXY.DESCRIPTION} {PROXY.DESCRIPTION} {PROXY.DESCRIPTION<1-9>} {PROXY.NAME} {PROXY.NAME} {PROXY.NAME} {PROXY.NAME<1-9>} {SERVICE.DESCRIPTION} {SERVICE.NAME} {SERVICE.ROOTCAUSE} {SERVICE.TAGS} {SERVICE.TAGSJSON} {SERVICE.TAGS.<tag name>} {TRIGGER.DESCRIPTION} {TRIGGER.DESCRIPTION} {TRIGGER.COMMENT} {TRIGGER.EXPRESSION.EXPLAIN} {TRIGGER.EXPRESSION.RECOVERY.EXPLAIN} {TRIGGER.EVENTS.ACK} {TRIGGER.EVENTS.PROBLEM.ACK} {TRIGGER.EVENTS.PROBLEM.UNACK} {TRIGGER.EVENTS.UNACK} {TRIGGER.HOSTGROUP.NAME} {TRIGGER.PROBLEM.EVENTS.PROBLEM.ACK} {TRIGGER.PROBLEM.EVENTS.PROBLEM.UNACK} {TRIGGER.EXPRESSION} {TRIGGER.EXPRESSION.RECOVERY} {TRIGGER.ID} {TRIGGER.NAME} {EVENT.NAME} {TRIGGER.NAME.ORIG} {TRIGGER.NSEVERITY} {TRIGGER.SEVERITY} {TRIGGER.STATE} {TRIGGER.STATE.ERROR} {TRIGGER.STATUS} {STATUS} {TRIGGER.TEMPLATE.NAME} {TRIGGER.URL} 305,1 93% {TRIGGER.EVENTS.PROBLEM.ACK} {TRIGGER.EVENTS.PROBLEM.UNACK} {TRIGGER.EVENTS.UNACK} {TRIGGER.HOSTGROUP.NAME} {TRIGGER.PROBLEM.EVENTS.PROBLEM.ACK} {TRIGGER.PROBLEM.EVENTS.PROBLEM.UNACK} {TRIGGER.EXPRESSION} {TRIGGER.EXPRESSION.RECOVERY} {TRIGGER.ID} {TRIGGER.NAME} {EVENT.NAME} {TRIGGER.NAME.ORIG} {TRIGGER.NSEVERITY} {TRIGGER.SEVERITY} {TRIGGER.STATE} {TRIGGER.STATE.ERROR} {TRIGGER.STATUS} {STATUS} {TRIGGER.TEMPLATE.NAME} {TRIGGER.URL} {TRIGGER.URL.NAME} {TRIGGER.VALUE} {TRIGGERS.UNACK} {TRIGGERS.PROBLEM.UNACK} {TRIGGERS.ACK} {TRIGGERS.PROBLEM.ACK} {USER.FULLNAME} {USER.NAME} {USER.SURNAME} {USER.USERNAME} {USER.ALIAS} {$MACRO} {#MACRO} {?EXPRESSION} {HOST.*} {HOST.*}{HOST.*} {HOST.HOST<1-9>} {#SNMPINDEX}{HOST.HOST}{#SNMPINDEX} {MACRO<1-9>}{HOST.IP1}{HOST.IP2}{HOST.IP3}{FUNCTION.VALUE1}{FUNCTION.VALUE2}{FUNCTION.VALUE3} {HOST.HOST<1-9>}{?func(/host/key,param)}{?func(/{HOST.HOST2}
UPDATE
Writing the macro:
{?func(/host/key,param)}
in the message is enough to cause the crash.
- caused by
-
ZBXNEXT-6186 Add support for expression macro ({?...})
- Closed