summaryrefslogtreecommitdiffstats
path: root/doc/omusrmsg.html
blob: eccfef2d4a40e922d42755e2e849aa6cff91700f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<meta http-equiv="Content-Language" content="en">
<title>User Message Output Module</title></head>

<body>
<a href="rsyslog_conf_modules.html">back</a>

<h1>User Message Output Module</h1>
<p><b>Module Name:&nbsp;&nbsp;&nbsp; omusrmsg</b></p>
<p><b>Author: </b>Rainer Gerhards &lt;rgergards@adiscon.com&gt;</p>
<p><b>Description</b>:</p>
<p>The omusrmsg plug-in provides the core functionality for logging output to a logged on user. It is a built-in module that does not need to be loaded. </p>
<p>&nbsp;</p>

<p><b>Global Configuration Directives</b>:</p>
<ul>
	<li><strong>Template </strong>[templateName]<br>
	sets a new default template for file actions.<br></li>
	
</ul>
<p>&nbsp;</p>
<p><b>Action specific Configuration Directives</b>:</p>
<ul>
	<li><strong>Users </strong>string<br>
	Must be a valid user name or root.<br></li><br>

	
	
</ul>
<p><b>Caveats/Known Bugs:</b></p><ul><li>None.</li></ul>
<p><b>Sample:</b></p>
<p>The following command sends all critical syslog messages to a user and to root.</p>
<textarea rows="5" cols="60">Module (path="builtin:omusrmsg")
*.=crit action(type="omusrmsg" 
Users="ExampleUser"
Users="root"
)
</textarea>

<br><br>

<p><b>Legacy Configuration Directives</b>:</p>
<p>
	No specific configuration directives available. See configuration sample below for details on using the plugin.
</p>

<p><b>Legacy Sample:</b></p>
<p>The following command sends all critical syslog messages to a user and to root.</p>
<textarea rows="5" cols="60">$ModLoad omusrmsg
*.=crit :omusrmsg:exampleuser
& root
</textarea>


<p>[<a href="rsyslog_conf.html">rsyslog.conf overview</a>] [<a href="manual.html">manual 
index</a>] [<a href="http://www.rsyslog.com/">rsyslog site</a>]</p>
<p><font size="2">This documentation is part of the
<a href="http://www.rsyslog.com/">rsyslog</a> project.<br>
Copyright © 2008 by <a href="http://www.gerhards.net/rainer">Rainer Gerhards</a> and
<a href="http://www.adiscon.com/">Adiscon</a>. Released under the GNU GPL 
version 3 or higher.</font></p>

</body></html>