There is still ticket https://support.zabbix.com/browse/ZBXNEXT-1444 about zabbix and lua integration. I think it is very good way how to add some scripting into Zabbix.
There are some tickets what to do with lua inside Zabbix. But my question is, if it is not good idea to use lua as internal scripting language for almost everything
Good example is LLD. This is function which is "embedded" in zabbix_server process. But why to not migrate this function into lua? I know this means lot of work into Zabbix code, but it can be easier to add functions like autodiscovery with more user control, scaning network and devices autodetection etc. Lua scripts could be either embedded into zabbix_server process during compile time or stored in database. But it would be easier to maintain some number of lua scripts than hack source code of zabbix for some function (like https://support.zabbix.com/browse/ZBXNEXT-1353) .
After it, lua could be used in any trigger/action/other and toether with macro expansion, it could be very usefull tool.
Any suggestions?
There are some tickets what to do with lua inside Zabbix. But my question is, if it is not good idea to use lua as internal scripting language for almost everything

Good example is LLD. This is function which is "embedded" in zabbix_server process. But why to not migrate this function into lua? I know this means lot of work into Zabbix code, but it can be easier to add functions like autodiscovery with more user control, scaning network and devices autodetection etc. Lua scripts could be either embedded into zabbix_server process during compile time or stored in database. But it would be easier to maintain some number of lua scripts than hack source code of zabbix for some function (like https://support.zabbix.com/browse/ZBXNEXT-1353) .
After it, lua could be used in any trigger/action/other and toether with macro expansion, it could be very usefull tool.
Any suggestions?
Comment