<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Jonas Genannt - control</title>
    <link>http://blog.brachium-system.net/</link>
    <description>Weblog of an System Engineer</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.2 - http://www.s9y.org/</generator>
    
    <image>
        <url>http://blog.brachium-system.net/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Jonas Genannt - control - Weblog of an System Engineer</title>
        <link>http://blog.brachium-system.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Updated 3dm2 and CLI packages from 3Ware</title>
    <link>http://blog.brachium-system.net/archives/66-Updated-3dm2-and-CLI-packages-from-3Ware.html</link>
            <category>control</category>
            <category>debian</category>
    
    <comments>http://blog.brachium-system.net/archives/66-Updated-3dm2-and-CLI-packages-from-3Ware.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=66</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=66</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    I have updated my &lt;a href=&quot;http://blog.brachium-system.net/archives/60-Updated-3dm2-and-CLI-packages-from-3Ware.html&quot;&gt;3Ware 3dm2&lt;/a&gt; and 3Ware CLI debian packages. I also included the patch from &lt;a href=&quot;http://tretkowski.de/blog/archives/364-Updated-3dm2-packages.html&quot;&gt;tretkowski.de&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Now version 9.5.0 is available on &lt;a href=&quot;http://jonas.genannt.name&quot;&gt;jonas.genannt.name&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Wed, 17 Oct 2007 00:22:03 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/66-guid.html</guid>
    
</item>
<item>
    <title>vlans + 3DM2</title>
    <link>http://blog.brachium-system.net/archives/64-vlans-+-3DM2.html</link>
            <category>control</category>
            <category>weird</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/64-vlans-+-3DM2.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=64</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=64</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    This morning, I had to install my 3dm2 package on an server with vlans on the local ethernet device. &lt;br /&gt;
&lt;br /&gt;
I installed the  packages as always, but I was not able to start 3dm2. The software failed with &lt;blockquote&gt;&lt;br /&gt;
(0x0C:0x0005): Failed to start listening socket&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
After some debuging, I have changed &lt;b&gt;RemoteAccess&lt;/b&gt; parameter to &lt;b&gt;0&lt;/b&gt;. After this modification in the configuration file, I was able to start 3dm2 on the machine.&lt;br /&gt;
&lt;br /&gt;
So I think 3dm2 is not able to handle ethernet devices with vlans enabled... 
    </content:encoded>

    <pubDate>Mon, 08 Oct 2007 22:54:06 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/64-guid.html</guid>
    
</item>
<item>
    <title>Updated 3dm2 and CLI packages from 3Ware</title>
    <link>http://blog.brachium-system.net/archives/60-Updated-3dm2-and-CLI-packages-from-3Ware.html</link>
            <category>control</category>
            <category>debian</category>
    
    <comments>http://blog.brachium-system.net/archives/60-Updated-3dm2-and-CLI-packages-from-3Ware.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=60</wfw:comment>

    <slash:comments>6</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=60</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    I have updated my 3Ware 3dm2 and 3Ware CLI debian packages.&lt;br /&gt;
&lt;br /&gt;
Now version 9.4.1.2 is available on &lt;a href=&quot;http://jonas.genannt.name/&quot;&gt;jonas.genannt.name&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Wed, 04 Jul 2007 18:26:36 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/60-guid.html</guid>
    
</item>
<item>
    <title>Policyd-Weight nagios plugin</title>
    <link>http://blog.brachium-system.net/archives/59-Policyd-Weight-nagios-plugin.html</link>
            <category>control</category>
            <category>mail</category>
            <category>spam</category>
    
    <comments>http://blog.brachium-system.net/archives/59-Policyd-Weight-nagios-plugin.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=59</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=59</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    If you are using &lt;a href=&quot;http://www.policyd-weight.org/&quot;&gt;Policyd-weight&lt;/a&gt; and you want to monitor it with your nagios, you can use my policyd-weight nagios plugin.&lt;br /&gt;
&lt;br /&gt;
You can download it &lt;a href=&quot;http://jonas.genannt.name/check_policyd_weight.pl&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Fri, 08 Jun 2007 10:42:13 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/59-guid.html</guid>
    
