<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://blog.vodkamelone.de/feeds/atom10.xml" rel="self" title="ixs' Vodkamelone" type="application/atom+xml" />
    <link href="http://blog.vodkamelone.de/"                        rel="alternate"    title="ixs' Vodkamelone" type="text/html" />
    <link href="http://blog.vodkamelone.de/rss.php?version=2.0"     rel="alternate"    title="ixs' Vodkamelone" type="application/rss+xml" />
    <title type="html">ixs' Vodkamelone</title>
    <subtitle type="html">rants and raves...</subtitle>
    <icon>http://blog.vodkamelone.de/templates/default/img/s9y_banner_small.png</icon>
    <id>http://blog.vodkamelone.de/</id>
    <updated>2011-09-13T09:30:35Z</updated>
    <generator uri="http://www.s9y.org/" version="1.3-beta1">Serendipity 1.3-beta1 - http://www.s9y.org/</generator>
    <dc:language>de</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:" />

    <entry>
        <link href="http://blog.vodkamelone.de/archives/167-A-little-shell-spinner.html" rel="alternate" title="A little shell spinner" />
        <author>
            <name>andreas</name>
            <email>andreas@dicp.de</email>
        </author>
    
        <published>2011-09-13T09:03:05Z</published>
        <updated>2011-09-13T09:30:35Z</updated>
        <wfw:comment>http://blog.vodkamelone.de/wfwcomment.php?cid=167</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://blog.vodkamelone.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=167</wfw:commentRss>
    
            <category scheme="http://blog.vodkamelone.de/categories/8-Fedora" label="Fedora" term="Fedora" />
            <category scheme="http://blog.vodkamelone.de/categories/3-Unix" label="Unix" term="Unix" />
    
        <id>http://blog.vodkamelone.de/archives/167-guid.html</id>
        <title type="html">A little shell spinner</title>
        <content type="xhtml" xml:base="http://blog.vodkamelone.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Sometimes you want to see if a connection to a remote system is still alive or you just want to keep it alive by transmitting some data.

I've found the following little shell one-liner to be quite useful:

<pre>$ while true; do for i in '|' '/' '-' '\'; do echo -n $i; sleep 0.25; echo -ne '\b'; done; done</pre>

This will create a little ascii spinner and keep a line spinning until you press CTRL-C.
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.vodkamelone.de/archives/166-FrOSCon.html" rel="alternate" title="FrOSCon" />
        <author>
            <name>andreas</name>
            <email>andreas@dicp.de</email>
        </author>
    
        <published>2011-08-28T13:11:37Z</published>
        <updated>2011-08-28T13:11:37Z</updated>
        <wfw:comment>http://blog.vodkamelone.de/wfwcomment.php?cid=166</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.vodkamelone.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=166</wfw:commentRss>
    
            <category scheme="http://blog.vodkamelone.de/categories/8-Fedora" label="Fedora" term="Fedora" />
    
        <id>http://blog.vodkamelone.de/archives/166-guid.html</id>
        <title type="html">FrOSCon</title>
        <content type="xhtml" xml:base="http://blog.vodkamelone.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p><a onclick="javascript: pageTracker._trackPageview('/extlink/www.christoph-wickert.de/blog/2011/08/26/looking-back-at-froscon-2011/');"  href="http://www.christoph-wickert.de/blog/2011/08/26/looking-back-at-froscon-2011/">Christoph Wickert already wrote a lot about FrOSCon 2011</a> so I do not have to add much. Thank god for that as I find blogging to be rather tedious lately...</p>
<p>Suffice to say the conference was great fun.</p>
<p>Even though I wasn't at FrOSCon for Fedora but for my employer <a onclick="javascript: pageTracker._trackPageview('/extlink/booking.com');"  href="http://booking.com">Booking.com</a>, who was one of the FrOSCon sponsors, I still managed to spend quite some time with the fellow Fedora people. I even got roped into providing a talk during the Fedora Activity Day.</p>
<p>As a topic I chose <a onclick="javascript: pageTracker._trackPageview('/extlink/fedorahosted.org/func/');"  href="http://fedorahosted.org/func/" title="Fedora Unified Network Controller">func</a>, a remote execution framework we have been using quite successfully at Booking for automating a lot of processes.</p>

