
Hi!
i tried to configure active check in order zabbix to scan alert log of oracle system ,it should alert when it crossing by a error code in that log.
the server_agent.conf in oracle server side look like this
############ GENERAL PARAMETERS #################
Server=172.20.10.21
StartAgents=5
EnableRemoteCommands=1
DebugLevel=3
ServerActive=172.20.10.59:10050
LogFile=c:\zabbix\zabbix_agentd.log
Timeout=30
i cunfigured the server_agentd.conf in zabbix server side looks like that
##### Active checks related
### Option: ServerActive
# Example: ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]
# ServerActive=
ServerActive=172.20.10.59:10050
i'm getting those error in agent_log of my oracle server
15956:20150315:111831.095 active check configuration update from [172.20.10.59:10050] started to fail (ZBX_TCP_READ() failed: [0x00002746] An existing connection was forcibly closed by the remote host.)
15956:20150315:112131.592 active check configuration update from [172.20.10.59:10050] is working again
15956:20150315:112131.592 cannot parse list of active checks:
15956:20150315:112331.247 active check configuration update from [172.20.10.59:10050] started to fail (ZBX_TCP_READ() failed: [0x00002746] An existing connection was forcibly closed by the remote host.)
all ports open between the two servers.
and telnet been checked and found OK.
the item that i tring to create suppose to read the log with "logrt" function and read the log from the last point it's stops.
the command in the item look like that
logrt["C:\Oracle\diag\rdbms\jda74\jda74\trace\alert_jda7 4.log","ORA-",UTF-8,10,skip]
it will help me a lot if someone will post the right way to configure it in a few steps.
is there anyone who was able to configure that corectly ?
is anyone can provide me examples or the right way to do that step by step configuration?
thanks to you all
Valerie
Comment