Showing posts with label Hyperic. Show all posts
Showing posts with label Hyperic. Show all posts

Wednesday, 13 April 2011

Hyperic Alerts Configuration




1)Go to Administrator
2)Monitoring Defaults
3)Select Edit Button on File Server Mount  for Disk Space Alerts

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

how to Uninstall Hyperic Server


C:\Program Files\server-4.5\bin>hq-server.exe stop
'hq-server.exe' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\server-4.5\bin>hq-server.bat stop
wrapper  | The Hyperic HQ Server service was not running.

C:\Program Files\server-4.5\bin>hq-server.bat remove
wrapper  | Hyperic HQ Server removed.

Hyperic Agent 4.5 Installation


Error:

hq-agent wrapper failure. Service not installed

wrapper | Starting the Hyperic HQ Agent service...
wrapper | Unable to start the service - The system cannot find the file specifi
ed. (0x2)
- No token file found, waiting for Agent to initialize
- No token file found, waiting for Agent to initialize


Solution:
Please try the following steps:
Please go to C:\Program Files\agent-4.0.1 and delete the data directory
C:\Program Files\agent-4.0.1\bin>hq-agent.bat install
C:\Program Files\agent-4.0.1\bin>hq-agent.bat start