Ad Widget

Collapse

active checks dont seem to work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fonzisherman
    Junior Member
    • Sep 2009
    • 11

    #1

    active checks dont seem to work

    Hi I have had a passive setup working for a little while now and want to enable active checks so i can monitor windows event logs.

    I have been looking through the forums and the suggestions re: active checks dont seem to be helping me, if anyone has a chance to review this and help me out let me know.

    basically i am testing active checks on disk space free, which was working fine. i set the item type to zabbix item (active) and its no longer graphing data.

    here is my agentd.conf file:

    Code:
    Server=mbroers-zabbix3
    
    # Server port for sending active checks
    
    ServerPort=10051
    
    # Unique hostname. Required for active checks.
    
    Hostname=mbroers-zabbix3
    
    # 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=0
    
    # 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=4
    
    # Name of PID file
    
    #PidFile=C:\Program Files\Zabbix Agent/Zabbix_agentd.pid
    
    # Name of log file.
    # If not set, syslog will be used
    
    LogFile=C:\Program Files\Zabbix Agent\Zabbix_agentd.log
    
    # Spend no more than Timeout seconds on processing
    # Must be between 1 and 30
    
    Timeout=5
    when i telnet from the windows server to the zabbix server at port 10051 it just sits there, when i start typing anything it kicks me back to the telnet prompt, so im not sure how to troubleshoot further. there are no firewalls setup, these are both sandbox vms so i can do whatever i need to with them. any advice is appreciated!
  • fonzisherman
    Junior Member
    • Sep 2009
    • 11

    #2
    logfile on client side zabbix_agentd shows values being place in a send_buffer?

    4092:20090908:161437 Requested [system.swap.size[,free]]
    4092:20090908:161437 Sending back [1844498432]
    2800:20090908:161438 In send_buffer('mbroers-zabbix3','10051')
    2800:20090908:161438 Values in the buffer 0 Max 100
    2800:20090908:161438 Sleeping for 1 seconds
    472:20090908:161438 In collect_cpustat()
    2800:20090908:161439 In send_buffer('mbroers-zabbix3','10051')
    2800:20090908:161439 Values in the buffer 0 Max 100
    2800:20090908:161439 Sleeping for 1 seconds
    472:20090908:161439 In collect_cpustat()
    2800:20090908:161440 In send_buffer('mbroers-zabbix3','10051')
    2800:20090908:161440 Values in the buffer 0 Max 100
    2800:20090908:161440 Sleeping for 1 seconds
    472:20090908:161440 In collect_cpustat()
    3928:20090908:161440 Processing request.
    3928:20090908:161440 In check_security()
    3928:20090908:161440 Requested [system.cpu.load[,avg1]]
    3928:20090908:161440 Sending back [4.133333]
    2800:20090908:161441 In send_buffer('mbroers-zabbix3','10051')
    2800:20090908:161441 Values in the buffer 0 Max 100
    2800:20090908:161441 Sleeping for 1 seconds
    472:20090908:161441 In collect_cpustat()
    2800:20090908:161442 In send_buffer('mbroers-zabbix3','10051')
    2800:20090908:161442 Values in the buffer 0 Max 100
    2800:20090908:161442 Sleeping for 1 seconds
    472:20090908:161442 In collect_cpustat()
    2800:20090908:161443 In send_buffer('mbroers-zabbix3','10051')
    2800:20090908:161443 Values in the buffer 0 Max 100
    2800:20090908:161443 Sleeping for 1 seconds
    472:20090908:161443 In collect_cpustat()

    Comment

    • fonzisherman
      Junior Member
      • Sep 2009
      • 11

      #3
      still having no luck with active checks. in other posts people say the hostname in the agentd.conf has to match the hostname in the gui, can anyone specify where in the gui this has to be set? just in hostname dns configuration?

      i can telnet from the client to the server on port 10051, it just sits there until i type something and then it kicks me off. the checks are set to zabbix agent (active) but no data seems to be coming across.

      please advise?

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        Originally posted by fonzisherman
        just in hostname dns configuration?
        It has nothing to do with the DNS. It must match host name as seen in the list of hosts (not DNS name!).
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • fonzisherman
          Junior Member
          • Sep 2009
          • 11

          #5
          eureka! thanks alexei! its working now, i had it set in the dns but it was all caps in the host name field. i set it to all caps in my agentd.conf and its working as far as i can tell i am getting data now.

          thanks again a lot! now i have to setup eventlog monitoring :|

          Comment

          Working...