6 using collectl for gathering monitoring data, Installing – HP Insight Cluster Management Utility User Manual

Page 100

Advertising
background image

CMU_ALERT_SEQUENCE_FILE

The path of the HP Insight CMU “sequence” file containing the alerts and alert values from
the monitoring pass that triggered the reaction. Analyze this file with the
/opt/cmu/bin/cmu_monstat

command.

NOTE:

To protect the management node from large numbers of concurrent reactions, a

reaction will only launch on behalf of compute nodes that do not have previous instances of
the reaction still running. Limit the command runtime of a reaction if the reaction is expected
to be triggered frequently.

6.5.5 Modifying the sensors, alerts, and alert reactions monitored by HP Insight CMU

Several optional sensors, alerts, and alert reactions are commented out in the
ActionAndAlertsFile.txt

file.

Comment a sensor, alert, or alert reaction to stop monitoring it.

Uncomment a sensor, alert, or alert reaction to start monitoring it.

Modify a sensor, alert, or alert reaction line to change its parameters.

Add your own sensors, alerts, or alert reactions by adding a line to the ACTIONS, ALERTS,
or ALERT_REACTIONS section.

Modifications in the ActionAndAlertsFile.txt file are only taken into consideration when
the monitoring daemons are restarted.

To restart the monitoring daemons:
1.

Change the ActionAndAlertsFile.txt file on the management node.

2.

Stop the Java GUI.

3.

Stop the daemons.

# /etc/init.d/cmu stop

4.

Restart the daemons.

# /etc/init.d/cmu restart

5.

Start the Java interface.

6.5.6 Using collectl for gathering monitoring data

The default method for specifying commands to collect monitoring data is described in

“Actions”

(page 97)

. This default method is referred to as native mode in this section.

HP Insight CMU provides an alternative method which uses the collectl tool for gathering
monitoring data. Data appears using the same HP Insight CMU interface as native mode.

6.5.6.1 Installing and starting collectl on compute nodes

1.

On compute nodes, install the package from the HP Insight CMU CDROM:

# mount /dev/cdrom /mnt

# cd /mnt/tools/collectl

# rpm -ivh collectl-3.x.x-x.noarch.rpm

Preparing... ########################################### [100%]
1:collectl ########################################### [100%]

2.

If you have not already done it, install the monitoring rpm on compute nodes as described in

“Installing the HP Insight CMU monitoring client” (page 85)

.

3.

Edit the /etc/collectl.conf file as follows:

DaemonCommands = -s+dcmnNE --import misc --export lexpr -A server -i5

100 Monitoring a cluster with HP Insight CMU

Advertising