<p><a href="http://blog.vodkamelone.de/uploads/FrOSCon2011-FedoraActivityDay-Func-AndreasThienemann.pdf" title="FrOSCon2011-FedoraActivityDay-Func-AndreasThienemann.pdf"><!-- s9ymdb:190 --><img class="serendipity_image_left" width="800" height="600" style="border: 0px; padding-left: 5px; padding-right: 5px;" src="http://blog.vodkamelone.de/uploads/FrOSCon2011-FedoraActivityDay-Func-AndreasThienemann-Slide1.jpg" alt=""  /><br />
For the people who either missed the talk or want the slides for later reference, the slidedeck is available as a PDF.</a></p>
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.vodkamelone.de/archives/165-Fedora-15,-not-as-bad-as-people-claim....html" rel="alternate" title="Fedora 15, not as bad as people claim..." />
        <author>
            <name>andreas</name>
            <email>andreas@dicp.de</email>
        </author>
    
        <published>2011-03-09T00:07:01Z</published>
        <updated>2011-03-09T03:48:36Z</updated>
        <wfw:comment>http://blog.vodkamelone.de/wfwcomment.php?cid=165</wfw:comment>
    
        <slash:comments>3</slash:comments>
        <wfw:commentRss>http://blog.vodkamelone.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=165</wfw:commentRss>
    
            <category scheme="http://blog.vodkamelone.de/categories/8-Fedora" label="Fedora" term="Fedora" />
    
        <id>http://blog.vodkamelone.de/archives/165-guid.html</id>
        <title type="html">Fedora 15, not as bad as people claim...</title>
        <content type="xhtml" xml:base="http://blog.vodkamelone.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p>Reading <a onclick="javascript: pageTracker._trackPageview('/extlink/planet.fedoraproject.org');"  href="http://planet.fedoraproject.org" title="Fedora planet">the fedora planet</a> I got the impression that the <a onclick="javascript: pageTracker._trackPageview('/extlink/wordshack.wordpress.com/2011/03/08/fedora-15-alpha-is-now-available/');"  href="http://wordshack.wordpress.com/2011/03/08/fedora-15-alpha-is-now-available/">new Fedora 15 alpha release</a> must suck.</p>

<p>This impression is mostly based on <a onclick="javascript: pageTracker._trackPageview('/extlink/nicubunu.blogspot.com/2011/03/breaking-news-fedora-15-beta-leaked-now.html');"  href="http://nicubunu.blogspot.com/2011/03/breaking-news-fedora-15-beta-leaked-now.html" title="Breaking News: Fedora 15 *Beta* leaked! Now with desktop icons!">the screenshots</a> <a onclick="javascript: pageTracker._trackPageview('/extlink/nicubunu.blogspot.com/');"  href="http://nicubunu.blogspot.com/">Nicu</a> posted as well <a onclick="javascript: pageTracker._trackPageview('/extlink/nicubunu.blogspot.com/2011/03/preview-fedora-15-gnome-30-skippable.html');"  href="http://nicubunu.blogspot.com/2011/03/preview-fedora-15-gnome-30-skippable.html" title="[p]review: Fedora 15 + GNOME 3.0, a skippable release">as the accompanying, vicious review</a>.</p>

<p>Having seen these, I naturally had to try the new F15 release for myself to see what this is all about.</p>

<p>Having booted it up in a virtual machine I am now ready to proclaim that <strong>Fedora 15 does not suck</strong>. The system greets me the same way prior releases did and the only noticable difference is a different release name and newer kernel release.</p>

<p><!-- s9ymdb:188 --><img class="serendipity_image_center" width="720" height="400" style="border: 0px; padding-left: 5px; padding-right: 5px;" src="http://blog.vodkamelone.de/uploads/lovelock-shell.png" alt=""  /></p>

