A
A
Andrey San2014-08-26 10:52:28
Zabbix
Andrey San, 2014-08-26 10:52:28

Zabbix doesn't work, more precisely I can't set up eventlog[system] under WIN OS, how can I do it?

Good afternoon, I want to set up a log audit on the 2008r2 server, but it doesn’t work,
the agent that is installed on Windows writes at
"c:\z\zabbix_agentd.exe" --config "c:\z\zabbix_agentd.conf"
--print eventlog[system ] m : ZBX_NOTSUPPORTED
please help
here is the config
Server=192.168.56.102
# ServerPort=10051
# Unique hostname. Required for active checks.
# The same name is written in the host name in Zabbix as a client
Hostname=win2008
# Listen port. Default is 10050
ListenPort=10050
# Name of log file.
LogFile=c:\zabbix\zabbix_agentd.log
# Maximum size of log file in MB. Set to 0 to disable automatic log rotation.
LogFileSize=10

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
soulruins, 2014-09-01
@admusers

1) eventlog - active check, if I'm not mistaken, it cannot be "knocked out" via zabbix_get ;
2) In the agent configuration, one of the required items is the key " ServerActive=<zabbix_server_address> ". An example of your configuration:

Server=192.168.56.102
ServerActive=192.168.56.102 
# ServerPort=10051
# Unique hostname. Required for active checks.
# Этот же нейм написано в имени host в заббиксе как клиента 
Hostname=win2008 
# Listen port. Default is 10050
ListenPort=10050
# Name of log file.
LogFile=c:\zabbix\zabbix_agentd.log
# Maximum size of log file in MB. Set to 0 to disable automatic log rotation.
LogFileSize=10

3) Create an item on the Zabbix server with the following parameters:
- Type: Zabbix агент (активный)
- Key:
eventlog[System,,"Error|Information","^Zabbix test event$"]

- Type of information: Журнал (лог)
4) Create a test event on the host:
5) Check the Zabbix server for the latest data on the observed host, a test event should appear there.

K
Kirill 1, 2014-08-26
@SmileyK

Hostname= in zabbix_agent.conf specified ?
or HostnameItem=system.hostname[host]
if my memory serves me.....

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question