HP XC System Software Administration Guide Version 3.2

NOTE: If you change the nagios_vars.ini file, you must propagate it to all nodes. For more
information, see Chapter 11 (page 139)
Figure 8-8 Nagios Configuration
When you change the Nagios configuration, you must perform the following tasks:
1. Read the Nagios documentation carefully.
2. Change the template files accordingly.
3. Stop the Nagios service. For instructions on how to stop the Nagios service, see “Stopping
and Restarting Nagios” (page 115).
4. Repopulate the Nagios configuration files you changed throughout the HP XC system. Use
the pdcp command to copy the files onto all the nodes from the head node immediately,
and use the updateimage utility to make this change permanent.
5. Restart Nagios service. For instructions on how to restart the Nagios service, see “Stopping
and Restarting Nagios” (page 115).
6. Verify the results by using the Nagios Web interface.
8.3.3 Forwarding Nagios e-mail Alerts
Nagios sends e-mail by default to the nagios user.
The simplest method to forward e-mail alerts is to log in as the Nagios user and to create a
.forward file in the Nagios user's directory (usually /home/nagios) to redirect e-mail alert
messages from Nagios to another e-mail account. This method assures that the .forward file's
permissions are correct.
116 Monitoring the System with Nagios