Asterisk in Debian 9: no res_snmp.so

Hi all! I am useing latest Asterisk package in Debian 9 ( Asterisk 13.14.1~dfsg-2)

I need to use snmp to monitor Asterisk via Zabbix, but current version doesn’t include modele res_snmp.so.

I’ve tried to use this file copied from other servers but I’ve got such errors as^

[Jul 4 10:36:35] WARNING[25198]: loader.c:556 load_dynamic_module: Error loading module ‘res_snmp.so’: /usr/lib/asterisk/modules/res_snmp.so: undefined symbol: ast_bridged_channel
[Jul 4 10:36:35] WARNING[25198]: loader.c:1090 load_resource: Module ‘res_snmp.so’ could not be loaded.

or

[Jul 4 11:13:52] WARNING[25478]: loader.c:1005 inspect_module: Module ‘res_snmp.so’ was not compiled with the same compile-time options as this version of Asterisk.
[Jul 4 11:13:52] WARNING[25478]: loader.c:1006 inspect_module: Module ‘res_snmp.so’ will not be initialized as it may cause instability.

How can I add it to my server without reinstalling whole Asterisk (it’s in use 24/7)?

Think you need to make sure you have snmp installed before installing Asterisk, but I am not sure as I always install from source, there it works by having snmp as a prerequisite.

So, think you are stuck, as the system is in use 24/7. Maybe the guru’s that be may have a solution…