</item>
<item>
    <title>3Ware - CLI - Command Line Interface for debian</title>
    <link>http://blog.brachium-system.net/archives/57-3Ware-CLI-Command-Line-Interface-for-debian.html</link>
            <category>control</category>
            <category>debian</category>
            <category>useful stuff</category>
    
    <comments>http://blog.brachium-system.net/archives/57-3Ware-CLI-Command-Line-Interface-for-debian.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=57</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=57</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    New ( version: 9.4.1.1) 3Ware CLI programm is now packaged. You can find it on: &lt;a href=&quot;http://jonas.genannt.name&quot;&gt;jonas.genannt.name&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Please have a look at: &lt;a href=&quot;http://blog.brachium-system.net/archives/44-Using-tw_cli-from-3Ware.html&quot;&gt;Using the tw_cli &lt;/a&gt; 
    </content:encoded>

    <pubDate>Sun, 03 Jun 2007 21:41:15 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/57-guid.html</guid>
    
</item>
<item>
    <title>Using tw_cli from 3Ware</title>
    <link>http://blog.brachium-system.net/archives/44-Using-tw_cli-from-3Ware.html</link>
            <category>control</category>
            <category>debian</category>
            <category>useful stuff</category>
    
    <comments>http://blog.brachium-system.net/archives/44-Using-tw_cli-from-3Ware.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=44</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=44</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    The tw_cli from 3Ware for all the 3WARE Controllers is a &lt;b&gt;little bit tricky&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
Here are some examples how to use tw_cli:&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
tw_cli&lt;br /&gt;
//irena&gt;info&lt;br /&gt;
Ctl   Model        Ports   Drives   Units   NotOpt   RRate   VRate   BBU&lt;br /&gt;
------------------------------------------------------------------------&lt;br /&gt;
c0    8506-4LP     4       3        1       0        3       -       -&lt;/blockquote&gt;&lt;br /&gt;
The &lt;i&gt;info&lt;/i&gt; command is usefull for checking how many controller are available.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
//irena&gt;/c0 show&lt;br /&gt;
Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
u0    RAID-5    OK             -       -       64K     298.099   ON     -&lt;br /&gt;
&lt;br /&gt;
Port   Status           Unit   Size        Blocks        Serial&lt;br /&gt;
---------------------------------------------------------------&lt;br /&gt;
p0     OK               u0     149.05 GB   312581808     0696J1FX608399&lt;br /&gt;
p1     OK               u0     149.05 GB   312581808     0696J1FX611330&lt;br /&gt;
p2     NOT-PRESENT      -      -           -             -&lt;br /&gt;
p3     OK               u0     149.05 GB   312581808     0696J1FX611304&lt;/blockquote&gt;&lt;br /&gt;
The &lt;i&gt;/c0 show&lt;/i&gt; command display which raid units and disks avilable on controller 0.&lt;br /&gt;
For the second controller in the system please type &lt;i&gt;/c1 show&lt;/i&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
//irena&gt;/c0/u0 start verify&lt;br /&gt;
Sending start verify message to /c0/u0 ... Done.&lt;/blockquote&gt;&lt;br /&gt;
The &lt;i&gt;/c0/u0 start verify&lt;/i&gt; command starts an Raid verify on Controller 0 Unit 0.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
//irena&gt;/c0/u0 start rebuild disk=1&lt;br /&gt;
Sending rebuild start request to /c0/u0 on 1 disk(s)&lt;/blockquote&gt;&lt;br /&gt;
The command &lt;i&gt;/c0/u0 start rebuild disk=1&lt;/i&gt; starts the rebuild on controller 0, unit 0 and disk 1 (on port 1).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are using debian, you can use my debian packages, please see &lt;a href=&quot;http://jonas.genannt.name&quot;&gt;here&lt;/a&gt;! 
    </content:encoded>

    <pubDate>Thu, 11 Jan 2007 20:48:58 +0100</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/44-guid.html</guid>
    
</item>
<item>
    <title>3Ware CLI and 3dm2 debian packages updated</title>
    <link>http://blog.brachium-system.net/archives/42-3Ware-CLI-and-3dm2-debian-packages-updated.html</link>
            <category>control</category>
            <category>debian</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/42-3Ware-CLI-and-3dm2-debian-packages-updated.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=42</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=42</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    I have updated my 3Ware CLI  (Command Line Interface) and 3DM2 (Disk Management Utility) debian packages.&lt;br /&gt;
&lt;br /&gt;
You can find it on my &lt;a href=&quot;http://jonas.genannt.name&quot;&gt;website&lt;/a&gt; like the last version.&lt;br /&gt;
&lt;br /&gt;
Please note, I have only updated the i386 packages, the amd64 will follow in some days. 
    </content:encoded>

    <pubDate>Sun, 07 Jan 2007 17:29:42 +0100</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/42-guid.html</guid>
    
