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.
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