HP Insight Control for Linux 6.0 User Guide

# You can either supply a username or a UID.
nagios_user=new_nagios_user
# NAGIOS GROUP
# This determines the effective group that Nagios should run as.
# You can either supply a group name or a GID.
nagios_group=new_nagios_group
Save the file.
9. Run the OptionsIC-LinuxConfigure Management Services task.
NOTE: The Task Results window may report completion although the operation might
not yet be complete. Monitor the console to determine the result.
10. If your system has multiple management hubs, log into each management hub server and
repeat steps 2 through 8.
11. There may be instances in which a previous instance of the default nagios user and default
hpadm group exist. To correct this, verify that all files previously owned by the default
nagios user are now owned by either root or by the new_nagios_user.
If any directories or files are owned by the default nagios user, change the ownership of
these files and directories to the new_nagios_user.
You can use the following to change the ownership:
# find / -mount -user nagios group hpadm -print |
xargs chown $new_nagios_user:$new_nagios_group
12. Restart Nagios on the CMS and on all the management hubs:
# /etc/init.d/nagios restart
# pdsh -w `shownode clients nagios_monitor` /etc/init.d/nagios restart
15.2 Adjusting the Nagios configuration
The steps required to adjust the Nagios configuration are:
1. Stop the nagios service.
2. Update the Nagios configuration file.
3. Restart the nagios service.
This section describes the following tasks:
“Stopping and restarting Nagios before performing maintenance operations” (page 175)
“Modifying the nagios_vars.ini file to change the Nagios configuration” (page 176)
“Changing sensor threshold values” (page 177)
“Rebuilding the nagios_vars.ini file for changes to take effect” (page 178)
Adjusting the time allotted for metrics collection” (page 178)
“Disabling individual Nagios plug-ins” (page 179)
15.2.1 Stopping and restarting Nagios before performing maintenance operations
Nagios can record many alerts when large hardware configurations undergo known maintenance
operations and tasks.
15.2 Adjusting the Nagios configuration 175