You can modify aurora_mon monitoring agent parameters if the default settings are not suitable for your environment or administrative policies.

Refer to aurora mon parameters before modifying parameters.

1

In vSphere, navigate to the Data Director vApp.

2

Select the Management Server, and click the Console tab.

3

Press the Enter key on your keyboard to activate the console and log in as root.

4

Change to the /opt/aurora/ha/etc/aurora_mon_conf.d directory, and list the contents of the directory.

Change to the aurora_mon directory and list the contents of the directory.

localhost:~# cd /opt/aurora/ha/etc/aurora_mon_conf.d
localhost:~ localhost:~# cd /opt/aurora/ha/etc/aurora_mon_conf.d # ls
mon_data_disk_1st_thresh.conf    mon_root_disk_1st_thresh.conf
mon_data_disk_2nd_thresh.conf    mon_root_disk_2nd_thresh.conf
mon_dbg_disk.conf                mon_tomcat.conf
mon_dhcpcd.conf                  sample.conf
mon_mgmt_adb.conf
5

Use a text editor and open a file.

For example, open mon_data_disk_1st_thresh.conf with the vi editor.

localhost:~ /opt/aurora/ha/etc/aurora_mon_conf.d 
 # vi mon_data_disk_1st_thresh.conf

[data_disk_usage_1st_thresh]
name=management_server_data_disk_usage_80_perc
descr=Data disk usage monitor (1st threshold)
heartbeat_check_cmd=opt/aurora/ha/bin/mon_disk_space.sh -m 
/opt/aurora/data -t 80
heartbeat_period_300
heartbeat_fail_action=JUST ALERT
heartbeat_ignore_fail_count=0
app_start_cmd=/bin/true
app_stop_cmd=/bin/true
app_priority=99
~
~
~
"mon_data_disk_1st_thresh.conf"  [readonly] 10L, 352C  5,2  ALL
6

Change the value of a key-value pair.

For example, change the value of the heartbeat_period parameter from 300 seconds to 200 hundred seconds.

heartbeat_period=200

The time between each ping issued by the heart_check_cmd is changed to 200 seconds.

7

Save and close the file.

You must stop and restart aurora_mon for your change to take effect.

8

Type service aurora_mon stop to stop aurora_mon.

9

Type service aurora_mon start to restart aurora_mon.