Ad Widget

Collapse

Retrieving info from windows event log

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marmul
    Junior Member
    • Jul 2009
    • 9

    #1

    Retrieving info from windows event log

    Hi Guys,
    i'm running 1.6.6 Zabbix Server with the pre complied agent on windows and i have difficulties in accessing the windows event log. My host and item configuration is attached. I hope anybody has some ideas what's wrong...

    my agent conf is as follow:
    This is config file for zabbix_agentd
    # To get more information about ZABBIX, go http://www.zabbix.com

    ############ GENERAL PARAMETERS #################

    # List of comma delimited IP addresses (or hostnames) of ZABBIX servers.
    # No spaces allowed. First entry is used for sending active checks.
    # Note that hostnames must resolve hostname->IP address and
    # IP address->hostname.

    Server=192.168.23.120

    # Server port for sending active checks

    #ServerPort=10051

    # Unique hostname. Required for active checks.

    Hostname=navdb

    # Listen port. Default is 10050

    #ListenPort=10050

    # IP address to bind agent
    # If missing, bind to all available IPs

    #ListenIP=192.168.23.14

    # 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=1

    # 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
    # 4 - information (default)
    # 5 - for debugging (produces lots of information)

    DebugLevel=5

    # Name of PID file

    PidFile=/var/run/zabbix-agent/zabbix_agentd.pid

    # Name of log file.
    # If not set, syslog will be used

    LogFile=C:\Programme\ZabbixAgent\log\zabbix_agentd .log

    # Maximum size of log file in MB. Set to 0 to disable automatic log rotation.
    #LogFileSize=1

    # Spend no more than Timeout seconds on processing
    # Must be between 1 and 30

    Timeout=3
    Attached Files
  • marmul
    Junior Member
    • Jul 2009
    • 9

    #2
    I solved it finally. It was the configuration of the active check.

    It's important to configure the hostname in the agent.conf that way that it has the same name as monitored host (not the host name of the monitored host), that name you provide zabbix....

    Comment

    Working...