<p>However, in the few minutes I spent with the new release I have to say that I already found two bugs:<br />
After switching to the graphical login screen with gdm3, the screen becomes garbled. Suddenly the background is full of scanlines reminding me of the old days when I didn't had the correct modeline in the /etc/X11/X11.conf file.<br />
I was assured however on IRC, that my hardware is not broken and this is the normal design for the Alpha release and the final one will not destroy my display. Thank god for that.</p>

<p>The other bug is that after ignoring the garbled screen and actually logging in, the desktop has become totally broken and hideous. Black and grey bars are alternating and hurting my eyes, functionality is missing, I have to switch constantly to the command line to change settings etc...</p>

<p>Again however the friendly people on the IRC channel came to the rescue and informed me that this is a known bug (tracked in the ohh so aptly named <a onclick="javascript: pageTracker._trackPageview('/extlink/bugzilla.redhat.com/show_bug.cgi?id=678116');"  href="https://bugzilla.redhat.com/show_bug.cgi?id=678116">F15GnomeFAIL</a> tracker) and it is actually not a software bug but human error.<br />
It seems I just picked the wrong iso image thinking that the Desktop-ISO is actually for the Desktop. It looks like this is a common mistake and the real Desktop Spin is further down on the Download page. Silly me, we obviously have to better educate our Target Audience to pick the right image.</p>

<p>While I am actually very interested in seeing what the Gnome3 shell actually has to offer, this is not the release to do so. I seriously ask myself if this is the most unfinished and broken-by-default Fedora release there ever was. The Go/No-Go meeting should have just taken the hard decision and delayed the F15 release by 6 months. Maybe then this would look more like a release and less than a trainwreck.<br/>
I am basically disgusted at this point.</p>  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.vodkamelone.de/archives/163-Monitoring-a-Snom-phone-with-MRTG-through-SNMP.html" rel="alternate" title="Monitoring a Snom phone with MRTG through SNMP" />
        <author>
            <name>andreas</name>
            <email>andreas@dicp.de</email>
        </author>
    
        <published>2011-01-28T09:58:57Z</published>
        <updated>2011-01-31T05:31:12Z</updated>
        <wfw:comment>http://blog.vodkamelone.de/wfwcomment.php?cid=163</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.vodkamelone.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=163</wfw:commentRss>
    
            <category scheme="http://blog.vodkamelone.de/categories/8-Fedora" label="Fedora" term="Fedora" />
            <category scheme="http://blog.vodkamelone.de/categories/4-Hardware" label="Hardware" term="Hardware" />
            <category scheme="http://blog.vodkamelone.de/categories/3-Unix" label="Unix" term="Unix" />
    
        <id>http://blog.vodkamelone.de/archives/163-guid.html</id>
        <title type="html">Monitoring a Snom phone with MRTG through SNMP</title>
        <content type="xhtml" xml:base="http://blog.vodkamelone.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p><!-- s9ymdb:129 --><img class="serendipity_image_left" width="110" height="102" style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://blog.vodkamelone.de/uploads/snom360_angle.serendipityThumb.jpg" alt=""  /><a onclick="javascript: pageTracker._trackPageview('/extlink/en.wikipedia.org/wiki/Snom');"  href="http://en.wikipedia.org/wiki/Snom" title="Snom at Wikipedia">Snom</a> is the maker of pretty decent VoIP phones running Linux. I have had a <a onclick="javascript: pageTracker._trackPageview('/extlink/wiki.snom.com/Snom360');"  href="http://wiki.snom.com/Snom360" title="Snom360 Wiki">Snom 360</a> for some time now and am reasonably happy with it.</p>

<p>The Snom phones do support SNMP but their SNMP daemon is severly limited. It only supports GETs on a small number of OIDs, doesn't support WALK and standard MIBs like the system-MIB are not supported. The Snom Wiki has <a onclick="javascript: pageTracker._trackPageview('/extlink/wiki.snom.com/Networking/Simple_Network_Management_Protocol_%28SNMP%29');"  href="http://wiki.snom.com/Networking/Simple_Network_Management_Protocol_%28SNMP%29" title="Snom SNMP Support">a list of the supported OIDs and a description how to enable SNMP on the phones</a>.<br />
The limited support makes autodetection by network management systems or MRTG's cfgmaker fail. In order to chart this data, a manually created template is therefore needed.</p>

