Creating syslog notification rules
When you create a syslog notification rule, the system sends log messages to your syslog server for each applicable system event.
![Closed](https://knowledge.hitachivantara.com/@api/deki/files/28989/transparent.gif?revision=1)
•Enable — Turns on syslog notifications.
•Host — The hostname or IP address of the syslog server.
•Port — The port on which the syslog server listens for log messages.
•Facility — Category for the messages sent by this notification rule.
![Closed](https://knowledge.hitachivantara.com/@api/deki/files/28989/transparent.gif?revision=1)
You use the syslog notification message settings to configure a template for formatting all syslog notifications sent by this notification rule.
•Message — The message to send. You can use these variables as part of the message.
Variable | Description |
---|---|
$severity |
Event severity: INFO, WARNING, or SEVERITY |
$subject |
A short description of the event |
$message |
Event message text |
$time |
Time at which the event occurred |
$userName |
Name of the user responsible for the event |
$subsystem |
Category for the component affected by the event |
$objectId |
Unique identifier for component affected by the event |
$objectType |
The type of the component affected by the event. |
$objectSourceId |
Unique identifier of the internal system component or process that was the source of the event. Value is [unknown] for most events. |
$objectSourceType | Type of the internal system component or process that was the source of the event. Value is [unknown] for most events. |
•Sender Identity — Identity of the sender for the event. Sent with every syslog message.
![Closed](https://knowledge.hitachivantara.com/@api/deki/files/28989/transparent.gif?revision=1)
The event severities about which to send email notifications. Can be one or more of these: INFO, WARNING, SEVERITY.
Administration App instructions
1.Click on System Configuration.
2.Click on the Notifications .
3.Click on the Register Notification button.
4.In the Type field, select Syslog.
5.Enter a name for the notification rule.
6.Configure the settings for the notification rule.
7.Click on the Create button.
Related CLI command(s)
createNotificationRule
For information on running CLI commands, see CLI reference.
REST API instructions
POST /notifications
For information, see the administrative REST API documentation page and click on notifications > POST /notifications.
Trademarks, Legal disclaimer, Third-party software in this documentation
© 2017 Hitachi Vantara Corporation. All rights reserved.