HP XC System Software Administration Guide Version 3.1

/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 terminates 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 110).
2. Verify the Nagios user ID:
# grep nagios /etc/passwd
nagios:x:222:222::/home/nagios:/bin/bash
NOTE: The default Nagios user account ID, nagios, is 222.
3. Use the standard user account utilities to delete the nagios user account, then add another:
# userdel r nagios
# useradd u 222 g hpadm newname
Improved Availability Is in Effect 113