<h5>Traffic Monitoring (bytes) a Snom Phone</h5>
The Snom phone exports all it's interfaces aggregated. This means all vlans and locally generated traffic. The only traffic not exported is the traffic generated on the loopback interface and the traffic bypassing the phone completely via the internal switch. The latter means that the traffic of the machine connected to the PC/passthrough port is not monitored.

The MRTG template to chart the incoming and outgoing bytes is the following. The IP Address 192.168.2.124 would have to be changed, as well as the descriptive details.

<div class="geshi" style="text-align: left"><br /><span style="color: #666666; font-style: italic;">######################################################################</span><br /><span style="color: #666666; font-style: italic;"># System: Snom360</span><br /><span style="color: #666666; font-style: italic;"># Description: Snom VoIP Phone</span><br /><span style="color: #666666; font-style: italic;"># Contact: System Administration &lt;root@localhost&gt;</span><br /><span style="color: #666666; font-style: italic;"># Location: Amsterdam, The Netherlands</span><br /><span style="color: #666666; font-style: italic;">######################################################################</span><br /><br /><span style="color: #666666; font-style: italic;">### Interface Net &gt;&gt; Descr: 'Net' | Name: 'Net Port' | Ip: '192.168.2.124' | Eth: '' ###</span><br /><br />Target<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_byte<span style="color: #009900;">&#93;</span>: <span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">3</span>.<span style="color: #cc66cc;">6</span>.<span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">7526</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">1</span>&amp;<span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">3</span>.<span style="color: #cc66cc;">6</span>.<span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">7526</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">1</span>:<span style="color: #000000; font-weight: bold;">public</span>@<span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span><br />RouterUptime<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_byte<span style="color: #009900;">&#93;</span>: <span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">3</span>.<span style="color: #cc66cc;">6</span>.<span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">7526</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">8</span>:<span style="color: #000000; font-weight: bold;">public</span>@<span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span><br />SetEnv<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_byte<span style="color: #009900;">&#93;</span>: MRTG_INT_IP=<span style="color: #0000ff;">""</span> MRTG_INT_DESCR=<span style="color: #0000ff;">"Net"</span><br />MaxBytes<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_byte<span style="color: #009900;">&#93;</span>: <span style="color: #cc66cc;">12500000</span><br />Title<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_byte<span style="color: #009900;">&#93;</span>: Traffic Analysis <span style="color: #b1b100;">for</span> Net -- <span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span><br />PageTop<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_byte<span style="color: #009900;">&#93;</span>: &lt;h1&gt;Traffic Analysis <span style="color: #b1b100;">for</span> Net -- <span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>&lt;/h1&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;div id=<span style="color: #0000ff;">"sysdetails"</span>&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;table&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;tr&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;td&gt;System:&lt;/td&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;td&gt;<span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span> in Amsterdam&lt;/td&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;/tr&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;tr&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;td&gt;Maintainer:&lt;/td&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;td&gt;root@localhost&lt;/td&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;/tr&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;tr&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;td&gt;Description:&lt;/td&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;td&gt;Net Port&lt;/td&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;/tr&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;tr&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;td&gt;ifType:&lt;/td&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;td&gt;ethernetCsmacd <span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">6</span><span style="color: #009900;">&#41;</span>&lt;/td&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;/tr&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;tr&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;td&gt;Max Speed:&lt;/td&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160;&lt;td&gt;<span style="color: #cc66cc;">100</span>.<span style="color: #cc66cc;">0</span> Mbits/s&lt;/td&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&#160;&lt;/tr&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;/table&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;/div&gt;<br />&#160;</div>

