HP XC System Software Administration Guide Version 3.2

NOTE: These default settings may have been altered by site customizations. To display the
current values for your installation, use the Nagios Web interface: select View Config from the
Configuration section under the Nagios menu.
8.4.3 Understanding Nagios Alert Messages
The HP XC System Software provides several value-added plug-ins that can generate alert
messages based on patterns provided by various data sources, such as syslog and the Hardware
System Event logs.
All these plug-ins use a common syntax to describe patterns and status to report on matches.
The rules that trigger alarms are configured in the following files:
/opt/hptc/nagios/etc/selRules
Contains patterns for alerting on System Event Log messages
The selRules file can be modified as follows:
Add a rule to this file for a new alert.
Modify the corresponding rule to change an existing alert.
Comment out a rule to remove the corresponding rule.
/opt/hptc/nagios/etc/syslogAlertRules
Contains patterns for alerting on consolidated log entries.
/opt/hptc/nagios/ibexec/sensorData.dat
Contains patterns for alerting based on sensor results.
Nagios uses e-mail to send formatted alerts. The following is the default format of a Nagios alert:
Type: PROBLEM
1
State: return code
2
Service: service
3
Host: node
4
Address: IP Address
5
Info: message output
6
Date/Time: date and time stamp
7
Elapsed: time stamp
8
Number: number
9
1
Problem or Recovery
2
The Nagios plug-in return code; the values for this code:
0 OK
1 Warning
2 Critical
other
Unknown
3
The name of the Nagios service description, see the corresponding template file:
/opt/hptc/nagios/etc/templates/*_template.cfg.
4
The alert applies to this host name.
5
The IP address of the host.
6
The message output from the plug-in.
In the following example, [n47] indicates that this data was collected by the Nagios monitor
running on management hub n47. The message is from the plug-in associated with the
Nagios service for the system event log, in this case,
/opt/hptc/nagios/libexec/check_sel.
124 Monitoring the System with Nagios