notifylevel - Notify level configuration parameter
This parameter specifies the type of administration notification messages that are written to the administration notification log.
- Configuration type
- Database manager
- Applies to
-
- Database server with local and remote clients
- Client
- Database server with local clients
- Partitioned database server with local and remote clients
- Parameter type
- Configurable Online
- Propagation class
- Immediate
- Default [range]
- 3 [ 0 - 4 ]
On Linux® and UNIX operating systems, the administration notification log is a text file called instance.nfy. On Windows, all administration notification messages are written to the Event Log. The errors can be written by Db2®, the Health Monitor, the Capture and Apply programs, and user applications.
Valid
values for this parameter are:
- 0 - No administration notification messages captured. (This setting is not recommended.)
- 1 - Fatal or unrecoverable errors. Only fatal and unrecoverable errors are logged. To recover from some of these conditions, you might need assistance from Db2 service.
- 2 - Immediate action required. Conditions are logged that require immediate attention from the system administrator or the database administrator. If the condition is not resolved, it could lead to a fatal error. Notification of very significant, non-error activities (for example, recovery) might also be logged at this level. This level will capture Health Monitor alarms. Informational messages will be shown at this level.
- 3 - Important information, no immediate action required. Conditions are logged that are non-threatening and do not require immediate action but might indicate a non-optimal system. This level will capture Health Monitor alarms, Health Monitor warnings, and Health Monitor attentions.
- 4 - Informational messages.
Usage Notes
- The administration notification log includes messages having values up to and including the value of notifylevel. For example, setting notifylevel to 3 will cause the administration notification log to include messages applicable to levels 1, 2, and 3.
- For a user application to be able to write to the notification file or Windows Event Log, it must call the db2AdminMsgWrite API.
- You might want to increase the value of this parameter to gather additional problem determination data to help resolve a problem. Note that you must set notifylevel to a value of 2 or higher for the Health Monitor to send any notifications to the contacts defined in its configuration.
- In specific circumstances, to display high importance messages, Db2 will override the notifylevel setting