<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>LinuxScrew: Linux Blog</title>
	<atom:link href="http://www.linuxscrew.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxscrew.com</link>
	<description>LinuxScrew: Linux Blog. Ubuntu, Centos, Unix, Cisco, Databases.</description>
	<lastBuildDate>Wed, 16 May 2012 07:33:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Top 5 Password Managers for Linux [Guest Post]</title>
		<link>http://www.linuxscrew.com/2012/05/16/top-5-password-managers-for-linux-guest-post/</link>
		<comments>http://www.linuxscrew.com/2012/05/16/top-5-password-managers-for-linux-guest-post/#comments</comments>
		<pubDate>Wed, 16 May 2012 07:33:58 +0000</pubDate>
		<dc:creator>Artem Nosulchik</dc:creator>
				<category><![CDATA[applications]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[keepassx]]></category>
		<category><![CDATA[password manager]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1717</guid>
		<description><![CDATA[In this post you will find set of password managers for Linux which provides secure storage for your passwords for sensitive data. If you still keep the passwords in plain text then you must consider one of available password managers so this article is for you. KeePassX KeePassX has been a very popular and famous password manager for Linux for a very long time and still trusted by pretty big [...]]]></description>
			<content:encoded><![CDATA[<p>In this post you will find set of password managers for Linux which provides secure storage for your passwords for sensitive data. If you still keep the passwords in plain text then you must consider one of available password managers so this article is for you.</p>
<h3>KeePassX</h3>
<p><a href="http://www.keepassx.org/">KeePassX</a> has been a very popular and famous password manager for Linux for a very long time and still trusted by pretty big number of users. When user launches the KeePassX password manager first it requires to set up of a master password to add an extra layer of security to password storage. As an option you can use a file with encryption key instead of the password. This key file can be used along with the master password to provide stronger security. KeePassX application is rather simple so you can easily create one or more databases which will have a master password and will contain all the login credentials stored encrypted. This manager is considered to be one of the most secure managers. If you&#8217;re Ubuntu user just type in terminal the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> keepassx</pre></div></div>

<h3>GPassword Manager</h3>
<p><a href="http://sourceforge.net/projects/gpasswordman/">Gpassword Manager</a> (GPM) is also one of the most secure and highly rated password managers which have more friendly and easy to use interface that KeePassX. This utility has many features that make it to be a good choice for most of the high level computer users. This password manager allows to set and add favorites into system-tray that is one of the unique features of this application. GPM utility uses the crypto++ method for encryption which can be used in Windows and Linux hence it enables the same database to be used on different platforms without the need to convert anything.</p>
<h3>My Passwords</h3>
<p><a href="http://sourceforge.net/projects/mypasswords7/">My Passwords</a> is a simple and easy to use utility that allows you to store all your login credentials in an encrypted manner within a file. The most exciting feature of this utility are its speed and no requirement of an installation. Encryption algorithm that is used there is AES. Storage in Derby Database format along with AES encryption gives the user the power to create secure and fast password repository. The interface for this utility is fairly simple.</p>
<h3>Fiagaro’s Password Manager 2</h3>
<p><a href="http://als.regnet.cz/fpm2/">Fiagaro’s Password Manager 2</a> is another powerful tool with strong encryption methods that makes it one of the most secure utility for managing passwords in Linux. Fiagaro’s Password Manager 2 uses the AES-256 encryption of the database files which hold all your login credentials (it uses master password that should be set up once you started the program first).</p>
<h3>Gringotts</h3>
<p><a href="http://gringotts.shlomifish.org/">Gringotts</a> is rather old project: its application for Linux/Unix provides the user the possibility to store his or her notes in secure storage encrypted by symmetrical ciphers. Gringotts has a set of eight different algorithms that can be used to encrypt the desired data. This utility also provides different methods for hashing as well as compression. The interface of Gringotts is not as simple as of other password Managers but still easy to use and most effective for old school bearded Unix users.</p>
<div style="padding: 5px;background: #eee;">About the author: Kelly Marsh is a blogger by profession. She loves writing on technology and luxury. Beside this she is fond of technology. Recently an article on <a href="http://www.automotto.com/maruti-ritz.html">Maruti Ritz</a> attracted her attention. These days she is busy in writing an article on <a href="http://www.bornrich.com/entry/johnnie-walker-blue-label-partners-porsche-design-studio-private-bar/">johnnie walker blue.</a></div>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2012/05/16/top-5-password-managers-for-linux-guest-post/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Grub Fallback: Boot good kernel if new one crashes</title>
		<link>http://www.linuxscrew.com/2012/04/24/grub-fallback-boot-good-kernel-if-new-one-crashes/</link>
		<comments>http://www.linuxscrew.com/2012/04/24/grub-fallback-boot-good-kernel-if-new-one-crashes/#comments</comments>
		<pubDate>Tue, 24 Apr 2012 19:51:20 +0000</pubDate>
		<dc:creator>Artem Nosulchik</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[arch]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fallback]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[rhel]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1701</guid>
		<description><![CDATA[It&#8217;s hard to believe but I didn&#8217;t know about Grub fallback feature. So every time when I needed to reboot remote server into a new kernel I had to test it on local server to make sure it won&#8217;t panic on remote unit. And if kernel panic still happened I had to ask somebody who has physical access to the server to reboot the hardware choose proper kernel in Grub. [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s hard to believe but I didn&#8217;t know about <strong>Grub fallback</strong> feature. So every time when I needed to reboot remote server into a new kernel I had to test it on local server to make sure it won&#8217;t panic on remote unit. And if kernel panic still happened I had to ask somebody who has physical access to the server to reboot the hardware choose proper kernel in Grub. It&#8217;s all boring and not healthful – it&#8217;s much better to use Grub&#8217;s native fallback feature.</p>
<p>Grub is default boot loader in most Linux distributions today, at least major distros like Centos/Fedora/RedHat, Debian/Ubuntu/Mint, Arch use Grub. This makes it possible to use <a href="http://www.gnu.org/software/grub/manual/legacy/Booting-fallback-systems.html">Grub fallback</a> feature just out of the box. Here is example scenario.</p>
<p>There is remote server hosted in New Zealand and you (sitting in Denmark) have access to it over the network only (no console server). In this case you cannot afford that the new kernel makes server unreachable, e.g. if new kernel crash during boot it won&#8217;t load network interface drivers so your Linux box won&#8217;t appear online until somebody reboots it into workable kernel. Thankfully Grub can be configured to try loading new kernel once and if it fails Grub will load another kernel according to configuration. You can see my example grub.conf below:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">default</span>=saved
<span style="color: #007800;">timeout</span>=<span style="color: #000000;">5</span>
<span style="color: #007800;">splashimage</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0,<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>grub<span style="color: #000000; font-weight: bold;">/</span>splash.xpm.gz
hiddenmenu
fallback <span style="color: #000000;">0</span> <span style="color: #000000;">1</span>
title Fedora OpenVZ <span style="color: #7a0874; font-weight: bold;">&#40;</span>2.6.32-042stab053.5<span style="color: #7a0874; font-weight: bold;">&#41;</span>
        root <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0,<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
        kernel <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>vmlinuz-2.6.32-042stab053.5 ro <span style="color: #007800;">root</span>=<span style="color: #007800;">UUID</span>=6fbdddf9-307c-49eb-83f5-ca1a4a63f584 <span style="color: #007800;">rd_MD_UUID</span>=1b9dc11a:d5a084b5:83f6d993:3366bbe4 rd_NO_LUKS rd_NO_LVM rd_NO_DM <span style="color: #007800;">LANG</span>=en_US.UTF-<span style="color: #000000;">8</span> <span style="color: #007800;">SYSFONT</span>=latarcyrheb-sun16 <span style="color: #007800;">KEYTABLE</span>=sv-latin1 rhgb quiet <span style="color: #007800;">crashkernel</span>=auto
        initrd <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>initramfs-2.6.32-042stab053.5.img
        savedefault fallback
title Fedora <span style="color: #7a0874; font-weight: bold;">&#40;</span>2.6.35.12-<span style="color: #000000;">88</span>.fc14.i686<span style="color: #7a0874; font-weight: bold;">&#41;</span>
        root <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0,<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
        kernel <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>vmlinuz-2.6.35.12-<span style="color: #000000;">88</span>.fc14.i686 ro <span style="color: #007800;">root</span>=<span style="color: #007800;">UUID</span>=6fbdddf9-307c-49eb-83f5-ca1a4a63f584 <span style="color: #007800;">rd_MD_UUID</span>=1b9dc11a:d5a084b5:83f6d993:3366bbe4 rd_NO_LUKS rd_NO_LVM rd_NO_DM <span style="color: #007800;">LANG</span>=en_US.UTF-<span style="color: #000000;">8</span> <span style="color: #007800;">SYSFONT</span>=latarcyrheb-sun16 <span style="color: #007800;">KEYTABLE</span>=sv-latin1 rhgb quiet
        initrd <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>initramfs-2.6.35.12-<span style="color: #000000;">88</span>.fc14.i686.img
        savedefault fallback</pre></div></div>

<p>According to this configuration Grub will try to load &#8216;Fedora OpenVZ&#8217; kernel once and if it fails system will be loaded into good &#8216;Fedora&#8217; kernel. If &#8216;Fedora OpenVZ&#8217; loads well you&#8217;ll be able to reach the server over the network after reboot. Notice lines <em>&#8216;default=saved&#8217;</em> and <em>&#8216;savedefault fallback&#8217;</em> which are mandatory to make fallback feature working.</p>
<h4>Alternative way</h4>
<p>I&#8217;ve heard that official Grub fallback feature may work incorrectly on RHEL5 (and Centos 5) so there is elegant workaround (found <a href="http://nfolamp.wordpress.com/2010/08/12/configuring-grub-to-boot-a-fallback-kernel/">here</a>):</p>
<p>1. Add param &#8216;panic=5&#8242; to your new kernel line so it looks like below:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">title Fedora OpenVZ <span style="color: #7a0874; font-weight: bold;">&#40;</span>2.6.32-042stab053.5<span style="color: #7a0874; font-weight: bold;">&#41;</span>
        root <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0,<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
        kernel <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>vmlinuz-2.6.32-042stab053.5 ro <span style="color: #007800;">root</span>=<span style="color: #007800;">UUID</span>=6fbdddf9-307c-49eb-83f5-ca1a4a63f584 <span style="color: #007800;">rd_MD_UUID</span>=1b9dc11a:d5a084b5:83f6d993:3366bbe4 rd_NO_LUKS rd_NO_LVM rd_NO_DM <span style="color: #007800;">LANG</span>=en_US.UTF-<span style="color: #000000;">8</span> <span style="color: #007800;">SYSFONT</span>=latarcyrheb-sun16 <span style="color: #007800;">KEYTABLE</span>=sv-latin1 rhgb quiet <span style="color: #007800;">crashkernel</span>=auto <span style="color: #007800;">panic</span>=<span style="color: #000000;">5</span>
        initrd <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>initramfs-2.6.32-042stab053.5.img</pre></div></div>

<p>This param will make crashed kernel to reboot itself in 5 seconds.</p>
<p>2. Point <em>default</em> Grub param to good kernel, e.g. &#8216;default=0&#8242;.</p>
<p>3. Type in the following commands (good kernel appears in grub.conf first and new kernel is second one):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># grub</span>
&nbsp;
grub<span style="color: #000000; font-weight: bold;">&gt;</span> savedefault <span style="color: #660033;">--default</span>=<span style="color: #000000;">1</span> <span style="color: #660033;">--once</span>
savedefault <span style="color: #660033;">--default</span>=<span style="color: #000000;">1</span> <span style="color: #660033;">--once</span>
grub<span style="color: #000000; font-weight: bold;">&gt;</span> quit</pre></div></div>

<p>This will make Grub to boot into new kernel once and if it fails it will load good kernel. Now you can reboot the server and make sure it will 100% appear online in a few minutes. I usually prefer native Grub fallback feature but if you see it doesn&#8217;t work for you it makes sense to try above mentioned workaround.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2012/04/24/grub-fallback-boot-good-kernel-if-new-one-crashes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Mosh is better than SSH?</title>
		<link>http://www.linuxscrew.com/2012/04/11/why-mosh-is-better-than-ssh/</link>
		<comments>http://www.linuxscrew.com/2012/04/11/why-mosh-is-better-than-ssh/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 20:17:52 +0000</pubDate>
		<dc:creator>Artem Nosulchik</dc:creator>
				<category><![CDATA[applications]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[mosh]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1688</guid>
		<description><![CDATA[Mosh (stands for Mobile Shell) is replacement of SSH for remote connections to Unix/Linux systems. It brings a few noticeable advantages over well known SSH connections. In brief, it&#8217;s faster and more responsive, especially on long delay and/or unreliable links. Key benefits of Mosh Stays connected if your IP is changed. Roaming feature of Mosh allows you to move between Internet connections and keep Mosh session online. For example, if [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Mosh</strong> (stands for Mobile Shell) is replacement of SSH for remote connections to <a href="http://www.linuxscrew.com/category/unix/">Unix</a>/<a href="http://www.linuxscrew.com/category/linux/">Linux</a> systems. It brings a few noticeable advantages over well known SSH connections. In brief, it&#8217;s faster and more responsive, especially on long delay and/or unreliable links.</p>
<h4>Key benefits of Mosh</h4>
<ul>
<li><strong>Stays connected if your IP is changed</strong>. Roaming feature of Mosh allows you to move between Internet connections and keep Mosh session online. For example, if your wifi connection changes IP you don&#8217;t need to reconnect.</li>
<li><strong>Keeps session after loosing connection</strong>. For example, if you lost Internet connection for some time, or your laptop went offline due to exhausted battery – you&#8217;ll be able to pick up previously opened Mosh session easily.</li>
<li><strong>No root rights needed to use Mosh</strong>. Unlike SSH Mosh server is not a daemon that needs to listen on specific port to accept incoming connections from clients. Mosh server and client are executables that could be run by ordinary user.</li>
<li><strong>The same credentials for remote login</strong>. Mosh uses SSH for authorization so in order to open connection you need the same credentials as before.</li>
<li><strong>Responsive Ctrl+C combination</strong>. Unlike SSH Mosh doesn&#8217;t fill up network buffers so even if you accidentally requested to output 100 MB file you&#8217;ll be able to hit Ctrl+C and stop it immediately.</li>
<li><strong>Better for slow or lagged links</strong>. Have you ever tried to use SSH on satellite link where average RTT is 600 ms or more? Wish Mosh you don&#8217;t need to wait until server replies to see your typing. It works in CLI and such programs as vi or emacs so on it makes it possible to do the job slow connections more comfortably.</li>
</ul>
<p>Well, there are some disadvantages too:</p>
<ul>
<li>No IPv6 support.</li>
<li>UTF-8 only.</li>
</ul>
<p>Mosh is <a href="http://mosh.mit.edu/#getting">available</a> for all major Linux distributions, FreeBSD and Mac OS X systems:</p>
<p><strong>Ubuntu</strong> (12.04 LTS) or <strong>Debian</strong> (testing/unstable): <code>sudo apt-get install mosh</code><br />
<strong>Gentoo</strong>: <code>emerge net-misc/mosh</code><br />
<strong>Arch Linux</strong>: <code>packer -S mobile-shell-git</code><br />
<strong>FreeBSD</strong>: <code>portmaster net/mosh</code><br />
<strong>Mac OS X</strong>: <code><a href="https://github.com/downloads/keithw/mosh/mosh-1.1.3-2.pkg" class="broken_link" rel="nofollow">mosh-1.1.3-2.pkg</a></code><br />
<strong>Sources</strong>: <a href="https://github.com/downloads/keithw/mosh/mosh-1.1.3-2.pkg" class="broken_link" rel="nofollow">mosh-1.1.3.tar.gz</a></p>
<p><a href="http://mosh.mit.edu/">Project&#8217;s website</a></p>
<p>P.S. It&#8217;s better that combination of SSH and <a href="http://www.gnu.org/software/screen/">GNU Screen</a>.</p>
<p><img class="aligncenter size-full wp-image-1693" title="Mosh screenshot" src="http://www.linuxscrew.com/wp-content/uploads/2012/04/mosh.png" alt="Mosh screenshot" width="477" height="427" /></p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2012/04/11/why-mosh-is-better-than-ssh/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Add physical NIC to XenServer</title>
		<link>http://www.linuxscrew.com/2012/04/09/add-physical-xenserver/</link>
		<comments>http://www.linuxscrew.com/2012/04/09/add-physical-xenserver/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 13:12:44 +0000</pubDate>
		<dc:creator>Artem Nosulchik</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[nics]]></category>
		<category><![CDATA[xenserver]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1675</guid>
		<description><![CDATA[If you add new physical network interface to the hardware that runs XenServer it won&#8217;t appear in XenCenter by default. In order to attach it to VMs or change its settings you&#8217;ll need to type in a few commands to XenServer&#8217;s CLI. 1. Connect XenServer via SSH using root rights: ssh root@192.168.10.1 -v 2. Make sure that new NIC is attached to hardware and detected by Linux, in below command&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>If you add new physical network interface to the hardware that runs <a href="http://www.linuxscrew.com/tag/xenserver">XenServer</a> it won&#8217;t appear in XenCenter by default.</p>
<p>In order to attach it to VMs or change its settings you&#8217;ll need to type in a few commands to XenServer&#8217;s CLI.</p>
<p>1. Connect XenServer via SSH using root rights:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> root<span style="color: #000000; font-weight: bold;">@</span>192.168.10.1 <span style="color: #660033;">-v</span></pre></div></div>

<p>2. Make sure that new NIC is attached to hardware and detected by Linux, in below command&#8217;s output you can see there are three Ethernet controllers (the last one was just attached to hardware):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># lspci  | grep -i ethernet</span>
<span style="color: #000000;">10</span>:<span style="color: #000000;">00.0</span> Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111<span style="color: #000000; font-weight: bold;">/</span>8168B PCI Express Gigabit Ethernet controller <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">rev</span> 01<span style="color: #7a0874; font-weight: bold;">&#41;</span>
1e:<span style="color: #000000;">00.0</span> Ethernet controller: Broadcom Corporation NetXtreme BCM5723 Gigabit Ethernet PCIe <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">rev</span> <span style="color: #000000;">10</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000;">30</span>:<span style="color: #000000;">00.0</span> Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-<span style="color: #000000;">8139</span><span style="color: #000000; font-weight: bold;">/</span>8139C<span style="color: #000000; font-weight: bold;">/</span>8139C+ <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">rev</span> <span style="color: #000000;">10</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>As you can see this NIC isn&#8217;t shown in XenCenter and below command doesn&#8217;t show its UID among detected interfaces:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>localhost ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># xe pif-list</span>
uuid <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>                  : 095abcc1-4d64-<span style="color: #000000;">7925</span>-200f-a91d558ec872
                device <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: eth1
    currently-attached <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #c20cb9; font-weight: bold;">true</span>
                  VLAN <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #660033;">-1</span>
          network-uuid <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: 9da74476-ffcb-<span style="color: #000000;">6824</span>-25ad-62d46f34e252
&nbsp;
uuid <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>                  : 555844b2-<span style="color: #000000;">4061</span>-47e0-52ef-01e42f182eef
                device <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: eth0
    currently-attached <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #c20cb9; font-weight: bold;">true</span>
                  VLAN <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #660033;">-1</span>
          network-uuid <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: 90a0e347-<span style="color: #000000;">9246</span>-7ac9-c939-30983602c14e</pre></div></div>

<p>As well as no new eth2 in ifconfig&#8217;s output</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># ifconfig     </span>
eth0      Link encap:Ethernet  HWaddr <span style="color: #000000;">68</span>:B5:<span style="color: #000000;">99</span>:E3:1C:<span style="color: #000000;">56</span>  
          UP BROADCAST RUNNING MULTICAST  MTU:<span style="color: #000000;">1500</span>  Metric:<span style="color: #000000;">1</span>
          RX packets:<span style="color: #000000;">1953</span> errors:<span style="color: #000000;">0</span> dropped:<span style="color: #000000;">0</span> overruns:<span style="color: #000000;">0</span> frame:<span style="color: #000000;">0</span>
          TX packets:<span style="color: #000000;">2475</span> errors:<span style="color: #000000;">0</span> dropped:<span style="color: #000000;">0</span> overruns:<span style="color: #000000;">0</span> carrier:<span style="color: #000000;">0</span>
          collisions:<span style="color: #000000;">0</span> txqueuelen:<span style="color: #000000;">1000</span> 
          RX bytes:<span style="color: #000000;">201110</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">196.3</span> KiB<span style="color: #7a0874; font-weight: bold;">&#41;</span>  TX bytes:<span style="color: #000000;">1929408</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1.8</span> MiB<span style="color: #7a0874; font-weight: bold;">&#41;</span>
          Interrupt:<span style="color: #000000;">19</span> 
&nbsp;
eth1      Link encap:Ethernet  HWaddr 00:<span style="color: #000000;">30</span>:4F:<span style="color: #000000;">33</span>:<span style="color: #000000;">43</span>:6E  
          UP BROADCAST RUNNING MULTICAST  MTU:<span style="color: #000000;">1500</span>  Metric:<span style="color: #000000;">1</span>
          RX packets:<span style="color: #000000;">110</span> errors:<span style="color: #000000;">0</span> dropped:<span style="color: #000000;">0</span> overruns:<span style="color: #000000;">0</span> frame:<span style="color: #000000;">0</span>
          TX packets:<span style="color: #000000;">0</span> errors:<span style="color: #000000;">0</span> dropped:<span style="color: #000000;">0</span> overruns:<span style="color: #000000;">0</span> carrier:<span style="color: #000000;">0</span>
          collisions:<span style="color: #000000;">0</span> txqueuelen:<span style="color: #000000;">1000</span> 
          RX bytes:<span style="color: #000000;">14435</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">14.0</span> KiB<span style="color: #7a0874; font-weight: bold;">&#41;</span>  TX bytes:<span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0.0</span> b<span style="color: #7a0874; font-weight: bold;">&#41;</span>
          Interrupt:<span style="color: #000000;">17</span> Base address:0xe000</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># ifconfig eth2</span>
<span style="color: #c20cb9; font-weight: bold;">ifconfig</span>: interface eth2 does not exist</pre></div></div>

<p>3. Solution is pretty easy – you just need to find out UUID of XenServer host to which you&#8217;d like to attach new NIC. You can do it by the following commands:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># xe host-list </span>
uuid <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>                : c5ab0df3-440a-<span style="color: #000000;">4164</span>-b1a4-6febf1ff0052
          name-label <span style="color: #7a0874; font-weight: bold;">&#40;</span> RW<span style="color: #7a0874; font-weight: bold;">&#41;</span>: XenServer HP Proliant ML <span style="color: #000000;">110</span>
    name-description <span style="color: #7a0874; font-weight: bold;">&#40;</span> RW<span style="color: #7a0874; font-weight: bold;">&#41;</span>: Default <span style="color: #c20cb9; font-weight: bold;">install</span> of XenServer</pre></div></div>

<p>and</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># xe pif-scan host-uuid=c5ab0df3-440a-4164-b1a4-6febf1ff0052</span></pre></div></div>

<p>That&#8217;s it, from now you&#8217;ll see new NIC in XenCenter.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># xe pif-list</span>
uuid <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>                  : 095abcc1-4d64-<span style="color: #000000;">7925</span>-200f-a91d558ec872
                device <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: eth1
    currently-attached <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #c20cb9; font-weight: bold;">true</span>
                  VLAN <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #660033;">-1</span>
          network-uuid <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: 9da74476-ffcb-<span style="color: #000000;">6824</span>-25ad-62d46f34e252
&nbsp;
uuid <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>                  : 555844b2-<span style="color: #000000;">4061</span>-47e0-52ef-01e42f182eef
                device <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: eth0
    currently-attached <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #c20cb9; font-weight: bold;">true</span>
                  VLAN <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #660033;">-1</span>
          network-uuid <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: 90a0e347-<span style="color: #000000;">9246</span>-7ac9-c939-30983602c14e
&nbsp;
uuid <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>                  : 7f3b59d7-<span style="color: #000000;">1508</span>-835a-b268-4476bbac33d5
                device <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: eth2
    currently-attached <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #c20cb9; font-weight: bold;">false</span>
                  VLAN <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #660033;">-1</span>
          network-uuid <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: 9584917b-e49a-f075-f1e0-8ba2c4a4bf02</pre></div></div>

<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2012/04/09/add-physical-xenserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Attach ISO image stored in XenServer local storage</title>
		<link>http://www.linuxscrew.com/2012/04/06/local-iso-image-xenserver/</link>
		<comments>http://www.linuxscrew.com/2012/04/06/local-iso-image-xenserver/#comments</comments>
		<pubDate>Fri, 06 Apr 2012 16:52:14 +0000</pubDate>
		<dc:creator>Artem Nosulchik</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[xenserver]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1666</guid>
		<description><![CDATA[Citrix XenServer is powerful hypervisor that is based on Linux (Redhat/Centos/Fedora family) and competes with Vmware ESXi and offer wide range of virtualization features for data centers. In general you can do a bare-metal installation of XenServer to your hardware server and create multiple virtual machines (VMs) inside XenServer host. Obviously you&#8217;ll need to have the possibility to boot VM from DVD-Rom to start installation of, let&#8217;s say, Linux Mint. You [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.citrix.com/English/ps2/products/product.asp?contentID=683148&amp;ntref=prod_cat">Citrix XenServer</a> is powerful hypervisor that is based on Linux (Redhat/Centos/Fedora family) and competes with <a href="http://www.vmware.com/products/vsphere-hypervisor/overview.html">Vmware ESXi</a> and offer wide range of virtualization features for data centers. In general you can do a bare-metal installation of <a href="http://www.linuxscrew.com/tag/xenserver">XenServer</a> to your hardware server and create multiple virtual machines (VMs) inside XenServer host. Obviously you&#8217;ll need to have the possibility to boot VM from DVD-Rom to start installation of, let&#8217;s say, Linux Mint. You can do it using hardware DVD-Rom of the host XenServer or attach ISO image and make VM to boot into it.</p>
<p>By default XenServer can attach ISO images and make them available to VMs if ISOs are stored on a separate NFS server. In this post you&#8217;ll see how to avoid creation of NFS share and attach ISO image stored on XenServer host locally.</p>
<p>1. Connect to XenServer SSH service via management interface using root password:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> root<span style="color: #000000; font-weight: bold;">@</span>192.168.1.99 <span style="color: #660033;">-v</span></pre></div></div>

<p>where 192.168.1.99 is IP address of XenServer host.</p>
<p>2. Create directory where you will store ISO images and then exit from XenServer&#8217;s SSH.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>iso_import<span style="color: #000000; font-weight: bold;">/</span>ISO1
<span style="color: #7a0874; font-weight: bold;">exit</span></pre></div></div>

<p>3. Copy ISO images to newly created directory. I assume my readers are Linux users so you can use below command to transfer files via SSH. Btw, command is the same if you&#8217;re using OS X:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">scp</span> Downloads<span style="color: #000000; font-weight: bold;">/</span>your_image.iso root<span style="color: #000000; font-weight: bold;">@</span>192.168.1.99:<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>iso_import<span style="color: #000000; font-weight: bold;">/</span>ISO1</pre></div></div>

<p>4. Make local ISO library available for VMs in XenServer:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">xe sr-create name-label=ISO1 <span style="color: #007800;">type</span>=iso \
device-config:<span style="color: #007800;">location</span>=<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>iso_import<span style="color: #000000; font-weight: bold;">/</span>ISO1 \
device-config:<span style="color: #007800;">legacy_mode</span>=<span style="color: #c20cb9; font-weight: bold;">true</span> content-type=iso</pre></div></div>

<p>5. Make sure ISO_Library is attached to XenServer:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">xe vdi-list</pre></div></div>

<p>In case of success you&#8217;ll something like this in the output:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">uuid <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>                : 025c79f8-02dc-<span style="color: #000000;">4950</span>-8da5-d60f4675ca77
          name-label <span style="color: #7a0874; font-weight: bold;">&#40;</span> RW<span style="color: #7a0874; font-weight: bold;">&#41;</span>: your_image.iso
    name-description <span style="color: #7a0874; font-weight: bold;">&#40;</span> RW<span style="color: #7a0874; font-weight: bold;">&#41;</span>:
             sr-uuid <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: 3caefbd6-<span style="color: #000000;">8683</span>-cc4b-e642-e3540d0fe13e
        virtual-size <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #000000;">168099840</span>
            sharable <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #c20cb9; font-weight: bold;">false</span>
           read-only <span style="color: #7a0874; font-weight: bold;">&#40;</span> RO<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #c20cb9; font-weight: bold;">true</span></pre></div></div>

<p>That&#8217;s it, you&#8217;ll see new ISO in <a href="http://community.citrix.com/display/xs/XenCenter">XenCenter</a> after this step:</p>
<p><img class="aligncenter size-full wp-image-1668" title="XenServer Screenshot" src="http://www.linuxscrew.com/wp-content/uploads/2012/04/xen-server-screenshot.png" alt="XenServer Screenshot" width="206" height="109" /></p>
<p>WARNING: When copying ISO images to XenServer&#8217;s local filesystem keep an eye on free disk space – XenServer allocates not to much gigabytes for hypervisor itself so three or four ISO images may take all free HDD space and cause problems with systems running in VMs. Use command &#8216;df -h /&#8217; to get info about free space in root filesystem.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2012/04/06/local-iso-image-xenserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Mint Debian Update Pack 4 is out</title>
		<link>http://www.linuxscrew.com/2012/04/05/linux-mint-debian-update-pack-4-is-out/</link>
		<comments>http://www.linuxscrew.com/2012/04/05/linux-mint-debian-update-pack-4-is-out/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 21:06:18 +0000</pubDate>
		<dc:creator>Artem Nosulchik</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[cinammon]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux mint]]></category>
		<category><![CDATA[mate]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1659</guid>
		<description><![CDATA[The latest update of Linux Mint Debian has been rolled out today. Update pack 4 is applicable for all LMDE users and includes the following updates: Gnome 2 has been upgraded to Gnome Shell, kernel is now 3.2 version, Cinamon and Mate desktops are now available out of the box. In order to upgrade just use Update Manager that comes with Linux Mint Debian by default, you will see an [...]]]></description>
			<content:encoded><![CDATA[<p>The latest update of <a href="http://www.linuxmint.com/download_lmde.php">Linux Mint Debian</a> has been rolled out today. Update pack 4 is applicable for all LMDE users and includes the following updates: Gnome 2 has been upgraded to Gnome Shell, kernel is now 3.2 version, <a href="http://cinnamon.linuxmint.com/">Cinamon</a> and Mate desktops are now available out of the box.</p>
<p>In order to upgrade just use Update Manager that comes with Linux Mint Debian by default, you will see an update <strong>mintupdate-debian</strong> available today. If you are not Linux Mint user yet then you can <a href="http://www.linuxmint.com/download_lmde.php">download LMDE</a> and follow instructions described in <a href="http://blog.linuxmint.com/?p=1949">project&#8217;s blog</a>.</p>
<p>ISO image with included Update Pack 4 isn&#8217;t available for download yet but is planned to be published soon.</p>
<p>Use the following commands to install Cinammon and Mate desktops once upgraded to Update Pack 4:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> mate-desktop-environment cinammon</pre></div></div>

<p><a href="http://www.linuxscrew.com/wp-content/uploads/2012/04/Cinnamon-Desktop.jpg"><img class="aligncenter size-full wp-image-1660" title="Cinnamon Desktop Linux Mint" src="http://www.linuxscrew.com/wp-content/uploads/2012/04/Cinnamon-Desktop-thumb.jpg" alt="" width="280" height="168" /></a></p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2012/04/05/linux-mint-debian-update-pack-4-is-out/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Track Cisco BGP peers using Nagios</title>
		<link>http://www.linuxscrew.com/2012/04/05/nagios-cisco-bgp-peers-monitoring-check_bgp/</link>
		<comments>http://www.linuxscrew.com/2012/04/05/nagios-cisco-bgp-peers-monitoring-check_bgp/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 16:07:51 +0000</pubDate>
		<dc:creator>Artem Nosulchik</dc:creator>
				<category><![CDATA[cisco]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[bgp]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[nagios]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1655</guid>
		<description><![CDATA[Few will deny that monitoring of Cisco devices is essential part of sysadmin&#8217;s job. I personally use Nagios to track states of BGP neighbors on Cisco routers so if one of peers goes down I&#8217;ll receive a phone call from Nagios. You may have redundant network topology but it still makes sense to know when peer goes offline, how often it happens and how fast failover router (if any) pick-ups [...]]]></description>
			<content:encoded><![CDATA[<p>Few will deny that monitoring of Cisco devices is essential part of sysadmin&#8217;s job. I personally use <a href="http://www.linuxscrew.com/tag/nagios/">Nagios</a> to track states of BGP neighbors on Cisco routers so if one of peers goes down I&#8217;ll receive a <a title="Phone call as Nagios notification" href="http://www.linuxscrew.com/2011/09/13/nagios-notification-by-phone-call/">phone call from Nagios</a>. You may have redundant network topology but it still makes sense to know when peer goes offline, how often it happens and how fast failover router (if any) pick-ups the traffic from failed peer.</p>
<p>There are a few plugins for Nagios to monitoring BGP in <a href="http://www.linuxscrew.com/category/cisco/">Cisco</a>. All of them fetch data from Cisco via SNMP so the first you need to do is to open access to your Cisco router from the host where Nagios is running. You can read more about this task on the web (for example <a href="http://www.cisco.com/en/US/docs/ios/12_2/configfun/configuration/guide/fcf014.html">here</a>) but here are quick commands to open read only access:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">snmp-server community myCommunity RO SNMP-MANAGEMENT
ip access-list standard SNMP-MANAGEMENT
 permit A.B.C.D
 deny any log</pre></div></div>

<p>Where &#8216;myCommunity&#8217; is name of SNMP community that will be used at Nagios host to retrieve data from Cisco router via SNMP, &#8216;SNMP-MANAGEMENT&#8217; is name of ACL that opens access to SNMP only from IP address &#8216;A.B.C.D&#8217; (replace with public IP address of Nagios host).</p>
<p>Once access to Cisco via SNMP is open you should add <a href="http://exchange.nagios.org/directory/Plugins/Network-Protocols/BGP-2D4/check_bgp/details">check_bpg</a> plugin to Nagios:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>nagios<span style="color: #000000; font-weight: bold;">/</span>plugins
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #660033;">-O</span> check_bgp.pl <span style="color: #ff0000;">&quot;http://exchange.nagios.org/components/com_mtree/attachment.php?link_id=1555&amp;amp;cf_id=30&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">chmod</span> +x check_bgp.pl</pre></div></div>

<p>Now let&#8217;s check if Nagios host can actually get access to myCommunity at Cisco:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>check_bgp.pl <span style="color: #660033;">-H</span> 10.11.12.13 <span style="color: #660033;">-C</span> myCommunity <span style="color: #660033;">-p</span> 192.168.10.1</pre></div></div>

<p>Where &#8217;10.11.12.13&#8242; is IP address of Cisco router and &#8217;192.168.10.1&#8242; IP address of BGP peer you need to get info about. In case of success you will see OK state and how long that peer is in state ESTABLISHED.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">OK - 192.168.10.1 <span style="color: #7a0874; font-weight: bold;">&#40;</span>AS12345<span style="color: #7a0874; font-weight: bold;">&#41;</span> state is established<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">6</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>. Established <span style="color: #000000; font-weight: bold;">for</span> 191d11h15m28s.</pre></div></div>

<p>From this point it&#8217;s time to add commands to Nagios and make it to track BGP peer&#8217;s state constantly. Open Nagios&#8217; commands.cfg config file and add there the following lines:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">define <span style="color: #7a0874; font-weight: bold;">command</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>
    command_name    check_cisco_bgp
    command_line    <span style="color: #007800;">$USER1</span>$<span style="color: #000000; font-weight: bold;">/</span>check_bgp.pl <span style="color: #660033;">-H</span> <span style="color: #007800;">$HOSTADDRESS</span>$ <span style="color: #660033;">-C</span> <span style="color: #007800;">$ARG1</span>$ <span style="color: #660033;">-p</span> <span style="color: #007800;">$ARG2</span>$
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

<p>Then add these lines to services.cfg:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">define service <span style="color: #7a0874; font-weight: bold;">&#123;</span>
    use                             generic-service
    service_description             BGP_KPN
    host_name                       cisco-router-<span style="color: #000000;">1</span>
    check_command                   check_cisco_bgp<span style="color: #000000; font-weight: bold;">!</span>myCommunity<span style="color: #000000; font-weight: bold;">!</span>192.168.10.1
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

<p>Then restart Nagios and check services summary page, you should see new BGP_KPN instance there and will receive an alert if this peer goes down.</p>
<p>Obviously you&#8217;ll need to add more services to specify all BPG peers and all Cisco routers you need to monitor in Nagios.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2012/04/05/nagios-cisco-bgp-peers-monitoring-check_bgp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top Open Source IP Address Management Software</title>
		<link>http://www.linuxscrew.com/2012/04/04/ip-address-management-software/</link>
		<comments>http://www.linuxscrew.com/2012/04/04/ip-address-management-software/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 20:59:06 +0000</pubDate>
		<dc:creator>Artem Nosulchik</dc:creator>
				<category><![CDATA[applications]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ipam]]></category>
		<category><![CDATA[ipplan]]></category>
		<category><![CDATA[LIR]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[openipam]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1633</guid>
		<description><![CDATA[In this post you will find top open source software for IP address management (IPAM). If you are sysadmin at organization that holds pool of IP addresses and allocates its parts to clients then you must use IP address management tools to track used, reserved, allocated or free IP addresses. It usually prevents an overhead and allows to have clear picture of IP addresses resources usage within an organization on the [...]]]></description>
			<content:encoded><![CDATA[<p>In this post you will find top open source software for <strong>IP address management</strong> (IPAM). If you are sysadmin at organization that holds pool of IP addresses and allocates its parts to clients then you must use IP address management tools to track used, reserved, allocated or free IP addresses. It usually prevents an overhead and allows to have clear picture of IP addresses resources usage within an organization on the whole. For example, it may be useful to know how many free IP networks are available for clients and take necessary actions before it happens there&#8217;s nothing to allocate. IP address management tools may also make it possible for you as a sysadmin to prevent fragmentation of IP addresses usage. Generally if you work at <a href="http://en.wikipedia.org/wiki/Local_Internet_registry">LIR</a> then IP address management tool is a must.</p>
<h3>IPplan</h3>
<p><a href="http://iptrack.sourceforge.net/">IPplan</a> (formerly known as iptrack) provides clean web interface for IP address management with wide range of features like IPv6 support, multi-language  interface, split and join of IP networks, import from routing tables and XML/CVS files, multiple user groups, overlapping detection, search, audit, triggers and much more. IPplan stores its data in databases like <a href="http://www.linuxscrew.com/tag/postgresql/">Postgresq</a>, <a href="http://www.linuxscrew.com/tag/mysql/">Mysql</a> or Oracle. Moreover IPplan provides API so you can create DHCP configs (for example) based on IPplan&#8217;s database.</p>
<p><a href="http://www.linuxscrew.com/wp-content/uploads/2012/04/ipplan.jpg"><img class="size-full wp-image-1640 aligncenter" title="ipplan screenshot" src="http://www.linuxscrew.com/wp-content/uploads/2012/04/ipplan-thumb.jpg" alt="ipplan screenshot" width="400" height="98" /></a></p>
<p>Documentation and Howtos: <a href="http://iptrack.sourceforge.net/documentation/">Official Documentation</a>, <a href="http://www.susegeek.com/networking/install-configure-ipplan-ip-manager-in-opensuse/">Install and configure IPplan in OpenSuse</a>, <a href="http://news.mali77.com/index.php/2011/03/installing-ipplan/">Installing IPplan</a>.</p>
<h3>GestióIP</h3>
<p><a href="http://www.gestioip.net/">GestioIP</a> is lively maintained IPAM system available under GPLv3 license. It provides web interface for IPv4 and IPv6 tracking, allows network discovering, search, filtering, splitting/joining of IP networks, statistics, embedded IP calc and much more. I would recommend GestióIP to those who need clean and simple IPAM with basic features. Btw, Gestió in Catalan means &#8220;management&#8221;.</p>
<p><a href="http://www.linuxscrew.com/wp-content/uploads/2012/04/GestioIP1.png"><img class="aligncenter size-full wp-image-1642" title="GestioIP screenshot" src="http://www.linuxscrew.com/wp-content/uploads/2012/04/GestioIP-thumb.png" alt="GestioIP screenshot" width="400" height="230" /></a></p>
<p>Documentation and Howtos: <a href="http://www.gestioip.net/documentation_gestioip_en.html">Official Documentation</a>.</p>
<h3>OpenIPAM</h3>
<p><a href="http://code.google.com/p/openipam/">OpenIPAM</a> is open source (GPLv3 license) IPAM software developed by <a href="http://it.usu.edu/">Utah State University&#8217;s Department of Information Technology</a> that comes with the following features: distributed management of IP resources by multiple users and groups, clean web interface, API, LDAP support, expiration system and more. OpenIPAM stores its data in <a href="http://www.linuxscrew.com/tag/postgresql/">PostgreSQL</a>.</p>
<p><img class="aligncenter size-full wp-image-1649" title="openipam screenshot" src="http://www.linuxscrew.com/wp-content/uploads/2012/04/setup.png" alt="openipam screenshot" width="451" height="310" /></p>
<p>Documents and Howtos: <a href="http://code.google.com/p/openipam/w/list">Official Documentation (wiki)</a>.</p>
<h3>NOC</h3>
<p><a href="http://nocproject.org">NOC</a> is <a href="http://en.wikipedia.org/wiki/Operations_support_system">Operation Support System</a> (OSS) for ISP and content provides that comes with builtin powerful <a href="http://kb.nocproject.org/pages/viewpage.action?pageId=1507406">IPAM module</a>. It provides support of IPv4 and IPv6, clean web interface, access delegation, DNS integration, search, reporting tools and a lot of other features. NOC was designed for and is used by large ISP and datacenters. It is very powerful open source software.</p>
<p>Documentation and Howtos: <a href="http://kb.nocproject.org/display/DOC/Home">Official Documentation</a>, <a href="http://kb.nocproject.org/display/BLOGS/Home">NOC Blogs</a>, <a href="http://www.youtube.com/watch?v=LdHG5hU0udI">NOC: Brief Introduction into IP Address Management (IPAM)</a>.</p>
<p>Know some other open source IPAM software? Feel free to leave a comment with its name.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2012/04/04/ip-address-management-software/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Meet new design of LinuxScrew</title>
		<link>http://www.linuxscrew.com/2012/04/04/meet-new-design-of-linuxscrew/</link>
		<comments>http://www.linuxscrew.com/2012/04/04/meet-new-design-of-linuxscrew/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 19:26:56 +0000</pubDate>
		<dc:creator>Artem Nosulchik</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[clouds]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[linode]]></category>
		<category><![CDATA[linuxscrew]]></category>
		<category><![CDATA[pingdom]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1624</guid>
		<description><![CDATA[A few days ago LinuxScrew website has moved to a new design and partially to a new hosting. It is still based on WordPress engine (I still think it&#8217;s the best platform for this class of websites). You are more than welcome to take a minute to look at new clean version of www.linuxscrew.com. If you find any bugs or something that you feel should look different – just let [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago LinuxScrew website has moved to a new design and partially to a new hosting. It is still based on WordPress engine (I still think it&#8217;s the best platform for this class of websites). You are more than welcome to take a minute to look at new clean version of <a href="http://www.linuxscrew.com">www.linuxscrew.com</a>. If you find any bugs or something that you feel should look different – just let me know.</p>
<p>LinuxScrew t is hosted at <a href="http://www.linode.com/?r=01386096e42b07945695c15b3f2132fa1991ce70">Linode cloud hosting</a> and holds part of its static content in <a href="http://aws.amazon.com/s3/">Amazon S3</a>. I am user of Linode for 3 years and its performance, support, rates totally meet my needs and expectations but the only thing bothers me is rather long response time when requesting static content hosted in Linode cloud. In order to resolve this I migrated part of images and javascript files to S3 – this improved overal response time dramatically, especially for visits from Europe so it looks like I&#8217;ll stay with S3 for some time longer.</p>
<p>Btw, if you didn&#8217;t have a chance to try Pingdom for measuring website&#8217;s performance and monitoring it makes sense to do it now at <a href="http://www.pingdom.com">www.pingdom.com</a>.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2012/04/04/meet-new-design-of-linuxscrew/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Top 5 Linux Monitoring Tools. Web Based.</title>
		<link>http://www.linuxscrew.com/2012/03/22/linux-monitoring-tools/</link>
		<comments>http://www.linuxscrew.com/2012/03/22/linux-monitoring-tools/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 19:11:06 +0000</pubDate>
		<dc:creator>Artem Nosulchik</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[mrtg]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[netflow]]></category>
		<category><![CDATA[nfsen]]></category>
		<category><![CDATA[snmp]]></category>
		<category><![CDATA[zabbix]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1498</guid>
		<description><![CDATA[Linux system monitoring is one of the most important tasks for every sysadmin: it is crucial to know everything about system including CPU load, network traffic statistics, memory consumption, logged in users, availability of disk free space or service. And it&#8217;s inevitable that something breaks or goes down from time to time so usually it&#8217;s just better to know it happened from Linux monitoring system&#8217;s alert rather than from angry [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Linux system monitoring</strong> is one of the most important tasks for every sysadmin: it is crucial to know everything about system including CPU load, network traffic statistics, memory consumption, logged in users, availability of disk free space or service. And it&#8217;s inevitable that something breaks or goes down from time to time so usually it&#8217;s just better to know it happened from Linux monitoring system&#8217;s alert rather than from angry user. Believe me, it is true.</p>
<p>In this article I&#8217;ve listed top 5 web based Linux monitoring tools which can cover almost all aspects of sysadmin&#8217;s monitoring tasks.</p>
<h4>Nagios</h4>
<p>This is one of the most popular web based Linux monitoring systems nowadays, actually it&#8217;s industry standard for IT infrastructure monitoring. Licensed under GPL Nagios is available for everybody free of charge and allows to monitor availability and response time of network services, usage of system resources like CPU load, RAM allocation etc., number of logged in users and many-many more. It doesn&#8217;t makes sense to list here everything that can be monitored by Nagios but its nature implies that main Nagios instance (server) collects information from either local system or Nagios clients (agents). It means you can install client software on number of Linux, BSD, Windows hosts or Cisco devices, point them to Nagios server and see states of their services or processes in one place: Nagios web based monitoring tool (see the screenshot below).</p>
<p>In case of any outage detected by Nagios server or any anomaly you will get an alert from Nagios. It&#8217;s important that Nagios suports wide range of alerts including e-mail, sms, chat messages and <a href="http://www.linuxscrew.com/2011/09/13/nagios-notification-by-phone-call/">phone call notifications</a>. Large number of official and third party plugins can extend Nagios&#8217; functionality dramatically.</p>
<p>And one more thing, Nagios monitors states but it doesn&#8217;t show any graphs like network interface usage etc., that&#8217;s why it&#8217;s good habit to use Nagios with other monitoring tools listed below.</p>
<p><center><a href="http://www.linuxscrew.com/wp-content/uploads/2012/03/linux-system-monitoring-nagios-screenshot.jpg"><img src="http://www.linuxscrew.com/wp-content/uploads/2012/03/linux-system-monitoring-nagios-screenshot-thumb.jpg" alt="Linux system monitoring tools: Nagios screenshot" title="Linux system monitoring tools: Nagios screenshot" class="aligncenter size-full wp-image-1504" /></a></center></p>
<p><strong>Project&#8217;s homepage:</strong> <a href="http://www.nagios.org/">http://www.nagios.org/</a><br />
<strong>Documentation and Howtos: </strong><a href="http://www.nagios.org/documentation">Official Documentation</a>, <a href="http://www.thegeekstuff.com/2008/06/how-to-monitor-remote-linux-host-using-nagios-30/">How To Monitor Remote Linux Host using Nagios 3.0</a>, <a href="http://wiki.centos.org/HowTos/Nagios">Centos Nagios Howto</a>, <a href="http://www.howtoforge.com/nagios-installation-on-ubuntu-10.04-lucid-lynx">Ubuntu Nagios Howto</a>, <a href="http://www.unixmen.com/how-to-install-and-configure-nagios-in-freebsd/">FreeBSD Nagios Howto</a>.</p>
<h4>Cacti</h4>
<p>Cacti is another web based monitoring system written in PHP and licensed under GPL. Unlike Nagios describe above Cacti was designed mainly fo the graphs &#8212; in brief, Cacti polls various services and then graphs resulting data. It uses <a href="http://oss.oetiker.ch/rrdtool/">RRDTool</a> to build graphs so if you can some graphs in .rrd files you can easily attach them to Cacti and have everything in one place.</p>
<p>So you can see CPU load graphs, RAM usage, round trip time stats, bandwidth utilization and much more information collected from various hosts. As well as Nagios Cacti supports SNMP that makes it possible to monitor almost any device in your network: Linux hosts, *BSD hosts, Windows hosts, Cisco devices, Juniper equipment, voip phones, routers, switches whatever. </p>
<p>Meantime by default Cacti doesn&#8217;t provides alerts so you should install third party plugin (<a href="http://docs.cacti.net/plugin:thold">thold</a> or others) for that or use more flexible solutions supporting alerts (like Nagios or Zabbix).</p>
<p><center><a href="http://www.linuxscrew.com/wp-content/uploads/2012/03/linux-system-monitoring-cacti.png"><img src="http://www.linuxscrew.com/wp-content/uploads/2012/03/linux-system-monitoring-cacti-thunb.png" alt="Linux system monitoring: Cacti screenshot" title="Linux system monitoring: Cacti screenshot"  class="aligncenter size-full wp-image-1513" /></a></center></p>
<p><strong>Project&#8217;s homepage:</strong> <a href="http://www.cacti.net/">http://www.cacti.net/</a><br />
<strong>Documentation and Howtos: </strong><a href="http://www.cacti.net/downloads/docs/html/">Official Documentation</a>, <a href="http://www.cyberciti.biz/faq/fedora-rhel-install-cacti-monitoring-rrd-software/">Centos/RedHat Cacti Howto</a>, <a href="http://edin.no-ip.com/comment/239">Debian SNMP+Cacti Howto</a>, <a href="http://www.ubuntugeek.com/install-and-configure-cacti-monitoring-tool-in-ubuntu-9-10-karmic-server.html">Ubuntu Cacti Howto</a>. </p>
<h4>Zabbix</h4>
<p>Zabbix is enterprise class Linux monitoring system with impressive list of capabilities available out of the box. It is licensed under GPL and is written in PHP. In brief Zabbix can do the same tasks as Nagios and Cacti by default: Zabbix easily graphs monitored data and sends alerts to user in case of any problem. Using Zabbix you can create maps of the hosts, group hosts by various categories and so on.</p>
<p>I personally like Zabbix&#8217;s capability to track changes made into specified files, for example if <em>/etc/password</em> is changed at one of your 100 servers and you monitor it with Zabbix then you&#8217;ll get corresponding report about this authorized (or not!?) change.</p>
<p>Zabbix can collect data from remote hosts where Zabbix agent/client is running (just like Nagios). Zabbix shows various kinds of graphs including network statistics, CPU load and so on (just like Cacti). Probably Zabbix may seem rather complicated for beginners but I&#8217;d recommend to take some time and get familiar with this monitoring system.</p>
<p><center><a href="http://www.linuxscrew.com/wp-content/uploads/2012/03/linux-system-monitoring-zabbix.png"><img src="http://www.linuxscrew.com/wp-content/uploads/2012/03/linux-system-monitoring-zabbix-thumb.png" alt="Linux system monitoring: Zabbix screenshot" title="Linux system monitoring: Zabbix screenshot"  class="aligncenter size-full wp-image-1517" /></a></center></p>
<p><strong>Project&#8217;s homepage:</strong> <a href="http://www.zabbix.com/">http://www.zabbix.com/</a><br />
<strong>Documentation and Howtos: </strong><a href="http://www.zabbix.com/documentation.php">Official Documentation</a>, <a href="http://www.ubuntugeek.com/how-to-setup-zabbix-monitoring-application-in-ubuntu-9-04-jaunty-server.html">Ubuntu Zabbix Howto</a>, <a href="http://www.howtoforge.com/zabbix_network_monitoring_debian_etch">Debian Zabbix Howto</a>, <a href="http://pierky.wordpress.com/2009/06/10/zabbix-how-to-monitor-radius-and-other-services-with-external-check-items-and-netcat-nc/">Monitor Radius with Zabbix</a>.</p>
<h4>MRTG</h4>
<p>MRTG is yet another open source monitoring tool that collects data at local and/or remote host by means of SNMP protocol. But MRTG is much more simple than Cacti, Nagios or Zabbix so it may be a good choice for small projects. </p>
<p>One of the most common applications of MRTG is monitoring of network interfaces, CPU, memory usage and network interfaces statistics. One of MRTG&#8217;s advantages is that it it extremely easy to deploy. Btw, MRTG was created by author of RRDTool Obi Oetiker.</p>
<p><center><a href="http://www.linuxscrew.com/wp-content/uploads/2012/03/linux-system-monitoring-mrtg-screenshot.jpg"><img src="http://www.linuxscrew.com/wp-content/uploads/2012/03/linux-system-monitoring-mrtg-screenshot-thumb.jpg" alt="Linux system monitoring tools: Cacti screenshot" title="Linux system monitoring tools: Cacti screenshot" class="aligncenter size-full wp-image-1520" /></a></center></p>
<p><strong>Project&#8217;s homepage:</strong> <a href="http://oss.oetiker.ch/mrtg/">http://oss.oetiker.ch/mrtg/</a><br />
<strong>Documentation and Howtos: </strong><a href="http://oss.oetiker.ch/mrtg/doc/index.en.html">Official Documentation</a>, <a href="http://www.cyberciti.biz/nixcraft/linux/docs/uniqlinuxfeatures/mrtg/">Linux MRTG Howto</a>, <a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch23_:_Advanced_MRTG_for_Linux">Advanced MRTG for Linux</a>, <a href="http://www.topwebhosts.org/articles/setup-mrtg.php">Centos MRTG Howto</a>.</p>
<h4>Nfsen</h4>
<p>Nfsen is open source <a href="http://en.wikipedia.org/wiki/NetFlow">Netflow</a> collector and analyzer available under open source license. It differs from monitoring tools described here &#8212; Nfsen collects only network usage data and shows the interactive graphs based on that data.</p>
<p>I found Nfsen as the only workable open source Netwflow analyzer available for Linux. Using Nfsen you can see the graphs showing network traffic on various hosts or networks, configure alerts (for example if bandwidth usage is lower or higher than average) and what it more important to digg into collected traffic.</p>
<p>Let&#8217;s imagine you see traffic spike at the graph that shows that some of your host was generating some TCP traffic 12 hours ago and you wish to know what was that. Nfsen makes it possible to investigate that spike and report what was destination and source IP addresses of that traffic, what was the protocol, port numbers and how many sesstions/flows were established. None of above mentioned monitoring systems do such an investigation. Nfsen&#8217;s graphs are interactive so you can select what data you wish to see at the graph and aggregate many data sources into one graph, it&#8217;s better to understand when building protocol <a href="http://www.linuxscrew.com/2012/03/15/nfsen-traffic-classification-breakdown/">breakdown graphs with Nfsen</a>.</p>
<p><center><a href="http://www.linuxscrew.com/wp-content/uploads/2012/03/linux-system-monitoring-nfsen.png"><img src="http://www.linuxscrew.com/wp-content/uploads/2012/03/linux-system-monitoring-nfsen-thumb.png" alt="Linux system monitoring tools: Nfsen screenshot" title="Linux system monitoring tools: Nfsen screenshot"  class="aligncenter size-full wp-image-1523" /></a></center></p>
<p><strong>Project&#8217;s homepage:</strong> <a href="http://nfsen.sourceforge.net/">http://nfsen.sourceforge.net/</a><br />
<strong>Documentation and Howtos: </strong><a href="http://nfsen.sourceforge.net/">Official Documentation</a>, <a href="http://pierky.wordpress.com/2010/03/29/netflow-installation-and-configuration-of-nfdump-and-nfsen-on-debian/">Nfsen and Nfdump Howto</a>, <a href="http://www.switch.ch/export/sites/default/all/cert/downloads/presentations/_files_presentations/Tracking.pdf">Tracking incidents with Nfsen</a>,  <a href="http://www.linuxscrew.com/2012/03/15/nfsen-traffic-classification-breakdown/">Traffic Classification with Nfsen</a>.</p>
<h4>Bottom Line</h4>
<p>Of course there are other web based monitoring tools for Linux available, some of them may even beat functionality of mentioned systems. If you feel that it makes sense to extend this list with other monitoring system just leave a comment here with brief description of suggested Linux monitoring system. Thank you in advance.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2012/03/22/linux-monitoring-tools/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.982 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-16 22:38:29 -->