</item>
<item>
    <title>Webbased email administration interface - Update</title>
    <link>http://blog.brachium-system.net/archives/35-Webbased-email-administration-interface-Update.html</link>
            <category>control</category>
            <category>mail</category>
            <category>network</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/35-Webbased-email-administration-interface-Update.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=35</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=35</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    Updated features list:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1.) normal eMailaccount&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;change there own password&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;create/modify/delete autoresponder&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;&lt;b&gt;create/modify/delete forward to an other email address (with the option deliver local or not)&lt;/b&gt;&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;&lt;b&gt;activate/deactivate spamassassin&lt;/b&gt;&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;&lt;b&gt;create/modify/delete whist- and blacklists for spamassassin&lt;/b&gt;&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;&lt;b&gt;modify some options for spamassassin, e.g.  rewrite subject&lt;/b&gt;&lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
Now it would be nice if some volunteer create a nice site layout for the webinterface. &lt;img src=&quot;http://blog.brachium-system.net/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Sun, 10 Sep 2006 18:06:35 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/35-guid.html</guid>
    
</item>
<item>
    <title>Feed up your RSS Feeds - Liferea</title>
    <link>http://blog.brachium-system.net/archives/34-Feed-up-your-RSS-Feeds-Liferea.html</link>
            <category>control</category>
            <category>network</category>
            <category>useful stuff</category>
    
    <comments>http://blog.brachium-system.net/archives/34-Feed-up-your-RSS-Feeds-Liferea.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=34</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=34</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    In the past I had some trouble to manage my RSS feeds.&lt;br /&gt;
&lt;br /&gt;
I used Thunderbird for reading my email than the RSS feeds begun to grow up and I used Thunderbird to read my feeds, but it is the wrong program for it. To slow and to big, eats memory.&lt;br /&gt;
&lt;br /&gt;
Today I started my search for an news reader! - I found &lt;a href=&quot;http://liferea.sf.net&quot;&gt;Liferea&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
A small and fast - written in GTK - newsreader. Now I&#039;m happy with the feeds. &lt;img src=&quot;http://blog.brachium-system.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Thu, 17 Aug 2006 01:32:21 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/34-guid.html</guid>
    
</item>
<item>
    <title>Webbased email administration interface</title>
    <link>http://blog.brachium-system.net/archives/33-Webbased-email-administration-interface.html</link>
            <category>control</category>
            <category>mail</category>
            <category>network</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/33-Webbased-email-administration-interface.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=33</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=33</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    My project is neaerly complete! - Web based managment for eMailServers.&lt;br /&gt;
&lt;br /&gt;
My eMailServer framework based on Courier/Postfix/Maildrop/MySQL has got four usergroups:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1.) normal eMailaccount&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;change there own password&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;create/modify/delete autoresponder&lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;b&gt;2.) admin for one or more domains&lt;/b&gt;&lt;br /&gt;
        &lt;ul&gt;&lt;li&gt;can do the same like a normal eMailaccount&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;create/modify/delete eMailaddresses&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;create/modify/delete Forwardings&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;create/modify/delete CatchAll Address&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3.) superadmin&lt;/b&gt;&lt;br /&gt;
        &lt;ul&gt;&lt;li&gt;can do the same like the admin&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;create/modify/delete domains&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4.) superadmin manager&lt;/b&gt;&lt;br /&gt;
        &lt;ul&gt;&lt;li&gt;can do the same like the superadmin&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;create/modify/delete superadmins&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
All this actions can be done with the webinterface!&lt;br /&gt;
&lt;br /&gt;
You can find &lt;a href=&quot;http://jonas.capi2name.de/email_system/&quot;&gt;some screenshots here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Sorry all screenshots in german, but it based on Smarty so you can make your own template.&lt;br /&gt;
&lt;br /&gt;
The Webinterface depends on php4, php4-mysql, php4-cli, mysql-server,smarty, php4-pear and some extra Pear Modules. 
    </content:encoded>

    <pubDate>Mon, 14 Aug 2006 21:27:04 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/33-guid.html</guid>
    
