Nonstop Database, HiRDB Version 9 System Operation Guide

[Contents][Index][Back][Next]

8.1.5 Changing the severity of the messages to be output to syslogfile

When HiRDB is being monitored based on the severity level of the messages that are output to syslogfile, or when an OS function is being used to suppress message output to syslogfile, some messages might not be output if their severity level does not match that of the messages being monitored. In such a case, you can change the severity level of the messages that the user needs to monitor and output these messages to syslogfile. For example, when only HiRDB messages whose severity level is W (warning) are being monitored, it might not be possible in some cases to monitor for messages whose severity level is I (information) and which indicate the system status. In such a case, change the severity level of those messages to W in order to output them to syslogfile and prevent monitoring misses.

Organization of this subsection
(1) Environment configuration
(2) Example

(1) Environment configuration

Specify the message ID whose displayed severity is to be changed and the severity level after the change in the pdmlgput operand. Since you can also specify message output suppression in this operand, specify Y for the -s option.

Note
You can change the severity level only of those messages that are output to syslogfile. Therefore, if the same message has been output to the message log file, the severity level of the message in the message log file is not changed.
Reference note
The following table shows the correspondence between the HiRDB message severity level and the priority of messages the OS outputs to syslogfile:
HiRDB message severity level Priority of messages output to syslogfile
E err(error)
W warning(warn)
Q notice
I info
For details about the priority of messages output to syslogfile, see the documentation for the applicable OS.

(2) Example

Change the severity level of information messages KFPH00211-I and KFPH00212-I to W (warning) and output them as messages KFPH00211-W and KFPH00212-W to syslogfile (the severity of the messages output to the message log file remains at the information level). A pdmlgput operand specification example in this case follows:

 
pdmlgput -s Y -l W -m KFPH00211,KFPH00212
 

Explanation
-s: Specify Y in order to output messages to syslogfile.
-l: Specify severity level W (warning message) following the change.
-m: Specify the message ID whose displayed severity is to be changed.