Problem: We use the latest zabbix 1.1 beta 12 win32 agent and want to check the eventlog-files.
So we use the >hostname< keyword, because to get the eventlog-files
you need this keyword. The eventlog is read line by line, but after a while
the agent crashes!
The agent works 100% fine when we don´t use the keyword >hostname< without function eventlog.
Agent working perfektly without function eventlog:
server = 10.200.221.38
ServerPort=10051
#Hostname=i1jess011
ListenPort = 10050
LogFile = c:\zabbix_agentd.log
LogLevel = 0x07
TimeOut = 10
MaxCollectorProcessingTime = 500
function eventlog working and Agent crashes
server = 10.200.221.38
ServerPort=10051
Hostname=i1jess011
ListenPort = 10050
LogFile = c:\zabbix_agentd.log
LogLevel = 0x07
TimeOut = 10
MaxCollectorProcessingTime = 500
here the logfile:
C:\>zabbixw32 version
Zabbix Win32 Agent Version 1.1beta12-debug Build of May 31 2006
C:\>zabbixw32 standalone
Using configuration file "C:\zabbix_agentd.conf"
Configuration file OK
[31-May-2006 21:24:53] *************** Log file opened ****************
[31-May-2006 21:24:53] 3308 Debug Info: AddAlias == OK
[31-May-2006 21:24:53] 3436 Debug Info: CollectorThread start
[31-May-2006 21:24:53] 3436 Debug Info: counterPath1
[31-May-2006 21:24:53] 3436 Debug Info: \Prozessor(_Total)\Prozessorzeit (%)
[31-May-2006 21:24:53] 3436 Debug Info: counterPath2
[31-May-2006 21:24:53] 3436 Debug Info: \Prozessor(0)\Prozessorzeit (%)
[31-May-2006 21:24:54] 3436 Debug Info: counterPath3
[31-May-2006 21:24:54] 3436 Debug Info: \System\Prozessor-Warteschlangenlõnge
[31-May-2006 21:24:54] Collector thread initialized successfully
[31-May-2006 21:24:54] [31-May-2006 21:24:54] Zabbix Win32 Agent started
*** Zabbix Win32 agent operational. Press ESC to terminate. ***
[31-May-2006 21:24:54] 240 Debug Info: In ListenerThread()
[31-May-2006 21:24:54] 2228 Debug Info: Out of refresh_metrics()
Information: 1128 : Listen thread is Started.
[31-May-2006 21:24:54] 1128 Debug Info: In AcceptThread()
[31-May-2006 21:24:54] [31-May-2006 21:24:54] Information: 2880 : Listen thread
is Started.
[31-May-2006 21:24:54] 2880 Debug Info: In AcceptThread()
Information: 3284 : Listen thread is Started.
[31-May-2006 21:24:54] [31-May-2006 21:24:54] 3284 Debug Info: In AcceptThread(
[31-May-2006 21:24:54] Information: 1056 : Listen thread is Started.
1056 Debug Info: In AcceptThread()
[31-May-2006 21:24:54] Information: 3748 : Listen thread is Started.
[31-May-2006 21:24:54] [31-May-2006 21:24:54] 3748 Debug Info: In AcceptThread(
Information: 120 : Listen thread is Started.
[31-May-2006 21:24:54] 120 Debug Info: In AcceptThread()
[31-May-2006 21:24:54] [31-May-2006 21:24:54] Information: 3728 : Listen thread
is Started.
3728 Debug Info: In AcceptThread()
[31-May-2006 21:24:54] Information: 3880 : Listen thread is Started.
[31-May-2006 21:24:54] 3880 Debug Info: In AcceptThread()
[31-May-2006 21:24:54] [31-May-2006 21:24:54] Information: 3684 : Listen thread
is Started.
3684 Debug Info: In AcceptThread()
[31-May-2006 21:24:54] [31-May-2006 21:24:54] Information: 3832 : Listen thread
is Started.
3832 Debug Info: In AcceptThread()
any ideas???
Christian
So we use the >hostname< keyword, because to get the eventlog-files
you need this keyword. The eventlog is read line by line, but after a while
the agent crashes!
The agent works 100% fine when we don´t use the keyword >hostname< without function eventlog.
Agent working perfektly without function eventlog:
server = 10.200.221.38
ServerPort=10051
#Hostname=i1jess011
ListenPort = 10050
LogFile = c:\zabbix_agentd.log
LogLevel = 0x07
TimeOut = 10
MaxCollectorProcessingTime = 500
function eventlog working and Agent crashes
server = 10.200.221.38
ServerPort=10051
Hostname=i1jess011
ListenPort = 10050
LogFile = c:\zabbix_agentd.log
LogLevel = 0x07
TimeOut = 10
MaxCollectorProcessingTime = 500
here the logfile:
C:\>zabbixw32 version
Zabbix Win32 Agent Version 1.1beta12-debug Build of May 31 2006
C:\>zabbixw32 standalone
Using configuration file "C:\zabbix_agentd.conf"
Configuration file OK
[31-May-2006 21:24:53] *************** Log file opened ****************
[31-May-2006 21:24:53] 3308 Debug Info: AddAlias == OK
[31-May-2006 21:24:53] 3436 Debug Info: CollectorThread start
[31-May-2006 21:24:53] 3436 Debug Info: counterPath1
[31-May-2006 21:24:53] 3436 Debug Info: \Prozessor(_Total)\Prozessorzeit (%)
[31-May-2006 21:24:53] 3436 Debug Info: counterPath2
[31-May-2006 21:24:53] 3436 Debug Info: \Prozessor(0)\Prozessorzeit (%)
[31-May-2006 21:24:54] 3436 Debug Info: counterPath3
[31-May-2006 21:24:54] 3436 Debug Info: \System\Prozessor-Warteschlangenlõnge
[31-May-2006 21:24:54] Collector thread initialized successfully
[31-May-2006 21:24:54] [31-May-2006 21:24:54] Zabbix Win32 Agent started
*** Zabbix Win32 agent operational. Press ESC to terminate. ***
[31-May-2006 21:24:54] 240 Debug Info: In ListenerThread()
[31-May-2006 21:24:54] 2228 Debug Info: Out of refresh_metrics()
Information: 1128 : Listen thread is Started.
[31-May-2006 21:24:54] 1128 Debug Info: In AcceptThread()
[31-May-2006 21:24:54] [31-May-2006 21:24:54] Information: 2880 : Listen thread
is Started.
[31-May-2006 21:24:54] 2880 Debug Info: In AcceptThread()
Information: 3284 : Listen thread is Started.
[31-May-2006 21:24:54] [31-May-2006 21:24:54] 3284 Debug Info: In AcceptThread(
[31-May-2006 21:24:54] Information: 1056 : Listen thread is Started.
1056 Debug Info: In AcceptThread()
[31-May-2006 21:24:54] Information: 3748 : Listen thread is Started.
[31-May-2006 21:24:54] [31-May-2006 21:24:54] 3748 Debug Info: In AcceptThread(
Information: 120 : Listen thread is Started.
[31-May-2006 21:24:54] 120 Debug Info: In AcceptThread()
[31-May-2006 21:24:54] [31-May-2006 21:24:54] Information: 3728 : Listen thread
is Started.
3728 Debug Info: In AcceptThread()
[31-May-2006 21:24:54] Information: 3880 : Listen thread is Started.
[31-May-2006 21:24:54] 3880 Debug Info: In AcceptThread()
[31-May-2006 21:24:54] [31-May-2006 21:24:54] Information: 3684 : Listen thread
is Started.
3684 Debug Info: In AcceptThread()
[31-May-2006 21:24:54] [31-May-2006 21:24:54] Information: 3832 : Listen thread
is Started.
3832 Debug Info: In AcceptThread()
any ideas???
Christian

Comment