</item>
<item>
    <title>3Ware - CLI - Command Line Interface for debian</title>
    <link>http://blog.brachium-system.net/archives/25-3Ware-CLI-Command-Line-Interface-for-debian.html</link>
            <category>control</category>
            <category>debian</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/25-3Ware-CLI-Command-Line-Interface-for-debian.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=25</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=25</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    3Ware Software the second round!&lt;br /&gt;
&lt;br /&gt;
I have created debian packages for the CLI (Command Line Interface) for 3Ware Controllers.&lt;br /&gt;
&lt;br /&gt;
You can find it, like the 3dm2 on &lt;a href=&quot;http://debian-unofficial.org&quot;&gt;Debian Unofficial&lt;/a&gt; and &lt;a href=&quot;http://jonas.genannt.name&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 06 Jun 2006 23:56:22 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/25-guid.html</guid>
    
</item>
<item>
    <title>3Ware - 3DM 2 -  Disk Management Utility for debian</title>
    <link>http://blog.brachium-system.net/archives/24-3Ware-3DM-2-Disk-Management-Utility-for-debian.html</link>
            <category>control</category>
            <category>debian</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/24-3Ware-3DM-2-Disk-Management-Utility-for-debian.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=24</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=24</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    I have created debian packages for the 3DM 2 (Disk Management Utility) for 3Ware Controllers.&lt;br /&gt;
&lt;br /&gt;
You can find it on &lt;a href=&quot;http://debian-unofficial.org&quot;&gt;Debian Unofficial&lt;/a&gt; and &lt;a href=&quot;http://jonas.genannt.name&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Sat, 03 Jun 2006 02:40:47 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/24-guid.html</guid>
    
</item>
<item>
    <title>Script: check for new security updates with cron and mail</title>
    <link>http://blog.brachium-system.net/archives/9-Script-check-for-new-security-updates-with-cron-and-mail.html</link>
            <category>control</category>
            <category>debian</category>
            <category>mail</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/9-Script-check-for-new-security-updates-with-cron-and-mail.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=9</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=9</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    This script checks for new updates and mails the output to the sysadmin!&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
#Copyright: Jonas Genannt jonas.genannt (AT) capi2name.de&lt;br /&gt;
#License: GPL&lt;br /&gt;
&lt;br /&gt;
MAIL_CMD=&quot;/usr/bin/mail&quot;&lt;br /&gt;
EMAIL_ADDR=&quot;email@domain.tld&quot;&lt;br /&gt;
TMPNAME=&quot;`mktemp`&quot;&lt;br /&gt;
&lt;br /&gt;
IPADDR=&quot;`LC_ALL=&#039;en&#039; /sbin/ifconfig eth0 | sed -n -e&#039;/inet addr:/s/^.*inet addr:\([0-9.]*\).*$/\1/p&#039;`&quot;&lt;br /&gt;
&lt;br /&gt;
if [ -z ${IPADDR} ]; then&lt;br /&gt;
        IPADDR=&quot;`LC_ALL=&#039;en&#039; /sbin/ifconfig eth0:1 | sed -n -e&#039;/inet addr:/s/^.*inet addr:\([0-9.]*\).*$/\1/p&#039;`&quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ -z ${IPADDR} ]; then&lt;br /&gt;
        IPADDR=`/bin/hostname -f`&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
apt-get update &gt; /dev/null&lt;br /&gt;
if [ `apt-get --just-print upgrade | grep -c -E &quot;^Inst&quot;` -gt &quot;0&quot; ]; then&lt;br /&gt;
&lt;br /&gt;
        echo -e &quot;apt-get upgrade would like to install these packages:\n&quot; &gt;&gt; ${TMPNAME}&lt;br /&gt;
        `apt-get --just-print -u  upgrade | grep   &quot;^Inst &quot; | awk &#039;{print$2}&#039; &gt;&gt; ${TMPNAME}`&lt;br /&gt;
        echo -e &quot;\n-------------------------------------\nSecurity Updates. You know the drill.&quot; &gt;&gt; ${TMPNAME}&lt;br /&gt;
        ${MAIL_CMD} ${EMAIL_ADDR} -s &quot;Updates available on ${IPADDR}&quot; &lt; ${TMPNAME}&lt;br /&gt;
        rm -f ${TMPNAME}&lt;br /&gt;
fi&lt;br /&gt;
&lt;/blockquote&gt; 
    </content:encoded>

    <pubDate>Mon, 20 Feb 2006 22:03:13 +0100</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/9-guid.html</guid>
    
</item>

</channel>
</rss>