<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="https://www.lagowiki.com/skins/common/feed.css?97"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>https://www.lagowiki.com/index.php?action=history&amp;feed=atom&amp;title=Webserver_ueberwachen</id>
		<title>Webserver ueberwachen - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="https://www.lagowiki.com/index.php?action=history&amp;feed=atom&amp;title=Webserver_ueberwachen"/>
		<link rel="alternate" type="text/html" href="https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;action=history"/>
		<updated>2026-04-14T23:11:35Z</updated>
		<subtitle>Versionsgeschichte für diese Seite in LagoWiki</subtitle>
		<generator>MediaWiki 1.11.2</generator>

	<entry>
		<id>https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=224&amp;oldid=prev</id>
		<title>Gabriel um 19:44, 9. Mär. 2009</title>
		<link rel="alternate" type="text/html" href="https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=224&amp;oldid=prev"/>
				<updated>2009-03-09T19:44:00Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version vom 19:44, 9. Mär. 2009&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 37:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Das mailt das Logfile jeden 1. des Monats um 5:00 Uhr&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Das mailt das Logfile jeden 1. des Monats um 5:00 Uhr&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&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: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Editiert wird die ''crontab'' übrigens mit &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Editiert wird die ''crontab'' übrigens mit&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;:&lt;/ins&gt;&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; crontab -e&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; crontab -e&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gabriel</name></author>	</entry>

	<entry>
		<id>https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=223&amp;oldid=prev</id>
		<title>Gabriel um 19:43, 9. Mär. 2009</title>
		<link rel="alternate" type="text/html" href="https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=223&amp;oldid=prev"/>
				<updated>2009-03-09T19:43:32Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version vom 19:43, 9. Mär. 2009&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 36:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 36:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; 0       5       1       *       *       cat watchlog.log | mail -s &amp;quot;Watchlog vom Server&amp;quot; -a From:serverrestart@mx.meineseite.com server@mx.meineseite.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; 0       5       1       *       *       cat watchlog.log | mail -s &amp;quot;Watchlog vom Server&amp;quot; -a From:serverrestart@mx.meineseite.com server@mx.meineseite.com&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Das mailt das Logfile jeden 1. des Monats um 5:00 Uhr&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Das mailt das Logfile jeden 1. des Monats um 5:00 Uhr&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Editiert wird die ''crontab'' übrigens mit &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; crontab -e&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gabriel</name></author>	</entry>

	<entry>
		<id>https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=222&amp;oldid=prev</id>
		<title>Gabriel um 19:22, 9. Mär. 2009</title>
		<link rel="alternate" type="text/html" href="https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=222&amp;oldid=prev"/>
				<updated>2009-03-09T19:22:10Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version vom 19:22, 9. Mär. 2009&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Um sich das Logfile vorher zumailen zu lassen, tragen wir folgendes in die ''crontab'' ein:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Um sich das Logfile vorher zumailen zu lassen, tragen wir folgendes in die ''crontab'' ein:&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: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; 0       5       1       *       *       cat watchlog.log | mail -s &amp;quot;Watchlog vom Server&amp;quot; -a From:serverrestart@mx.meineseite.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; 0       5       1       *       *       cat watchlog.log | mail -s &amp;quot;Watchlog vom Server&amp;quot; -a From:serverrestart&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;@mx.meineseite.com server&lt;/ins&gt;@mx.meineseite.com&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Das mailt das Logfile jeden 1. des Monats um 5:00 Uhr&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Das mailt das Logfile jeden 1. des Monats um 5:00 Uhr&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gabriel</name></author>	</entry>

	<entry>
		<id>https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=221&amp;oldid=prev</id>
		<title>Gabriel um 19:19, 9. Mär. 2009</title>
		<link rel="alternate" type="text/html" href="https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=221&amp;oldid=prev"/>
				<updated>2009-03-09T19:19:56Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version vom 19:19, 9. Mär. 2009&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Um sich das Logfile vorher zumailen zu lassen, tragen wir folgendes in die ''crontab'' ein:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Um sich das Logfile vorher zumailen zu lassen, tragen wir folgendes in die ''crontab'' ein:&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: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; 0       5       1       *       *       &lt;del style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;lynx -dump &lt;/del&gt;watchlog.log | mail -s &amp;quot;Watchlog vom Server&amp;quot; -a From:serverrestart@mx.meineseite.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; 0       5       1       *       *       &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;cat &lt;/ins&gt;watchlog.log | mail -s &amp;quot;Watchlog vom Server&amp;quot; -a From:serverrestart@mx.meineseite.com&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Das mailt das Logfile jeden 1. des Monats um 5:00 Uhr&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Das mailt das Logfile jeden 1. des Monats um 5:00 Uhr&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gabriel</name></author>	</entry>

	<entry>
		<id>https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=220&amp;oldid=prev</id>
		<title>Gabriel um 19:15, 9. Mär. 2009</title>
		<link rel="alternate" type="text/html" href="https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=220&amp;oldid=prev"/>
				<updated>2009-03-09T19:15:59Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version vom 19:15, 9. Mär. 2009&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 32:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; 5       5       1       *       *       rm /root/watchlog.log&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; 5       5       1       *       *       rm /root/watchlog.log&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Das löscht das Logfile jeden 1. des Monats um 5:05 Uhr&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Das löscht das Logfile jeden 1. des Monats um 5:05 Uhr&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Um sich das Logfile vorher zumailen zu lassen, tragen wir folgendes in die ''crontab'' ein:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; 0       5       1       *       *       lynx -dump watchlog.log | mail -s &amp;quot;Watchlog vom Server&amp;quot; -a From:serverrestart@mx.meineseite.com&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Das mailt das Logfile jeden 1. des Monats um 5:00 Uhr&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gabriel</name></author>	</entry>

	<entry>
		<id>https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=219&amp;oldid=prev</id>
		<title>Gabriel um 18:49, 9. Mär. 2009</title>
		<link rel="alternate" type="text/html" href="https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=219&amp;oldid=prev"/>
				<updated>2009-03-09T18:49:59Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version vom 18:49, 9. Mär. 2009&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; ssh root@neuzustartender-server.com ps -ax | more | mail -s &amp;quot;Serverprozesse&amp;quot; serverprozesse@meine-emai.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; ssh root@neuzustartender-server.com ps -ax | more | mail -s &amp;quot;Serverprozesse&amp;quot; serverprozesse@meine-emai.com&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; ssh root@neuzustartender-server.com /etc/init.d/apache2 restart | mail -s &amp;quot;Serverrestart&amp;quot; serverstatus@meine-email.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; ssh root@neuzustartender-server.com /etc/init.d/apache2 restart | mail -s &amp;quot;Serverrestart&amp;quot; serverstatus@meine-email.com&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: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; lynx -dump http://meineseite.com/statistik.html | mail -s &amp;quot;Statistik nach Restart&amp;quot; -a From:stats@mx.meineseite.com statistik@mx.meineseite.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; lynx -dump &lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;nowiki&amp;gt;&lt;/ins&gt;http://meineseite.com/statistik.html&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/nowiki&amp;gt; &lt;/ins&gt;| mail -s &amp;quot;Statistik nach Restart&amp;quot; -a From:stats@mx.meineseite.com statistik@mx.meineseite.com&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; fi&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; fi&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gabriel</name></author>	</entry>

	<entry>
		<id>https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=218&amp;oldid=prev</id>
		<title>Gabriel um 18:49, 9. Mär. 2009</title>
		<link rel="alternate" type="text/html" href="https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=218&amp;oldid=prev"/>
				<updated>2009-03-09T18:49:22Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version vom 18:49, 9. Mär. 2009&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; ssh root@neuzustartender-server.com ps -ax | more | mail -s &amp;quot;Serverprozesse&amp;quot; serverprozesse@meine-emai.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; ssh root@neuzustartender-server.com ps -ax | more | mail -s &amp;quot;Serverprozesse&amp;quot; serverprozesse@meine-emai.com&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; ssh root@neuzustartender-server.com /etc/init.d/apache2 restart | mail -s &amp;quot;Serverrestart&amp;quot; serverstatus@meine-email.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; ssh root@neuzustartender-server.com /etc/init.d/apache2 restart | mail -s &amp;quot;Serverrestart&amp;quot; serverstatus@meine-email.com&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; lynx -dump http://meineseite.com/statistik.html | mail -s &amp;quot;Statistik nach Restart&amp;quot; -a From:stats@mx.meineseite.com statistik@mx.meineseite.com&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; fi&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; fi&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gabriel</name></author>	</entry>

	<entry>
		<id>https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=113&amp;oldid=prev</id>
		<title>Gabriel um 18:19, 7. Apr. 2008</title>
		<link rel="alternate" type="text/html" href="https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=113&amp;oldid=prev"/>
				<updated>2008-04-07T18:19:58Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version vom 18:19, 7. Apr. 2008&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; echo &amp;quot;Test war nicht erfolgreich - Server down: $(date)&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; echo &amp;quot;Test war nicht erfolgreich - Server down: $(date)&amp;quot;&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; echo &amp;quot;Test war nicht erfolgreich - Server down: $(date)&amp;quot; | mail -s &amp;quot;Serverstatus&amp;quot; serverstatus@meine-email.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; echo &amp;quot;Test war nicht erfolgreich - Server down: $(date)&amp;quot; | mail -s &amp;quot;Serverstatus&amp;quot; serverstatus@meine-email.com&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; ssh root@neuzustartender-server.com ps -ax | more | mail -s &amp;quot;Serverprozesse&amp;quot; serverprozesse@meine-emai.com&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; ssh root@neuzustartender-server.com /etc/init.d/apache2 restart | mail -s &amp;quot;Serverrestart&amp;quot; serverstatus@meine-email.com&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; fi&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; fi&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Die vorletzten beiden Zeilen starten den zu überwachenden Apache-Server neu. Die erste der beiden Zeilen schreibt vor dem neustart des Apachen alle laufenden Prozesse ein eine Mail. Voraussetzung das das neustarten des Servers funktioniert ist eine eingerichtete Authentifizierung beider Server gegeneinander. Siehe [[Server_Authorisierung]]&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* In der ''crontab'' wir jetzt noch eingetragen, dass zu jedem Zeitpunkt x die Datei ''watch.sh'' und eine Minute später die Datei ''watch-veri.sh'' ausgeführt werden soll.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* In der ''crontab'' wir jetzt noch eingetragen, dass zu jedem Zeitpunkt x die Datei ''watch.sh'' und eine Minute später die Datei ''watch-veri.sh'' ausgeführt werden soll.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gabriel</name></author>	</entry>

	<entry>
		<id>https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=105&amp;oldid=prev</id>
		<title>Gabriel um 21:22, 4. Apr. 2008</title>
		<link rel="alternate" type="text/html" href="https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=105&amp;oldid=prev"/>
				<updated>2008-04-04T21:22:37Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;

			&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;tr&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version vom 21:22, 4. Apr. 2008&lt;/td&gt;
			&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; then echo &amp;quot;Test war erfolgreich - Server läuft: $(date)&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; then echo &amp;quot;Test war erfolgreich - Server läuft: $(date)&amp;quot;&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; else&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; else&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; echo &amp;quot;Test war nicht erfolgreich - Server down: $(date)&amp;quot;&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; echo &amp;quot;Test war nicht erfolgreich - Server down: $(date)&amp;quot; | mail -s &amp;quot;Serverstatus&amp;quot; serverstatus@meine-email.com&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; echo &amp;quot;Test war nicht erfolgreich - Server down: $(date)&amp;quot; | mail -s &amp;quot;Serverstatus&amp;quot; serverstatus@meine-email.com&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; fi&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; fi&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* In der ''crontab'' wir jetzt noch eingetragen, dass zu jedem Zeitpunkt x die Datei ''watch.sh'' und eine Minute später die Datei ''watch-veri.sh'' ausgeführt werden soll.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* In der ''crontab'' wir jetzt noch eingetragen, dass zu jedem Zeitpunkt x die Datei ''watch.sh'' und eine Minute später die Datei ''watch-veri.sh'' ausgeführt werden soll.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; 1,11,21,31,41,51        *       *       *       *       /root/watch.sh &amp;gt;&amp;gt; watchlog.log&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; 2,12,22,32,42,52        *       *       *       *       /root/watch-veri.sh &amp;gt;&amp;gt; watchlog.log&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Das Schreibt die ausgaben noch zusätzlich in das Logfile names ''watchlog.log''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Wenn man auf Nummer sicher gehen möchte, dass die Logfiles einem nicht auf einmal den Speicher voll laufen lassen, dann trägt man noch folgedes in die ''crontab'' ein:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt; 5       5       1       *       *       rm /root/watchlog.log&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Das löscht das Logfile jeden 1. des Monats um 5:05 Uhr&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gabriel</name></author>	</entry>

	<entry>
		<id>https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=104&amp;oldid=prev</id>
		<title>Gabriel: Die Seite wurde neu angelegt: Manchmal ist es notwendig, einen Webserver zu überwachen, ob die Seiten korrekt erreichbar sind.  Dazu kann folgende, einfache Vorgehensweise angewandt werden:  * Auf ...</title>
		<link rel="alternate" type="text/html" href="https://www.lagowiki.com/index.php?title=Webserver_ueberwachen&amp;diff=104&amp;oldid=prev"/>
				<updated>2008-04-04T21:00:55Z</updated>
		
		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: Manchmal ist es notwendig, einen Webserver zu überwachen, ob die Seiten korrekt erreichbar sind.  Dazu kann folgende, einfache Vorgehensweise angewandt werden:  * Auf ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Manchmal ist es notwendig, einen Webserver zu überwachen, ob die Seiten korrekt erreichbar sind. &lt;br /&gt;
