HP XC System Software Administration Guide Version 3.2

8.3.5 Adjusting the Time Allotted for Metrics Collection
Table 8-1 displays the default collection intervals for the Supermon Metrics Monitor service.
The Supermon Metrics Monitor schedules and collects individual metrics at a specified interval.
You can change an interval. The interval must be a multiple of the time specified by the value
of the normal_check_interval parameter defined in the
/opt/hptc/nagios/etc/templates/nagios_template.cfg or
/opt/hptc/nagios/etc/templates/nagios_monitor.cfg template file.
Table 8-1 Supermon Metrics Collection Intervals
Collection IntervalMetric Name
default*
paging
default*
cpuinfo
default*
cputype
default*
btime
default*
processes
default*
netinfo
default*
meminfo
default*
swapinfo
default*
time
default*
switch
default*
cputotal
%LOADAVECOLLECTIONPERIOD% **avenrun
%MDADMCOLLECTIONPERIOD% **mdadm
* The default is set to 5 minutes.
**
These values are specified in /opt/hptc/nagios/etc/nagios_vars.ini file.
8.3.5.1 Global Service Check Timeout Limit
The master Nagios configuration file, nagios.cfg, has a number of global settings that control
overall behavior. One of these is the service_check_timeout interval. Nagios limits the
execution time of plug-ins to this interval. If a plug-in is still running when the interval expires,
Nagios stops the plug-in and shows the result as a Service check timeout error.
For systems with fewer than 256 nodes, the default value of 180 seconds should be adequate.
However, warning or critical messages can occur if the service_check_timeout interval
ends before the metrics gathering is complete. If your system has more nodes, consider increasing
the value for the service_check_timeout parameter.
8.3.6 Changing the Default Nagios User Name
Often the Nagios user name and user ID are established during the initial system configuration,
that is, when the cluster_config utility is run. If a Nagios user name is found at that time,
the HP XC system uses that user name and user ID instead of creating the default user name and
user ID. However, you can configure the HP XC system to use an alternate nagios user and
group account.
Use the following procedure to change the default Nagios user name.
1. Stop the Nagios service if the HP XC system is running. For instructions on how to stop the
Nagios service, see “Stopping and Restarting Nagios” (page 115).
118 Monitoring the System with Nagios