How to set up and execute altimon#
What is ALTIMON?#
ALTIMON is a monitoring program that periodically checks the operating status of the Altibase server, and helps to track the cause of the failure by checking the Altibase server status when a failure occurs.
This page briefly explains how to set up and run ALTIMON.
For more details regarding ALTIMON, please refer to ALTIMON USER GUIDE.
ALTIMON USER GUIDE
- TBA
ALTIMON execution and configuration files#
ALTIMON execution file#
| Linux | SunOS Sparc | SunOS x86 | HP-UX IA | AIX | |
|---|---|---|---|---|---|
| Altibase 6.3.1 | altimon_linux_631.tar | ||||
| Altibase 6.1.1 | altimon_linux_611.tar | ||||
| Altibase 4.3.9 | altimon_sunos_x86_439.tar |
ALTIMON installation file#
- Linux: altimon_linux_611.tar
- HP-UX IA: altimon_linux.tar
- HP-UX PA-RISC
- SunOS Sparc: altimon_hpux_ia64.tar
- SunOS x86:
- AIX: altimon_sunos_sparc.tar
- Altibase does not provide for Windows. For Windows, refer to the Monitoring Tools for Windows page.
ALTIMON configuration file#
- Altibase 6.3.1: altimon.conf.631
- Altibase version 5.1.5 : altimon.conf.5.1.5
- Altibase version 4.3.9 :
Uploading ALTIMON file#
Upload the attachment (altimon.tar) to any directory on the system running the Altibase server process.
Extract the attachment.
$ tar xvf altimon.tar
Once it is extracted, 'altimon' directory will be created.
$ ls -l altimon
total 8336
drwxr-xr-x 2 eheejung staff 256 Dec 30 15:26 ACTION_LOG
drwxr-xr-x 2 eheejung staff 256 Dec 30 15:26 ACTION_SCRIPT
-rw-r--r-- 1 eheejung staff 318 Dec 30 11:23 Makefile
-rwxr-xr-x 1 eheejung staff 3991619 Dec 30 15:10 altimon // execution file
-rw-r--r-- 1 eheejung staff 18120 Dec 30 11:23 altimon.conf // configuration file
-rw-r--r-- 1 eheejung staff 78141 Dec 30 11:23 altimon.cpp
-rw-r--r-- 1 eheejung staff 166311 Dec 30 15:10 altimon.o
drwxr-xr-x 2 eheejung staff 256 Dec 30 15:26 log
Copying ALTIMON execution file#
Copy the ALTIMON executable file to the $ALTIBASE_HOME/bin directory.
$ cp -p altimon $ALTIBASE_HOME/bin/
Things to be changed in the ALTIMON configuration file#
In the ALTIMON configuration file ($ALTIBASE_HOME/conf/altimon.conf), in the Connection Group section and ALTIMON PROPERTY section, change the comment section below to suit your environment.
#########################################
### Connection Group
#########################################
127.0.0.1
manager # Enter sys account password
20300 # Enter the Altibase server service port
US7ASCII # Enter database server character set iSQL> select NLS_CHARACTERSET from v$nls_parameters; Can be checked.
#########################################
### ALTIMON PROPERTY
#########################################
1
300 # If a problem occurs, change it to suit your environment so that the situation at that time can be logged. The unit is seconds.
/home/altibase/altimon/log/altimon.log # Change the log file path to suit the environment. Enter it as an absolute path, leave the file name as it is, and change only the path.
/home/altibase/altimon/log # Enter the log file path again as an absolute path to suit the environment.
3 # Log file retention period, in daily units. Change it to suit the environment.
2
/home/altibase/altimon/log/alarm.log # Change the alarm log file path to suit your environment. Enter it as an absolute path, leave the filename as it is, and change only the path.
OFF
22300
From the settings below, the path $HOME/altimon/ACTION_SCRIPT/ will continue to be used.
If the altimon directory is located differently from the one below, please change it.
If altimon.tar is placed in the $HOME directory and untar it, the user does not need to change the settings below.
#########################################
### PROCESS CHECK PROPERTY
#########################################
80
$ From this setting, the path $HOME/altimon/ACTION_SCRIPT/ will continue to be used. If the altimon directory is located differently from the one below, it will be changed.
is -silent -f $HOME/altimon/ACTION_SCRIPT/cpu_act.sql -o $HOME/altimon/ACTION_LOG/cpu_act.log.`date +%Y%m%d_%H%M%S`
100000000
is -silent -f $HOME/altimon/ACTION_SCRIPT/mem_act.sql -o $HOME/altimon/ACTION_LOG/mem_act.log.`date +%Y%m%d_%H%M%S`
ON
/home # Please modify the file system to be monitored.
90 # Enter the file system usage threshold. The unit is %.
/home1
90
Executing ALTIMON#
After setting the environment variable, execute ALTIMON.
$ export UNIX95=1 (For Bourne Shell, Korn Shell, Bash Shell)
Or
$ setenv UNIX95 1 ( For C Shell)
For AIX, it also sets the NMON environment variable.
$ export NMON=t (For Bourne Shell, Korn Shell, Bash Shell)
Or
$ setenv NMON t ( For C Shell)
Execute altimon.
$ altimon start
Check Altibase Log#
altimon.log is saved in the following path set in $ALTIBASE_HOME/conf/altimon.conf.
The log of the day is altimon.log, and the last log is changed to altimon.log_MMDD.
/home/eheejung/altimon/log/altimon.log
The ALTIMON log of the date of failure can be sent from the above path.