Skip to main content

Hyperic Eroor

Error when adding clients on Auto Discovery:  
Unable to import platform : org.hyperic.hq.common.SystemException: org.hyperic.hq.common.SystemException: Unable to find PlatformType [Win32]

Solution:

Looks like an issue with spaces in the server install path -- re-locating my server-4.5 directory enabled the server to actually complete its deployment process (without spitting stack traces to the log), and the eam_platform_type table (and others) to be populated with initial data.

Here's what I did to re-locate the server, assuming it's installed to the default "C:\Program Files\server-4.5":
1. Open a command prompt.
2. In the command prompt, run: "C:\Program Files\server-4.5\bin\hq-server" stop
(adjust path as required)
3. Run: "C:\Program Files\server-4.5\bin\hq-server" remove
4. Relocate the server-4.5 directory, eg. to C:\Hyperic\server-4.5
5. [Back] in the command prompt, run: "C:\Hyperic\server-4.5\bin\hq-server" install
6. Finally, run: "C:\Hyperic\server-4.5\bin\hq-server" start
... and hold your breath...

You may also want to relocate the agent as well, just to be safe... process follows as above

Comments

Popular posts from this blog

Installing Nagios 4 on Ubuntu 14 04 LTS

Create a list of local administrators with PowerShell

1.        Create folder :    C:\Temp 2.        Save a text file with the name servers.txt and add server names 3.        Create a .PS1 file with the name “ Get-LocalGroupMembers . ps1 ”with below PowerShell code: **********************************************************     [ CmdletBinding () ] Param (     [ Parameter (    ValueFromPipeline = $true ,                 ValueFromPipelineByPropertyName = $true                 ) ]     [ string []]     $ComputerName = $env:ComputerName ,     [ Parameter () ]     [ string ]     $LocalGroupName = "Administrators" ,   ...