Absent Member.
Absent Member.
338 views

gpm system name

Hi

 

We use glanceplus to monitor our systems.

 

Hopefully a simple question.  How does one amend the system name in the gpm windows, as they are showing something fifferent to the host name gpm was fired up from?

 

Regards

 

Tariq

 

P.S.

Moved from Operating Systems - HP-UX - System Administration to OV Performance Management Forum
Labels (1)
0 Likes
4 Replies
Absent Member.
Absent Member.

Is the name displayed by gpm same as the name displayed by the "hostname" or "uname -n" commands, or is it different from those too?

 

There are several ways gpm might be using to get the hostname:

  • by querying the system hostname (equivalent to the "hostname" command)
  • by querying the legacy nodename ("uname -n")
  • or as a result of IP-to-hostname lookup (from /etc/hosts and/or DNS)

The "hostname" and "uname -n" won't agree with each other if the hostname is longer than 8 ASCII characters.

If your /etc/hosts file or DNS domain contains out-of-date information, the third method might return different information than the others.

MK
0 Likes
Absent Member.
Absent Member.

Matti

 

I found the answer.  It was the id filed in the parm file in /var/opt/perf.

 

Thanks for your response

Tariq

0 Likes
Absent Member.
Absent Member.

Thanks. Looks like I learned something new too!

MK
0 Likes
Absent Member.. Absent Member..
Absent Member..

I didn't realize that was there either.

 

For those that may be interested, here's the appropriate excerpt from the /var/opt/perf/parm file:

 

# The default for the following id parameter is to use the system's
# hostname. If you would like the metric GBL_SYSTEM_ID to be something
# other than the hostname, you may uncomment the following and replace
# "system-id" with your preferred name.

#id = system-id

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.