Ad Widget

Collapse

deleted host still sending active checks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • acalvo
    Member
    • Oct 2010
    • 30

    #1

    deleted host still sending active checks

    After deleting a host, zabbix server still tries to send the list of active checks to that host.

    What I've done:
    Created a host
    Assigned a template
    Confirm it was working
    Disable host
    Unlink and clear templates
    Delete host

    This is the output from zabbix_server.log:
    Code:
    22218:20101105:131242.964 Sending list of active checks to [192.168.0.82] failed: host [AS5] not found
    Last edited by acalvo; 23-12-2010, 18:52. Reason: solved
  • Zaniwoop
    Senior Member
    • Jan 2010
    • 232

    #2
    If you query the database, is it still there?

    Code:
    USE zabbix;
    SELECT host FROM hosts where ip = '192.168.0.82';

    Comment

    • acalvo
      Member
      • Oct 2010
      • 30

      #3
      Originally posted by Zaniwoop
      If you query the database, is it still there?

      Code:
      USE zabbix;
      SELECT host FROM hosts where ip = '192.168.0.82';
      It doesn't exist:
      Code:
      mysql> SELECT host FROM hosts where ip = '192.168.0.82';
      Empty set (0.00 sec)

      Comment

      • alixen
        Senior Member
        • Apr 2006
        • 474

        #4
        Hi,

        What you get is normal.
        Zabbix agent asks periodically Zabbix server about active checks.
        If you have deleted that host in Zabbix server, Zabbix server logs an error message because it doesn't know this client anymore.

        If don't want to see this error message, just stop zabbix agent on client host.

        Regards,
        Alixen
        http://www.alixen.fr/zabbix.html

        Comment

        • acalvo
          Member
          • Oct 2010
          • 30

          #5
          Originally posted by alixen
          Hi,

          What you get is normal.
          Zabbix agent asks periodically Zabbix server about active checks.
          If you have deleted that host in Zabbix server, Zabbix server logs an error message because it doesn't know this client anymore.

          If don't want to see this error message, just stop zabbix agent on client host.

          Regards,
          Alixen
          You're right.
          I've thought it was the server who was trying to contact the agent (which I supposed it was already stopped).

          Thanks

          Comment

          • bashman
            Senior Member
            • Dec 2009
            • 432

            #6
            You can also add "DisableActive=1" to zabbix_agentd.conf.
            978 Hosts / 16.901 Items / 8.703 Triggers / 44 usr / 90,59 nvps / v1.8.15

            Comment

            Working...