HP Insight Control for Linux 6.0 User Guide

:
Deleting an alert can be useful if you receive duplicate alerts, one from HP SIM and one
from Nagios, for the same event.
15.5 Controlling Nagios messages
Nan is an open source utility supplement to the Nagios application. HP Insight Control for Linux
incorporated the Nan notification aggregator and delimiter for the Nagios paging system.
Nagios can send large numbers of messages, especially when the CMS and managed systems
are starting up, shutting down, or experiencing a failure. The Nan utility overcomes the problem
of multiple messages by collecting, batching, and reformatting these messages so that they are
sent in a controlled manner. You can configure how multiple concatenated notifications are
sorted so that the most important notifications appear at the top.
The Nan utility consists of the following:
A nand daemon, which is started on the Nagios master node.
A nanc client, which is configured as the Nagios email command.
The nand daemon /opt/hptc/nagios/etc/nand.conf configuration file.
The nanc client /opt/hptc/nagios/etc/nanc.conf configuration file.
When the nand daemon receives a notification from Nagios, it starts a timer. If the notification
is a PROBLEM or RECOVERY, the default time is 300 seconds; if the notification is an
ACKNOWLEDGEMENT, the default time is 600 seconds. Subsequent Nagios notifications are queued
in the /opt/hptc/nagios/var/nanqueue directory until the specified time elapses. Then
the nand daemon sends a condensed message based on the following criteria:
The delivery method: pager, email, and so on
If the delivery method is a pager, the number of messages influences the format of the
condensed message.
The corresponding destination address: the pager telephone number or the email address
The notification type: PROBLEM, ACKNOWLEDGEMENT, or RECOVERY
The default values specified in the nand.conf and nanc.conf configuration files are
appropriate; however, you can change these values to suit your installation. To update either or
both of these configuration files, follow these steps:
1. Log in as the superuser on the Nagios master node.
2. Use a text editor to edit the nanc.conf or nand.conf file.
3. Use the service command to stop the nagios daemon:
# /etc/init.d/nagios stop
4. Use the service command to restart the nagios daemon:
# /etc/init.d/nagios start
15.6 Modifying the Nagios password file
The Nagios passwords are maintained in the /opt/hptc/nagios/etc/htpasswd.users
file. Use the htpasswd command to manipulate this file to add a user, delete a user, or change
a user password.
15.5 Controlling Nagios messages 181