beautypg.com

HP Insight Control Software for Linux User Manual

Page 268

background image

# NRPE GROUP
# This determines the effective group that the NRPE daemon should run as.
# You can either supply a group name or a GID.
#
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd

nrpe_group=new_nagios_group

Where new_nagios_group is the group name of the new Nagios user's account.
Save the file.

5.

Edit the /opt/hptc/nagios/etc/nagios.cfg file to change the assignment of the
nagios_user

and nagios_groupvariables as follows:

# NAGIOS USER
# This determines the effective user that Nagios should run as.
# 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.

6.

Edit the /opt/hptc/nagios/etc/nsca.cfg file to change the assignment of the
nsca_user

and nsca_groupvariables as follows:

# NSCA USER
# This determines the effective user that the NSCA daemon should run as.
# You can either supply a username or a UID.
#
# NOTE: This option is ignored if NSCA is running under either inetd or xinetd

nsca_user=new_nagios_user

# NSCA GROUP
# This determines the effective group that the NSCA daemon should run as.
# You can either supply a group name or a GID.
#
# NOTE: This option is ignored if NSCA is running under either inetd or xinetd

nsca_group=new_nagios_group

Save the file.

7.

Edit the /opt/hptc/nagios/etc/nand.cfg file to change the assignment of the user
and groupvariables as follows:

# nand.conf

# The user and group to run as
user new_nagios_user
group new_nagios_group

Save the file.

8.

Edit the /opt/hptc/nagios/etc/nagios_monitor.cfg file to change the assignment
of the nagios_user and nagios_groupvariables as follows:

# NAGIOS USER
# This determines the effective user that Nagios should run as.
# You can either supply a username or a UID.

nagios_user=new_nagios_user

268

Customizing Nagios