Ad Widget

Collapse

Newbie: hosts and items defined, but no evidence that data is being collected

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • catdude
    Junior Member
    • Oct 2014
    • 12

    #1

    Newbie: hosts and items defined, but no evidence that data is being collected

    I've installed Zabbix 2.4.1 on one of my machines, and zabbix_agentd on the zabbix machine and 3 other servers. I've created a host entry for server ffmpeg1 and added some items (some simple checks and some zabbix agent items).

    After leaving the system running overnight, I went to Monitoring/Latest Data, hoping to see some data, but there's nothing there.

    I verified that the agent is running on ffmpeg1 by telneting to port 10050 and entering "system.cpu.load" and observing the value. Ditto on the zabbix server itself - I can talk to port 10050 on localhost and query values with no problem.

    /var/log/zabbix/zabbix_server.log contains :
    <startup lines omitted for space>
    20582:20141212:083405.252 server #3 started [poller #1]
    20598:20141212:083405.254 server #18 started [http poller #1]
    20600:20141212:083405.254 server #20 started [history syncer #1]
    20603:20141212:083405.255 server #23 started [history syncer #4]
    20602:20141212:083405.255 server #22 started [history syncer #3]
    20604:20141212:083405.255 server #24 started [escalator #1]
    20606:20141212:083405.256 server #26 started [self-monitoring #1]
    20605:20141212:083405.256 server #25 started [proxy poller #1]
    20580:20141212:083405.266 server #1 started [configuration syncer #1]
    20599:20141212:083405.376 server #19 started [discoverer #1]
    20588:20141212:083511.287 cannot send list of active checks to [10.0.0.4]: host [ffmpeg3] not found

    What's interesting about that last line is that I installed zabbix_agentd on ffmpeg3, but I have not created a host entry for it in zabbix.

    What do I need to look at to determine why I'm not collecting data?

    I don't know if it's related, but I do have SELinux set to permissive mode.
  • catdude
    Junior Member
    • Oct 2014
    • 12

    #2
    Update: data is being gathered, but not easily displayed on &quot;Latest Data&quot; page

    It appears that I'm experiencing the issue described in https://www.zabbix.com/forum/showthr...est+data+empty - if I enter a host name in the search box and click "Search", I am presented with data.

    I will follow up through the other thread.

    Comment

    • aib
      Senior Member
      • Jan 2014
      • 1615

      #3
      Originally posted by catdude
      20588:20141212:083511.287 cannot send list of active checks to [10.0.0.4]: host [ffmpeg3] not found

      What's interesting about that last line is that I installed zabbix_agentd on ffmpeg3, but I have not created a host entry for it in zabbix.
      Let me guess: you installed Zabbix Agent on ffmpeg3 and configured not only
      Code:
      Server=ip_address_of_zabbix_server
      but also
      Code:
      ServerActive=ip_address_of_zabbix_server
      And now the zabbix agent asks the server from "ServerActive=" description about the list of Active Checks.

      If you don't have any Zabbix Agent(active) checks - please, never configure "ServerActive=" key.

      Please, don't do it. And thank you...
      Sincerely yours,
      Aleksey

      Comment

      • catdude
        Junior Member
        • Oct 2014
        • 12

        #4
        Yep, that's exactly what I did. Thanks for pointing that out!

        My zabbix_agentd.conf now contains:
        PidFile=/var/run/zabbix/zabbix_agent.pid
        LogFile=/var/log/zabbix/zabbix_agentd.log
        LogFileSize=50
        EnableRemoteCommands=1
        LogRemoteCommands=1
        Server=10.0.0.50
        Timeout=20

        and I've restarted zabbix-agentd on all machines, so that ought to help.

        Comment

        • aib
          Senior Member
          • Jan 2014
          • 1615

          #5
          In Monitoring -> Latest data tab there is small legend "Show filters" arounded by double arrows down.
          Click on it, fill up the field "Hosts" or "Host Groups" - and click on "Filter"

          Then your last settings will be remembered until next change.
          Sincerely yours,
          Aleksey

          Comment

          • catdude
            Junior Member
            • Oct 2014
            • 12

            #6
            Excellent! That now displays exactly as I wanted it to.

            Thank you so much!

            Comment

            Working...