<h5>Traffic Monitoring (packets) a Snom Phone</h5>
The setup to monitor packets is basically the same as for traffic. MRTG can do this out of the box and only needs labels changed.

<div class="geshi" style="text-align: left"><br /><span style="color: #666666; font-style: italic;">######################################################################</span><br /><span style="color: #666666; font-style: italic;"># System: Snom360</span><br /><span style="color: #666666; font-style: italic;"># Description: Snom VoIP Phone</span><br /><span style="color: #666666; font-style: italic;"># Contact: System Administration &lt;root@localhost&gt;</span><br /><span style="color: #666666; font-style: italic;"># Location: Amsterdam, The Netherlands</span><br /><span style="color: #666666; font-style: italic;">######################################################################</span><br /><br /><span style="color: #666666; font-style: italic;">### Interface Net &gt;&gt; Descr: 'Net' | Name: 'Net Port' | Ip: '192.168.2.124' | Eth: '' ###</span><br /><br />Target<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_pkts<span style="color: #009900;">&#93;</span>: <span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">3</span>.<span style="color: #cc66cc;">6</span>.<span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">7526</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">2</span>&amp;<span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">3</span>.<span style="color: #cc66cc;">6</span>.<span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">7526</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">2</span>:<span style="color: #000000; font-weight: bold;">public</span>@<span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span><br />RouterUptime<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_pkts<span style="color: #009900;">&#93;</span>: <span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">3</span>.<span style="color: #cc66cc;">6</span>.<span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">1</span>.<span style="color: #cc66cc;">7526</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">8</span>:<span style="color: #000000; font-weight: bold;">public</span>@<span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span><br />SetEnv<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_pkts<span style="color: #009900;">&#93;</span>: MRTG_INT_IP=<span style="color: #0000ff;">""</span> MRTG_INT_DESCR=<span style="color: #0000ff;">"Net"</span><br />MaxBytes<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_pkts<span style="color: #009900;">&#93;</span>: <span style="color: #cc66cc;">10000000</span><br />Title<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_pkts<span style="color: #009900;">&#93;</span>: Traffic Analysis <span style="color: #009900;">&#40;</span>packets<span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">for</span> Net -- <span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span><br />YLegend<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_pkts<span style="color: #009900;">&#93;</span>: Pkts per Second<br />Legend1<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_pkts<span style="color: #009900;">&#93;</span>: Avg Input Unicast Packets<br />Legend2<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_pkts<span style="color: #009900;">&#93;</span>: Avg Output Unicast Packets<br />Legend3<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_pkts<span style="color: #009900;">&#93;</span>: Maximal Input Unicast Packets<br />Legend4<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_pkts<span style="color: #009900;">&#93;</span>: Maximal Output Unicast Packets<br />LegendI<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_pkts<span style="color: #009900;">&#93;</span>: &amp;nbsp;ifInUcastPkts:&amp;nbsp;<br />LegendO<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_pkts<span style="color: #009900;">&#93;</span>: &amp;nbsp;IfOutUcastPkts:&amp;nbsp;<br />ShortLegend<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_pkts<span style="color: #009900;">&#93;</span>: p/s<br />PageTop<span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>_Net_pkts<span style="color: #009900;">&#93;</span>: &lt;h1&gt;Traffic Analysis <span style="color: #009900;">&#40;</span>packets<span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">for</span> Net -- <span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span>&lt;/h1&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;div id=<span style="color: #0000ff;">"sysdetails"</span>&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;table&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;tr&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;td&gt;System:&lt;/td&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;td&gt;<span style="color: #cc66cc;">192</span>.<span style="color: #cc66cc;">168</span>.<span style="color: #cc66cc;">2</span>.<span style="color: #cc66cc;">124</span> in Amsterdam&lt;/td&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;/tr&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;tr&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;td&gt;Maintainer:&lt;/td&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;td&gt;root@localhost&lt;/td&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;/tr&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;tr&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;td&gt;Description:&lt;/td&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;td&gt;Net Port&lt;/td&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;/tr&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;tr&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;td&gt;ifType:&lt;/td&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;td&gt;ethernetCsmacd <span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">6</span><span style="color: #009900;">&#41;</span>&lt;/td&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;/tr&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;/table&gt;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &lt;/div&gt;<br />&#160;</div>

