Ad Widget

Collapse

net.tcp.dns not working?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • WO-Jacob
    Junior Member
    • Dec 2006
    • 5

    #1

    net.tcp.dns not working?

    Hey guys!

    We've just recently started working with Zabbix, and I'm trying to build some monitors to make sure our dns servers are still serving zones properly.

    From the checks available, net.tcp.dns seemed the most applicable, and easiest to use.

    From what I could tell from the source code in libs/zbxsysinfo/common/common.c for CHECK_DNS it looks like I assumed operation correctly.

    The selection helper lists it like this:

    net.tcp.dns[ip, zone]

    Which, I assume, if we had a dns server at, say, 10.0.0.1 and a zone of abc.com, we would check the dns server for operation like so:

    net.tcp.dns[10.0.0.1, abc.com]

    This has been returning false for us, even though a manual lookup using 'host' shows the dns server works fine.

    So, I also tried, thinking maybe I had it wrong, to list the ip that the domain should resolve to and not the ip of the dns server... for example...

    Say abc.com is supposed to reolve to 1.2.3.4, I tried:

    net.tcp.dns[1.2.3.4, abc.com]

    This failed as well.

    Anyone have any ideas?

    Thanks!
  • marcele
    Junior Member
    • Mar 2007
    • 5

    #2
    I also have the same issue .. the dns check doesn't work for me..

    Comment

    • dagof
      Junior Member
      • Nov 2006
      • 14

      #3
      Working pretty well on 1.1.4. What version are you using?

      Comment

      • voyager
        Junior Member
        • Mar 2007
        • 4

        #4
        just today i configured dns items and it works well for me on 1.1.4 version,
        even with 127.0.0.1 or the real external accessible IP.

        Comment

        • dwoodruff
          Junior Member
          • Mar 2007
          • 7

          #5
          net.tcp.dns not working on 1.3.3

          I am having the same trouble with net.tcp.dns[x.x.x.x,domain.com] with Zabbix 1.3.3

          Is this a bug in 1.3.3 since others are reporting it works with 1.1.4?

          This is what I am getting:
          net.tcp.dns[x.x.x.x,domain.com] [m|ZBX_NOTSUPPORTED]

          Thanks,
          Donnie

          Comment

          • mrbig
            Junior Member
            • Aug 2006
            • 3

            #6
            figured it out

            You should elliminate all unnecessary whitespace after the comma, and between the dns name.

            This is wrong:
            net.tcp.dns[127.0.0.1, abc.com] - it will try to resolve the zone " abc.com" which does not exist

            This is correct:
            net.tcp.dns[127.0.0.1,abc.com]

            Using agent version 1.1.4

            Comment

            Working...