As all known, Many monitor platforms are opensource,and most of commpanies are using them,it is very important to keep the system high available. Every monitor tools is convenient if you familar with it.such as,cacti,nagios,zabbix,hyperic HQ.
First,you need provide some your information online before you download the tarball,open source version and the server tarball is OK,Please pay attention to the bit of your system.
Second, make a directory to put HQ into it.change the owner
mkdir /opt/hq
chown user:user /opt/hq
uncompression tarball to anywhere,and run
./setup.sh #can not use root user
two@two:~/hyperic-hq-installer-4.6.6$ ./setup.sh -full Unpacking JRE to temporary directory /tmp/jre Please ignore references to missing tools.jar Unable to locate tools.jar. Expected to find it in /tmp/lib/tools.jar Loading taskdefs... Taskdefs loaded Initializing Hyperic HQ 4.6.6 Installation... Choose which software to install: 1: Hyperic HQ Server 2: Hyperic HQ Agent You may enter multiple choices, separated by commas. 1 HQ server installation path [default '/home/hyperic']: What port should the HQ server's web-based GUI listen on for http communication? [default '7080']: What port should the HQ server's web-based GUI listen on for secure https communication? [default '7443']: Choices: 1: Yes 2: No Would you like to use your own java keystore? [default '2']: Enter the base URL for the HQ server's web-based GUI [default 'http://ip:7080/']: Enter the fully qualified domain name of the SMTP server that HQ will use to send email messages [default 'aaaa']: Enter the email address that HQ will use as the sender for email messages [default 'hqadmin@aaaa']: hqadmin@test.com Choices: 1: HQ Built-in Database 2: Oracle 10g/11g 3: PostgreSQL 4: MySQL Enterprise / Community Server 5.x The HQ built-in database is provided for EVALUATION PURPOSES ONLY. For production use, MySQL or Oracle is recommended. What backend database should the HQ server use? [default '1']: 1 What port should HQ's built-in database use? [default '9432']: Choices: 1: Yes 2: No Would you like to use an auto generated encryption key to encrypt the database password? [default '1']: 2 Enter an encryption key to use to encrypt the database password.: passwordaaa server.encryption-key must be at least 8 characters long Enter an encryption key to use to encrypt the database password.: passwordaaa What should the username be for the initial admin user? [default 'hqadmin']: What should the password be for the initial admin user?: (again): What should the email address be for the initial admin user? [default 'hqadmin@test.com']: Loading install configuration... Install configuration loaded. Preparing to install... Validating server install configuration... Checking server webapp port... Checking server secure webapp port... Verifying admin user properties Validating server DB configuration... Installing the server... Unpacking server to: /home/hyperic... Creating server configuration files... Using "small" installing profile... Copying binaries and libraries to server installation... Copying server configuration file... Copying server db-upgrade files... Copying server libs... Setting up server database... Now login to another terminal as root and execute this script: /home/two/hyperic-hq-installer-4.6.6/installer/data/hqdb/tune-os.sh This script sets up the proper shared memory settings to run the built-in database. Press Enter after you run the script to continue this installation.
If it prompt that,Follow the instructions
ERROR:\ You must run this script as root: /home/two/hyperic-hq-installer-4.6.6/installer/data/hqdb/tune-os.sh before continuing the installation. -------------------------------------------------------------------------------- Deleting temporary JRE
The Agent server also can install like this.
Finally visit the webside.