Dazu kann folgende, einfache Vorgehensweise angewandt werden:&lt;br /&gt;
&lt;br /&gt;
* Auf dem zu überprüfenden Server wird eine Datei namens ''test.txt'' angelegt, die über eine URL zu erreichen ist (z.B. &amp;lt;nowiki&amp;gt;http://domain.tld/test.txt&amp;lt;/nowiki&amp;gt;)&lt;br /&gt;
* Diese Datei hat den nur ein Wort als Inhalt: &lt;br /&gt;
 test&lt;br /&gt;
* Auf einem zweiten Server werden folgende Shellskripte erstellt&lt;br /&gt;
** ''watch.sh''&lt;br /&gt;
 rm watch.file&lt;br /&gt;
 lynx -dump &amp;lt;nowiki&amp;gt;http://domain.tld/test.txt&amp;lt;/nowiki&amp;gt; &amp;gt; watch.file&lt;br /&gt;
* ''watch-veri.sh''&lt;br /&gt;
 if grep test watch.file&lt;br /&gt;
 then echo &amp;quot;Test war erfolgreich - Server läuft: $(date)&amp;quot;&lt;br /&gt;
 else&lt;br /&gt;
 echo &amp;quot;Test war nicht erfolgreich - Server down: $(date)&amp;quot; | mail -s &amp;quot;Serverstatus&amp;quot; serverstatus@meine-email.com&lt;br /&gt;
 fi&lt;br /&gt;
&lt;br /&gt;
* In der ''crontab'' wir jetzt noch eingetragen, dass zu jedem Zeitpunkt x die Datei ''watch.sh'' und eine Minute später die Datei ''watch-veri.sh'' ausgeführt werden soll.&lt;/div&gt;</summary>
		<author><name>Gabriel</name></author>	</entry>

	</feed>