* Finn-Arne Johansen

 > Yes, It seems like that , but It happens over and over again, so It
 > looks like each plugin is doing this. And I did a check while it was
 > running, I think I tcpdump, but I dont remember excatly, and it looked
 > for tjener.intern.intern. and tjener.intern.intern.intern.
 > We tried to change the hostname, so that it didn't give a domain, and
 > saw if that helped, but it didn't. But I'm actually working on this
 > now, I found out that if I set up the configuration for bind before
 > it's installed, things seems to improve. So it looks like we are able
 > to work around the bug, but since it looks up "tjener.intern.intern."
 > and "tjener.intern.intern.intern." I think it _is_ a bug somewhere.

  Munin-run calls get_fq_hostname for each invocation, this seems to be
 the problem.  Most plugins do not check anything in DNS, and as far as
 I remember "tjener.intern" is the default hostname of Skulelinux
 server..?

  get_fq_hostname {
    my $hostname;
    eval {
        require Net::Domain;
        $hostname = Net::Domain::hostfqdn();
    };
    return $hostname if $hostname;

    $hostname = `hostname`;  # Fall$
    chomp($hostname);
    $hostname =~ s/\s//g;
    return $hostname;
  }

  ...this is the function in question.  Perhaps Net::Domain is hosed?
 Could you try the Net::Domain::hostfqdn() function when the problem is
 present, and see if that also hangs?  Seems strange that this should
 fail if "hostname --fqdn" doesn't, but it's the best suggestion I have
 right now.

-- 
Tore Anderson


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to