Hi,
i use zabbix 1.1 and try to monitor windows eventlogs but it is not working.
In latest data, i only get a "-" in last check and last value.
in history, there is no data.
i configured the item like this:
Description: eventlog[System]
Type: ZABBIX agent (active)
Key: eventlog[System]
Type of info: LOG
update int: 30
history: 90
trends: 90
Status: Monitored
My zabbix agent is started as service on the windows computer and i get all other values that i need.
i can do a telnet to the server (telnet x.x.x.x 10051)
in my windows-zabbix-logfile i get:
[27-Jun-2006 14:19:04] *************** Log file opened ****************
[27-Jun-2006 14:19:04] Collector thread initialized successfully
[27-Jun-2006 14:19:04] Zabbix Win32 Agent started
[27-Jun-2006 14:19:04] Information: 4960 : Listen thread is Started.
[27-Jun-2006 14:19:04] Information: 4600 : Listen thread is Started.
[27-Jun-2006 14:19:04] Information: 2872 : Listen thread is Started.
[27-Jun-2006 14:19:04] Information: 1960 : Listen thread is Started.
[27-Jun-2006 14:19:04] Information: 4336 : Listen thread is Started.
[27-Jun-2006 14:19:04] Information: 3616 : Listen thread is Started.
[27-Jun-2006 14:19:04] Information: 5356 : Listen thread is Started.
[27-Jun-2006 14:19:04] Information: 4176 : Listen thread is Started.
[27-Jun-2006 14:19:04] Information: 3704 : Listen thread is Started.
[27-Jun-2006 14:19:04] Information: 1004 : Listen thread is Started.
.....when i start the service.
this is the zabbix_agentd.conf on windows:
Server=10.51.99.14
# Server port for sending active checks
ServerPort=10051
# Unique hostname. Required for active checks.
Hostname=zabbix
# Listen port. Default is 10050
ListenPort=10050
# IP address to bind agent
# If missing, bind to all available IPs
#ListenIP=127.0.0.1
# Number of pre-forked instances of zabbix_agentd.
# Default value is 5
# This parameter must be between 1 and 16
StartAgents=5
# How often refresh list of active checks. 2 minutes by default.
RefreshActiveChecks=120
# Disable active checks. The agent will work in passive mode listening server.
DisableActive=0
# Enable remote commands for ZABBIX agent. By default remote commands disabled.
#EnableRemoteCommands=1
# Specifies debug level
# 0 - debug is not created
# 1 - critical information
# 2 - error information
# 3 - warnings (default)
# 4 - for debugging (produces lots of information)
DebugLevel=4
# Name of PID file
PidFile=/var/tmp/zabbix_agentd.pid
# Name of log file.
# If not set, syslog will be used
LogFile=c:\zabbix_agentd.log
# Spend no more than Timeout seconds on processing
# Must be between 1 and 30
Timeout=3
####### USER-DEFINED MONITORED PARAMETERS #######
# Format: UserParameter=<key>,<shell command>
# Note that shell command must not return empty string or EOL only
#UserParameter=system.test,who|wc -l
### Set of parameter for monitoring MySQL server (v3.23.42 and later)
### Change -u<username> and add -p<password> if required
#UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
#UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
#UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
#UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
#UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
#UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
#UserParameter=mysql.version,mysql -V
any idea ?
thnx
Phil.
i use zabbix 1.1 and try to monitor windows eventlogs but it is not working.
In latest data, i only get a "-" in last check and last value.
in history, there is no data.
i configured the item like this:
Description: eventlog[System]
Type: ZABBIX agent (active)
Key: eventlog[System]
Type of info: LOG
update int: 30
history: 90
trends: 90
Status: Monitored
My zabbix agent is started as service on the windows computer and i get all other values that i need.
i can do a telnet to the server (telnet x.x.x.x 10051)
in my windows-zabbix-logfile i get:
[27-Jun-2006 14:19:04] *************** Log file opened ****************
[27-Jun-2006 14:19:04] Collector thread initialized successfully
[27-Jun-2006 14:19:04] Zabbix Win32 Agent started
[27-Jun-2006 14:19:04] Information: 4960 : Listen thread is Started.
[27-Jun-2006 14:19:04] Information: 4600 : Listen thread is Started.
[27-Jun-2006 14:19:04] Information: 2872 : Listen thread is Started.
[27-Jun-2006 14:19:04] Information: 1960 : Listen thread is Started.
[27-Jun-2006 14:19:04] Information: 4336 : Listen thread is Started.
[27-Jun-2006 14:19:04] Information: 3616 : Listen thread is Started.
[27-Jun-2006 14:19:04] Information: 5356 : Listen thread is Started.
[27-Jun-2006 14:19:04] Information: 4176 : Listen thread is Started.
[27-Jun-2006 14:19:04] Information: 3704 : Listen thread is Started.
[27-Jun-2006 14:19:04] Information: 1004 : Listen thread is Started.
.....when i start the service.
this is the zabbix_agentd.conf on windows:
Server=10.51.99.14
# Server port for sending active checks
ServerPort=10051
# Unique hostname. Required for active checks.
Hostname=zabbix
# Listen port. Default is 10050
ListenPort=10050
# IP address to bind agent
# If missing, bind to all available IPs
#ListenIP=127.0.0.1
# Number of pre-forked instances of zabbix_agentd.
# Default value is 5
# This parameter must be between 1 and 16
StartAgents=5
# How often refresh list of active checks. 2 minutes by default.
RefreshActiveChecks=120
# Disable active checks. The agent will work in passive mode listening server.
DisableActive=0
# Enable remote commands for ZABBIX agent. By default remote commands disabled.
#EnableRemoteCommands=1
# Specifies debug level
# 0 - debug is not created
# 1 - critical information
# 2 - error information
# 3 - warnings (default)
# 4 - for debugging (produces lots of information)
DebugLevel=4
# Name of PID file
PidFile=/var/tmp/zabbix_agentd.pid
# Name of log file.
# If not set, syslog will be used
LogFile=c:\zabbix_agentd.log
# Spend no more than Timeout seconds on processing
# Must be between 1 and 30
Timeout=3
####### USER-DEFINED MONITORED PARAMETERS #######
# Format: UserParameter=<key>,<shell command>
# Note that shell command must not return empty string or EOL only
#UserParameter=system.test,who|wc -l
### Set of parameter for monitoring MySQL server (v3.23.42 and later)
### Change -u<username> and add -p<password> if required
#UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
#UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
#UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
#UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
#UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
#UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
#UserParameter=mysql.version,mysql -V
any idea ?
thnx
Phil.
Comment