Greetings,
I have configured Zabbix Agent 2 with Template DB Oracle by Zabbix Agent 2 on multiple hosts. It works on first host, on second host I get an error:
Oracle support says that this is due to error in timezone information, possible causes are:
1. The *.dat files are not present in the default location
- I have checked it and files are present in default location on both servers.
2. There permission problems on the files in $ORACLE_HOME/oracore/zoneinfo
- Files have read permissions.
3. The ORA_TZFILE environment variable (which can be used to change the default file in use) is pointing to a nonexistent
file.
- ORA_TZFILE is not set.
4. The file that is currently in use (timezlrg.dat by default) is corrupt.
SYS@oracle> select filename, version from v$timezone_file;
FILENAME VERSION
-------------------- ----------
timezlrg_32.dat 32
I have checked all four of them and everything looks ok. There is also no error in setting session's timezone:
alter session set time_zone = 'Europe/Berlin';
Session altered.
Oracle is not complaining, but Zabbix is still reporting that error under Configuration/Hosts/Discovery rules/Info.
Does anyone have any idea, how to solve that error? Is it possible to trace/debug it somehow?
Thank you for help!
Servers details:
- Zabbix server:
- First Oracle server:
- Second Oracle server:
I have configured Zabbix Agent 2 with Template DB Oracle by Zabbix Agent 2 on multiple hosts. It works on first host, on second host I get an error:
Code:
Connection failed: ORA-01804: Error while trying to retrieve text for error ORA-01804
1. The *.dat files are not present in the default location
- I have checked it and files are present in default location on both servers.
2. There permission problems on the files in $ORACLE_HOME/oracore/zoneinfo
- Files have read permissions.
3. The ORA_TZFILE environment variable (which can be used to change the default file in use) is pointing to a nonexistent
file.
- ORA_TZFILE is not set.
4. The file that is currently in use (timezlrg.dat by default) is corrupt.
SYS@oracle> select filename, version from v$timezone_file;
FILENAME VERSION
-------------------- ----------
timezlrg_32.dat 32
I have checked all four of them and everything looks ok. There is also no error in setting session's timezone:
alter session set time_zone = 'Europe/Berlin';
Session altered.
Oracle is not complaining, but Zabbix is still reporting that error under Configuration/Hosts/Discovery rules/Info.
Does anyone have any idea, how to solve that error? Is it possible to trace/debug it somehow?
Thank you for help!
Servers details:
- Zabbix server:
Code:
Static hostname: zabbix.local Icon name: computer-vm Chassis: vm Machine ID: c263009914614af3a62fbabe3e160140 Boot ID: add04d5336a446efb6e141de04b12936 Virtualization: xen Operating System: Oracle Linux Server 7.9 CPE OS Name: cpe:/o:oracle:linux:7:9:server Kernel: Linux 4.1.12-124.48.5.el7uek.x86_64 Architecture: x86-64
Code:
zabbix_server (Zabbix) 5.0.9 Revision 4d07aaafe2 22 February 2021, compilation time: Feb 22 2021 12:32:13
Code:
Static hostname: oracle1.local Icon name: computer-vm Chassis: vm Machine ID: 64e580fc72174b90b1452aeca12b9348 Boot ID: b0049786022b459194d94de215b6c51d Virtualization: xen Operating System: Oracle Linux Server 7.9 CPE OS Name: cpe:/o:oracle:linux:7:9:server Kernel: Linux 4.14.35-2025.401.4.el7uek.x86_64 Architecture: x86-64
Code:
zabbix_agent2 (Zabbix) 5.0.13 Revision c218b76dad 28 June 2021, compilation time: Jun 28 2021 12:26:03
Code:
Oracle Version ---------------------------------------------------------------------- Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.8.0.0.0
Code:
Environment variables: LD_LIBRARY_PATH=:/oracle/app/oracle/product/19.0.0/dbhome_1/lib ORACLE_HOME=/oracle/app/oracle/product/19.0.0/dbhome_1
Code:
Static hostname: oracle2.local Icon name: computer-vm Chassis: vm Machine ID: 64e580fc72174b90b1452aeca12b9348 Boot ID: f5f0ca0564424e0e97e4f4fbcb119018 Virtualization: xen Operating System: Oracle Linux Server 7.7 CPE OS Name: cpe:/o:oracle:linux:7:7:server Kernel: Linux 4.14.35-1902.6.6.el7uek.x86_64 Architecture: x86-64
Code:
zabbix_agent2 (Zabbix) 5.0.13 Revision c218b76dad 28 June 2021, compilation time: Jun 28 2021 12:26:03
Code:
Oracle Version ---------------------------------------------------------------------- Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.8.0.0.0
Code:
Environment variables: LD_LIBRARY_PATH=:/oracle/app/oracle/product/19.0.0/dbhome_1/lib ORACLE_HOME=/oracle/app/oracle/product/19.0.0/dbhome_1
Comment