The following settings of the Message Logger can be configured to log messages on the Primary Server:
These settings allow you to configure the database maintenance settings for purging the database log messages.
In the ZENworks Control Center, click
.In
, click .Under
, specify the name of the server that is responsible for purging message log entries from the database.You can also select a server by clicking .
The ZENworks servers that are displayed here are the ones that are registered with Novell ZENworks Linux Management Server.
In the
field, select a value from the drop-down list. The available options are and .Log entries older than the selected number of days are purged. Purging is done every midnight and 5 minutes after zenloader starts.
Click
or .These settings allow you to use a log file to log the messages of a server and all the managed devices that are connected to this server. The name of this log file is central-message.log, and it is located in /var/opt/novell/log/zenworks.
In the ZENworks Control Center, click
.In
, click .Under
, select the check box to enable the settings.In the
field, select a value from the drop-down list.Select
to store the messages that have an Error severity.Select
to store the messages that have a severity of Warning and Error.Select
to store the messages that have a severity of Information, Warning, and Error.In the
field, specify the size of a file in KB or MB. The default value is 100 MB.The message file is backed up after reaching the specified size.
In the
field, specify the number of backup files to take. The default value is 2.The maximum number of backup files is 99. The most recent backup file is named central-message.log.1, the second most recent file has the number 2, and so on. When the maximum file size is reached, the oldest file is deleted.
Click
or .These settings allow you to send error messages through e-mail by configuring SMTP settings.
In the ZENworks Control Center, click
.In
, click .Under
, select the check box to enable the settings.In the
field, specify the SMTP server address.You can specify a DNS name or IP address as a server address.
Select
to authenticate to the SMTP server.Specify the username to use to authenticate to the SMTP server.
Specify the password to use to authenticate to the SMTP server.
IMPORTANT:For security considerations, you should create a separate e-mail account and password to send ZENworks messages.
In the
section, specify the sender’s e-mail address in the field. The error messages are sent from this e-mail address.In the
field, specify the e-mail address of the recipients.You can specify more than one e-mail address by separating the addresses with commas.
Specify a subject for the e-mail.
The following table describes how you can customize the subject field:
Format Specifiers |
Value |
---|---|
%s |
Severity of the message |
%c |
Component name |
%d |
Device ID |
%t |
Time when the message is generated |
%a |
Alias name of the device on which the message is generated. |
Format specifiers are a special set of characters that are replaced with their associated values.
For example, if you want the subject line to be displayed as “ERROR occurred on device TestDevice at 4/7/05 5:31:01 PM,” then in the subject line you should specify “%s occurred on device %a at %t.”
Click
or .These settings allow you to send messages as SNMP traps. The location of the MIB file is /opt/novell/zenworks/share/loggermodule/messageloger.mib.
NOTE:The MIB file should not be modified or deleted, or sending of traps does not work.
In the ZENworks Control Center, click
.In
, click .Under
, select the check box to enable all the fields.In the
field, select a value from the drop-down list.Select
to forward as traps the messages that have Error, Information, Warning, and Debug severity.Select
to forward as traps the messages with a severity of Warning and Error.Select
to forward as traps the messages that have a severity of Information, Warning, and Error.Specify a trap target.
You can specify the IP address or DNS name of the management console as a trap target.
Specify the port number of the SNMP server.
By default, the port number is 162.
Specify the community string of the SNMP trap that is to be sent.
The default value of the community string is Public.
Click
or .