Skip to content

Commit be163d9

Browse files
committed
Merge pull request #21 from fabaff/syslog
Syslog page
2 parents 6badf55 + e936d4c commit be163d9

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

source/components/index.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,12 @@ the manufacturers of these devices.
213213
<td>Allow sending e-mail messages.</td>
214214
</tr>
215215

216+
<tr>
217+
<td></td>
218+
<td><a href='/components/notify.syslog.html'>Syslog</a></td>
219+
<td>Allow sending messages to a local syslog.</td>
220+
</tr>
221+
216222
<tr>
217223
<td><img src='/images/supported_brands/xmpp.png' class='brand' /></td>
218224
<td><a href='/components/notify.xmpp.html'>Jabber (XMPP)</a></td>
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
layout: page
3+
title: "Syslog notification support"
4+
description: "Instructions how to add syslog notifications to Home Assistant."
5+
date: 2015-06-09 16:00
6+
sidebar: false
7+
comments: false
8+
sharing: true
9+
footer: true
10+
---
11+
12+
The syslog platform allows you to deliver notifications from Home Assistant to the local syslog.
13+
14+
To enable syslog notifications in your installation, add the following to your `configuration.yaml` file:
15+
16+
```yaml
17+
# Example configuration.yaml entry
18+
notify:
19+
platform: syslog
20+
facility: SYSLOG_FACILITY
21+
option: SYSLOG_LOG_OPTION
22+
priority: SYSLOG_PRIORITY
23+
```
24+
25+
The table contains values to use in your `configuration.yaml` file.
26+
27+
| facility | option | priority |
28+
| :-------- |:--------| :---------|
29+
| kernel | pid | 5 |
30+
| user | cons | 4 |
31+
| mail | ndelay | 3 |
32+
| daemon | nowait | 2 |
33+
| auth | perror | 1 |
34+
| LPR | | 0 |
35+
| news | | -1 |
36+
| uucp | | -2 |
37+
| cron | | |
38+
| syslog | | |
39+
| local0 | | |
40+
| local1 | | |
41+
| local2 | | |
42+
| local3 | | |
43+
| local4 | | |
44+
| local5 | | |
45+
| local6 | | |
46+
| local7 | | |
47+
48+
For details about facility, option, and priority please consult the [wikpedia article](http://en.wikipedia.org/wiki/Syslog) and [RFC 3164](http://tools.ietf.org/html/rfc3164).
49+
50+
To use notifications, please see the [getting started with automation page]({{site_root}}/components/automation.html).

0 commit comments

Comments
 (0)