Ad Widget

Collapse

Discovery of hosts with multiple IPs?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • graeme
    Junior Member
    • Aug 2008
    • 4

    #1

    Discovery of hosts with multiple IPs?

    Hi all,

    I'm trying to get Zabbix's discovery features tweaked to add my servers automagically. I've mostly got it working (detects servers running the zabbix agent and adds them to monitoring, with the right OS and services monitoring), but I've run into a snag:

    When it scans a subnet, if a host is listening on multiple IPs, it doesn't seem to be smart enough to figure out that it's actually the same host, and starts monitoring them multiple times. I figured that since they're all running the active agent, it could just talk to the agent and the agent could tell it they're actually the same host, but that doesn't seem to be happening.

    Is there a way to configure auto-discovery to take into account hosts with multiple IPs, and only create one host entry for them? I searched through the forums and the docs and couldn't see anything off hand, but if there's something obvious I'm missing, I'd love a pointer to it.

    Thanks!
  • vinny
    Senior Member
    • Jan 2008
    • 145

    #2
    To filter this, the only way i see is adding a discovery check to detect snmp hostname maybe ?
    to be tested

    vinny
    -------
    Zabbix 1.8.3, 1200+ Hosts, 40 000+ Items...zabbix's everywhere

    Comment

    • graeme
      Junior Member
      • Aug 2008
      • 4

      #3
      Hmm.. not too keen on installing snmpd on all my servers if they're already running the Zabbix agent, seems like overkill. Can't the agent already return the hostname?

      Regardless, if I had a probe for the hostname, how would I filter based on that to group the IPs together?

      Comment

      • graeme
        Junior Member
        • Aug 2008
        • 4

        #4
        Anyone? This seems like it should be something easy, but I'm starting to get the impression it wasn't actually planned for.

        Comment

        • i0x71
          Junior Member
          • Jun 2011
          • 1

          #5
          auto-discovery with multiple ip's

          Well its been a while since last post, has anyone figured it out yet ?
          I am using version 1.8.5

          Comment

          • toddblake
            Junior Member
            Zabbix Certified Specialist
            • Jul 2011
            • 27

            #6
            I did it via setting the "Device uniqueness criteria" dropdown to 'Zabbix agent "system.hostname"' and including that particular metric in my list of items to check upon discovery. Only caveat is that it requires an agent but that or snmp are the only sure-fire way.

            Comment

            Working...