beautypg.com

Gwclass.dat with multiple entries, Environment variables not properly set – HP Insight Control User Manual

Page 54

background image

Troubleshooting 54

Gwclass.dat with multiple entries

If the Insight Integration is installed multiple times, the gwclass.dat file has the string
"HP_Host|HP_Workstation|" appended to the end several times. Edit the file to remove the extra

occurrences of the string.

Discovered HP systems only display agents as

Any:Absent

The gwclass.dat file is edited during installation to append "HP_Host|HP_Workstation|" to the end of the

file. If the file is not edited, systems in the HP classes do not display discovered agents. Verify that this

entry has been made in the gwclass.dat file.
To make this addition to the file:

1.

Change to the \hpqnsm\cpqwv\classes directory.

2.

Run the hpgwedit.exe file.
The output displays similar to the following:
GWCLASS.DAT

Current=Agent|Bridge|Host|Hub|Printers|Router|Switch|Workstation|Managed

PC|Xterm|OtherDevices|Unclassified_Class|Access_Point|UPS|
GWCLASS.DAT

New=Agent|Bridge|Host|Hub|Printers|Router|Switch|Workstation|ManagedPC|X

term|OtherDevices|Unclassified_Class|Access_Point|UPS|HP_Host|HP_Worksta

tion|
File gwclass.dat successfully updated.

Alternatively, you can edit the file and add the entry manually.

Environment variables not properly set

The two environment variables used by the integration are placed in the registry in the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment directory.
If the IMAddress and CAI_MSG_EXIT environment variables do not get set properly during the installation,

you can set them manually.

1.

Right-click My Computer, and select Properties.

2.

Click the Advanced tab.

3.

Click the Environment Variables button.

4.

In the System Variables window, select CAI_MSG_EXIT and click Edit.

5.

Enter HPQEMC.EXE in the Variable Value field and click OK.

6.

In the System Variables window, select IMAddress and click Edit.

7.

Enter the address of the Insight Manager server in the Variable Value field and click OK.

8.

Click OK>OK to exit the windows.

9.

Restart the system for the changes to take effect.