Note: Only Unix
Official Documentation:
https://www.zabbix.com/documentation/3.4/manual/config/items/loadablemodules http://www.oracle.com/technetwork/database/features/oci/index-090945.html
to build this module you need:
- Download source code of Zabbix
- Run the
./configure
command (without arguments) in the root of Zabbix source tree - Run
make
- Set load module in zabbix_agentd.conf
alexander@mx:/etc/zabbix# cat zabbix_agentd.conf | grep ^LoadModule
LoadModulePath=${libdir}/modules
LoadModule=zbx_oracle.so
Example:
- You need to create macros
- You need to create item
Type: Zabbix agent (active) or Zabbix agent
Key: get_oracle_active_sessions[{$ORACLE_IP},{$ORACLE_PORT},{$ORACLE_SID},{$ORACLE_USER},{$ORACLE_PASSWORD}]