<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.gude-systems.com/index.php?action=history&amp;feed=atom&amp;title=FAQ_syslog</id>
	<title>FAQ syslog - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gude-systems.com/index.php?action=history&amp;feed=atom&amp;title=FAQ_syslog"/>
	<link rel="alternate" type="text/html" href="https://wiki.gude-systems.com/index.php?title=FAQ_syslog&amp;action=history"/>
	<updated>2026-04-04T12:11:10Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Gude Systems GmbH</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.gude-systems.com/index.php?title=FAQ_syslog&amp;diff=173&amp;oldid=prev</id>
		<title>Mb am 7. März 2013 um 19:25 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.gude-systems.com/index.php?title=FAQ_syslog&amp;diff=173&amp;oldid=prev"/>
		<updated>2013-03-07T19:25:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 7. März 2013, 19:25 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l71&quot; &gt;Zeile 71:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 71:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*''epc_mails.pl'' kann natürlich nach Belieben erweitert werden, um z.B. anstelle einer normalen E-Mail eine Mail zu einem SMS Gateway abzuschicken, oder um SQL Befehle abzusetzen, etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*''epc_mails.pl'' kann natürlich nach Belieben erweitert werden, um z.B. anstelle einer normalen E-Mail eine Mail zu einem SMS Gateway abzuschicken, oder um SQL Befehle abzusetzen, etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; &lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;----&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Benutzer:Mbachem|Mbachem]] 14:31, 15. Jun 2007 (CEST)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mb</name></author>
	</entry>
	<entry>
		<id>https://wiki.gude-systems.com/index.php?title=FAQ_syslog&amp;diff=130&amp;oldid=prev</id>
		<title>Mb am 7. März 2013 um 19:00 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.gude-systems.com/index.php?title=FAQ_syslog&amp;diff=130&amp;oldid=prev"/>
		<updated>2013-03-07T19:00:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 7. März 2013, 19:00 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l30&quot; &gt;Zeile 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/del&gt;:epc_v2.2_config_syslog.jpg]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei:epc_v2.2_config_syslog.jpg]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l38&quot; &gt;Zeile 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 38:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/del&gt;:kiwi_syslog_sm.jpg]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Datei:kiwi_syslog_sm.jpg]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Syslog-ng Konfiguration==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Syslog-ng Konfiguration==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mb</name></author>
	</entry>
	<entry>
		<id>https://wiki.gude-systems.com/index.php?title=FAQ_syslog&amp;diff=129&amp;oldid=prev</id>
		<title>Mb: Die Seite wurde neu angelegt: „==Konfiguration== Das Gerät sendet auf Wunsch [http://de.wikipedia.org/wiki/Syslog Syslog] Nachrichten:   '''Syslog Nachrichten beim Expert Power Control 8x N…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.gude-systems.com/index.php?title=FAQ_syslog&amp;diff=129&amp;oldid=prev"/>
		<updated>2013-03-07T19:00:33Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „==Konfiguration== Das Gerät sendet auf Wunsch [http://de.wikipedia.org/wiki/Syslog Syslog] Nachrichten:   &amp;#039;&amp;#039;&amp;#039;Syslog Nachrichten beim Expert Power Control 8x N…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Konfiguration==&lt;br /&gt;
Das Gerät sendet auf Wunsch [http://de.wikipedia.org/wiki/Syslog Syslog] Nachrichten:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Syslog Nachrichten beim Expert Power Control 8x NET'''&lt;br /&gt;
* Booten&lt;br /&gt;
* Ein- und Auschalten von Syslog in der Konfiguration&lt;br /&gt;
* Schalten der Powerports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Syslog Nachrichten beim Expert Power Control 24x NET'''&lt;br /&gt;
* Booten&lt;br /&gt;
* Ein- und Auschalten von Syslog in der Konfiguration&lt;br /&gt;
* Änderung des Status einer der drei 16A Sicherungen&lt;br /&gt;
* Schalten der Powerports&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Syslog Nachrichten bei der EMC Professional NET (19&amp;quot;)'''&lt;br /&gt;
* Booten&lt;br /&gt;
* Ein- und Auschalten von Syslog in der Konfiguration&lt;br /&gt;
* Wechsel zwischen Quarz- und Funkzeit&lt;br /&gt;
* Schalten des Relais&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Syslog Nachrichten beim Expert Power Meter'''&lt;br /&gt;
* Booten&lt;br /&gt;
* Ausschalten&lt;br /&gt;
* Ein- und Auschalten von Syslog in der Konfiguration&lt;br /&gt;
* Überschreiten und Unterschreiten der 10A Belastung&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei::epc_v2.2_config_syslog.jpg]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Syslog Nachrichten sind einfache Textnachrichten die per UDP an einen Syslog-Server verschickt werden. Auf Linux wird im Normalfall ein Syslog-Daemon bereits vorhanden sein (z.B. [http://de.wikipedia.org/wiki/Syslog-ng syslog-ng]), auf Windows Systemen (z.B. Windows 2000, XP, Vista, etc.) können Sie z.B: [http://www.kiwisyslog.com/ Kiwi-Syslog] einsetzen:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Datei::kiwi_syslog_sm.jpg]]&lt;br /&gt;
&lt;br /&gt;
==Syslog-ng Konfiguration==&lt;br /&gt;
*syslog-ng soll generell auf UDP Port 514 syslog Nachrichten annehmen und an die Textdatei /var/log/messages anhängen (editiert in ''/etc/syslog-ng/syslog-ng.conf'') :&lt;br /&gt;
 source external {&lt;br /&gt;
         udp(ip(0.0.0.0) port(514));&lt;br /&gt;
 };&lt;br /&gt;
 &lt;br /&gt;
 destination messages { file(&amp;quot;/var/log/messages&amp;quot;); };&lt;br /&gt;
 log { source(external); destination(messages); };&lt;br /&gt;
&lt;br /&gt;
==Syslog verwenden zum automatischen Mail-Versand==&lt;br /&gt;
'''1.''' Die Ausgaben von ''/var/log/messages'' auf ''epc_mails.pl'' lenken:&lt;br /&gt;
 tail -f /var/log/messages | /usr/local/bin/epc_mails.pl &amp;amp;&lt;br /&gt;
&lt;br /&gt;
'''2.''' Perl script ''epc_mails.pl'' verschickt alle Zeilen, in denen ''&amp;quot;ExpertPowerControl&amp;quot;'' vorkommt, per E-Mail an ''admin@network.com'' :&lt;br /&gt;
&lt;br /&gt;
 #!/usr/bin/perl&lt;br /&gt;
 $debug = 1;&lt;br /&gt;
 &lt;br /&gt;
 while( $new_line=&amp;lt;STDIN&amp;gt;) {&lt;br /&gt;
   if ($debug &amp;gt; 1) {&lt;br /&gt;
     printf (&amp;quot;$new_line&amp;quot;);&lt;br /&gt;
   }&lt;br /&gt;
   if ($new_line =~ /ExpertPowerControl/) {&lt;br /&gt;
     if ($debug &amp;gt; 0) {&lt;br /&gt;
       printf (&amp;quot;$new_line&amp;quot;);&lt;br /&gt;
     }&lt;br /&gt;
     system &amp;quot;echo \&amp;quot;$new_line\&amp;quot; \| mail -s \&amp;quot;ExpertPowerControl Notification\&amp;quot; admin\@network.com&amp;quot;;&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
*''epc_mails.pl'' kann natürlich nach Belieben erweitert werden, um z.B. anstelle einer normalen E-Mail eine Mail zu einem SMS Gateway abzuschicken, oder um SQL Befehle abzusetzen, etc.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
----&lt;br /&gt;
[[Benutzer:Mbachem|Mbachem]] 14:31, 15. Jun 2007 (CEST)&lt;/div&gt;</summary>
		<author><name>Mb</name></author>
	</entry>
</feed>