<p>Some other values worth charting could be CPU load and free memory or the number of registered extensions. This could be useful for tracking down errors. Unfortunately, mrtg is unable to chart this correctly out of the box and needs some help converting the data.<br />
This is therefore left as an excercise to the reader.</p> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://blog.vodkamelone.de/archives/160-VirtualBox-USB-support-on-Fedora.-The-right-way..html" rel="alternate" title="VirtualBox USB support on Fedora. The right way." />
        <author>
            <name>andreas</name>
            <email>andreas@dicp.de</email>
        </author>
    
        <published>2010-11-07T13:08:29Z</published>
        <updated>2010-11-13T06:05:45Z</updated>
        <wfw:comment>http://blog.vodkamelone.de/wfwcomment.php?cid=160</wfw:comment>
    
        <slash:comments>5</slash:comments>
        <wfw:commentRss>http://blog.vodkamelone.de/rss.php?version=atom1.0&amp;type=comments&amp;cid=160</wfw:commentRss>
    
            <category scheme="http://blog.vodkamelone.de/categories/8-Fedora" label="Fedora" term="Fedora" />
            <category scheme="http://blog.vodkamelone.de/categories/3-Unix" label="Unix" term="Unix" />
    
        <id>http://blog.vodkamelone.de/archives/160-guid.html</id>
        <title type="html">VirtualBox USB support on Fedora. The right way.</title>
        <content type="xhtml" xml:base="http://blog.vodkamelone.de/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p><!-- s9ymdb:184 --><img class="serendipity_image_left" width="256" height="256" style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://blog.vodkamelone.de/uploads/drive-harddisk-usb.png" alt=""  />The <a onclick="javascript: pageTracker._trackPageview('/extlink/www.virtualbox.org/wiki/Editions');"  href="http://www.virtualbox.org/wiki/Editions" title="Editions - Virtual Box">proprietary version of Oracle VirtualBox</a> does offer USB support.<br />
This means that the guest operating system can access USB devices plugged into the host system.</p>

<p>This USB passthrough feature is also available with many other desktop virtualization solutions, e.g. KVM and Qemu. Nevertheless it seems VirtualBox is favoured by a large number of users who are installing VirtualBox only to find that they cannot actually make their USB devices visible to the guest operating system. The common problem seems to be that they checkboxes next to the devices are grayed out, preventing the user from marking them to be added to the guest.</p>

<p>There are a large number of forum articles and blog posts available which all claim to have a solution to the issue. Very often the suggested solution is to change the mount options for /proc/bus/usb in fstab or add an appropriate entry. Sometimes it is suggested to mount usbdevfs to /sys/bus/usb/drivers. Some report success by editing certain udev rules so that files the in the procfs belong to the user executing the VirtualBox binary.</p>

<p>All these solutions have one thing in common:<br />
<b>They are all wrong!</b><br />
The fact that they are mindlessly repeated by posters in a large number of user-centric web forums does not help at all.<br />
It is still wrong!<br />
<a href="http://blog.vodkamelone.de/archives/143-Abysmal-harddrive-performance-and-the-uselessness-of-forums.html" title="The uselessness of forums ">I said it before</a> but it still is true: Web forums are full of cargo-cult users: No idea what they are doing but trying and talking about it in the hope that it will achieve something.</p>

<p>The right solution is actually very simple. All that is needed is to add the user  running VirtualBox to the vboxusers group:
<pre class="screen">[root@minos ~]# usermod -a -G vboxusers athienemann
[root@minos ~]# groups athienemann
athienemann : athienemann vboxusers
[root@minos ~]# </pre>

<p>That's all. The user athienemann now can add and remove USB devices from VirtualBox guests.<br />
Wasn't that easy? No fiddling with udev or fstab needed.</p>
 
            </div>
        </content>
        
    </entry>

</feed>
