I have a template that has a function error problem, because there is not enough data to evaluate ( will still be collected ). In the moment this triggers are generate by LLD, the servers stops with this on log ( level 5 ):
287:20240725:054227.897 zbx_substitute_functions_results() expression[101]:'({55489}>({55490}*0.60) and {55490}<=16 and {55490}>=8) or ({55489}>({55490}*0.40) and {55490}>=17 and {55490}<=32) or ({55489}>({55490}*0.25) and {55490}>=33)' => '(0>(ERROR(Cannot evaluate function last(/10006-OLT_MAUA/hwGponDeviceOltControlOntNum.[4194345216]): not enough data.)*0.60) and ERROR(Cannot evaluate function last(/10006-OLT_MAUA/hwGponDeviceOltControlOntNum.[4194345216]): not enough data.)<=16 and ERROR(Cannot evaluate function last(/10006-OLT_MAUA/hwGponDeviceOltControlOntNum.[4194345216]): not enough data.)>=8) or (0>(ERROR(Cannot evaluate function last(/10006-OLT_MAUA/hwGponDeviceOltControlOntNum.[4194345216]): not enough data.)*0.40) and ERROR(Cannot evaluate function last(/10006-OLT_MAUA/hwGponDeviceOltControlOntNum.[4194345216]): not enough data.)>=17 and ERROR(Cannot evaluate function last(/10006-OLT_MAUA/hwGponDeviceOltControlOntNum.[4194345216]): not enough data.)<=32) or (0>(ERROR(Cannot evaluate function last(/10006-OLT_MAUA/hwGponDeviceOltControlOntNum.[4194345216]): not enough data.)*0.25) and ERROR(Cannot evaluate function last(/10006-OLT_MAUA/hwGponDeviceOltControlOntNum.[4194345216]): not enough data.)>=33)' 287:20240725:054227.897 zbx_substitute_functions_results() expression[102]:'{55523}=2 and {55524}>=3 and ({55525}={55526})' => 'ERROR(Cannot evaluate function last(/10006-OLT_MAUA/hwGponDeviceOltControlStatus_[4194345216]): not enough data.)=2 and ERROR(Cannot evaluate function last(/10006-OLT_MAUA/hwGponDeviceOltControlOntNum.[4194345216]): not enough data.)>=3 and (ERROR(Cannot evaluate function last(/10006-OLT_MAUA/onu_los_[4194345216]): not enough data.)=0)' 287:20240725:054227.897 zbx_substitute_functions_results() expression[103]:'{55555}=2 and {55556}>=3 and ({55557}>{55558})' => 'ERROR(Cannot evaluate function last(/10006-OLT_MAUA/hwGponDeviceOltControlStatus_[4194345216]): not enough data.)=2 and ERROR(Cannot evaluate function last(/10006-OLT_MAUA/hwGponDeviceOltControlOntNum.[4194345216]): not enough data.)>=3 and (0>ERROR(Cannot evaluate function last(/10006-OLT_MAUA/onu_los_[4194345216]): not enough data.))' 287:20240725:054227.897 zbx_substitute_functions_results() expression[104]:'{55587}=2 and {55588}>=3 and ({55589}>{55590})' => 'ERROR(Cannot evaluate function last(/10006-OLT_MAUA/hwGponDeviceOltControlStatus_[4194345216]): not enough data.)=2 and ERROR(Cannot evaluate function last(/10006-OLT_MAUA/hwGponDeviceOltControlOntNum.[4194345216]): not enough data.)>=3 and (ERROR(Cannot evaluate function last(/10006-OLT_MAUA/onu_los_[4194345216]): not enough data.)>0)' 287:20240725:054227.897 End of zbx_substitute_functions_results() 1:20240725:054227.897 End of zbx_ipc_service_recv():2 1:20240725:054227.897 In zbx_ha_dispatch_message() 1:20240725:054227.897 End of zbx_ha_dispatch_message():SUCCEED 1:20240725:054227.897 One child process died (PID:619,exitcode/signal:0). Exiting ...
After the One child process died, everything falls apart and server stops.
If I disable this triggers Zabbix don't crash.
On the Attachment there is the template that is causing the Zabbix Server to crash it.
Trigger names are:
{#IFNAME} {#IFALIAS}: Queda massiva de ONU por falta de sinal.
{#IFNAME}
{#IFALIAS}
: Queda massiva de ONU's por falta de energia.
If any more information is necessary, please just ask for it.
- duplicates
-
ZBX-24779 Process exits on external/alert scripts
- Closed