HP XC System Software Administration Guide Version 4.0

Table Of Contents
2. Rebuild vars.ini with the following command:
# /opt/hptc/nagios/libexec/check_nagios_vars --rebuild
3. Run the following command to push the updated vars.ini file:
# /opt/hptc/nagios/libexec/check_nagios_vars --update
If you change the nagios_vars.ini file, be sure to propagate the file to the appropriate nodes,
usually the management hubs, on your system; see Chapter 11 (page 141) for more information.
“Updating the Nagios Configuration” (page 115) describes the overall procedure for updating
the Nagios configuration.
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.
118 Monitoring the System with Nagios