[Top] [All Lists]

Re: [nv-l] snmptrap --> in NV different hostnames

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] snmptrap --> in NV different hostnames
From: Paul Stroud <nvladmin@gmail.com>
Date: Wed, 14 Dec 2005 08:58:07 -0500
Delivery-date: Wed, 14 Dec 2005 13:58:36 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OF111D9CDE.0BB2B17F-ON852570D7.004B185F-852570D7.004C04E5@us.ibm.com>
References: <OF111D9CDE.0BB2B17F-ON852570D7.004B185F-852570D7.004C04E5@us.ibm.com>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
Another thing you may want to check is the /etc/resolv.conf
on both machines and make sure they match. For instance, one
may have a domain statement, while the other does not.


James Shanks wrote:

Because you said "snmptrap" and not "nvsnmptrap" I assume you have a
NetView for UNIX environment.
trapd on UNIX resolves hostname using the OS routines gethostbyaddr(),
which means that it is up to the OS to tell him the name.

You didn't mention whether both NetViews use DNS, but I would try nslookup
on the IP address, not the name, since that is how it gets resolved, by the
"reverse" of the hostname.  There is also an executable in  /usr/OV/bin,
nvgethost, which uses the same gethostbyname() and gethostbyname() routines
that trapd (and the other NetView daemons use) which can be used for the
same purpose, to check name resolution.  You should get the same result
     nvgethost <name>
as you do with
     nvgethost <IP address>

If you don't, then you have a badly configured DNS or /etc/hosts file

James Shanks
Level 3 Support  for Tivoli NetView for UNIX and Windows
Tivoli Software / IBM Software Group

Francis Boeykens <francis_boeykens @be.ibm.com> To Sent by: nv-l@lists.us.ibm.com owner-nv-l@lists. cc us.ibm.com Subject [nv-l] snmptrap --> in NV different 12/14/2005 08:33 hostnames AM Please respond to nv-l

Hi list,

We have parallel environments.
In one environment, when receiving a trap, generated by snmptrap in that
environment, the fully qualif. hostname is shown in the trap info.  In the
other environment we see the short hostname.  As I want to standardise both
environments, I wonder where the diff. is coming from.

I already checked the hosts file and the "hostname" command on the sending
servers is giving in both cases the short hostname.

Somebody an idea ?

Vriendelijke Groeten, Cordialement,  Kind Regards,


<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web