I have a problem with dns-mismatch. In the eventEngine.log I find these messages Jan 11 13:03:32 2006 eventEngine DEV_DB-6-POSTALERT Posting alert: e=158929 d=19 n=19 t=info s=x [dnsname=volda-XXX.hivolda.no] [sysname=volda-XXX] [alerttype=dnsMismatch] As we see the sysname is without the domain-name. Do I have to rename all my boxes to include domain-name? Peder
Peder Magne Sefland 04.01.2006 22:18:50 >>> Do you have any false alerts on dns-mismatch? I'm not shure that this has anything to do with this.
All device names are resolved correctly, beacuse all hostname informations are in NAV machine /etc/hosts file. -- Woj Is this how it should work? I have thought that my colleagues at computer-dep. only needs to registrer their servers or wireless in the web-interface, but not to edit /etc/host file on the nav-box. Peder
From Borge.Brunes at cc.uit.no Wed Jan 11 14:55:58 2006 From: Borge.Brunes at cc.uit.no (Borge Brunes) Date: Wed Jan 11 14:56:05 2006 Subject: [Nav-users] dns-mismatch In-Reply-To: Message from "Peder Magne Sefland" <peder.sefland@hivolda.no> of "Wed, 11 Jan 2006 13:57:39 +0100." <s3c50ee4.069@HVO-3.hivolda.no> Message-ID: <200601111355.k0BDtwBZ077079@duke.cc.uit.no>
peder.sefland@hivolda.no said:
I have a problem with dns-mismatch. In the eventEngine.log I find these messages Jan 11 13:03:32 2006 eventEngine DEV_DB-6-POSTALERT Posting alert: e=158929 d=19 n=19 t=info s=x [dnsname=volda-XXX.hivolda.no] [sysname=volda-XXX] [alerttype=dnsMismatch] As we see the sysname is without the domain-name. Do I have to rename all my boxes to include domain-name?
No, just use "ip domain-name hivolda.no" on your IOS-switches, or "set system name volda-XXX.hivolda.no" (cat-os) regards, -- Borge Brunes, Computer Center, University of Tromso, Norway http://www.cc.uit.no/~borge/ | http://www.freebsd.org
As we see the sysname is without the domain-name. Do I have to rename all my boxes to include domain-name?
No. The check which is being done here is if the DNS name of the IP (sysname field in netbox table) starts with the collected sysname from the device. That said, it does seem a bit strange that the above will give a dnsMismatch error. The string "volda-XXX.hivolda.no" does indeed start with "volda-XXX". Do you get this error only for this particular device or is it a more general problem? There could potentially be a whitespace issue which throws off the check, but that is at least very easy to fix (I can tell you which line to change in the source code if you want to try). -- Kristian
participants (2)
-
kreide@gmail.com -
peder.sefland@hivolda.no