<?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>Opsview Labs &#187; Opsview</title>
	<atom:link href="http://labs.opsview.com/opsview/feed/" rel="self" type="application/rss+xml" />
	<link>http://labs.opsview.com</link>
	<description>Opsview&#039;s Engineering Blog</description>
	<lastBuildDate>Fri, 20 Jan 2012 09:32:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Website Monitoring in 10 Easy Steps with Opsview</title>
		<link>http://labs.opsview.com/2012/01/monitor-your-website-in-10-easy-steps-with-opsview/</link>
		<comments>http://labs.opsview.com/2012/01/monitor-your-website-in-10-easy-steps-with-opsview/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 15:06:40 +0000</pubDate>
		<dc:creator>Christopher Buckley</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Opsview]]></category>
		<category><![CDATA[System Management]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[service check]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[website check]]></category>
		<category><![CDATA[website monitoring]]></category>

		<guid isPermaLink="false">http://labs.opsview.com/?p=2119</guid>
		<description><![CDATA[
			
				
			
		For most companies websites are their corporate face to the world. Any downtime can be costly especially if the sites are used for e-commerce. Web monitoring checks can be set up quickly and easily in Opsview giving you powerful alerting capabilities to check on crashed servers, website attacks and more. Here are 10 easy steps [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flabs.opsview.com%2F2012%2F01%2Fmonitor-your-website-in-10-easy-steps-with-opsview%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.opsview.com%2F2012%2F01%2Fmonitor-your-website-in-10-easy-steps-with-opsview%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div><p><a href="http://labs.opsview.com/wp-content/uploads/2012/01/website.jpg"><img class="alignleft size-full wp-image-2133" title="website monitoring" src="http://labs.opsview.com/wp-content/uploads/2012/01/website.jpg" alt="website monitoring" width="175" height="141" /></a>For most companies websites are their corporate face to the world. Any downtime can be costly especially if the sites are used for e-commerce. <strong>Web monitoring</strong> checks can be set up <strong>quickly and easily</strong> in Opsview giving you <strong>powerful alerting</strong> capabilities to check on crashed servers, website attacks and more. Here are 10 easy steps to set up website monitoring in Opsview:<span id="more-2119"></span>1.	Login to Opsview and Go to  CONFIGURATION &gt; SERVICE CHECKS</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2012/01/service-check1.png"><img class="aligncenter size-full wp-image-2136" title="website monitoring configuration" src="http://labs.opsview.com/wp-content/uploads/2012/01/service-check1.png" alt="website monitoring configuration" width="500" height="253" /></a></p>
<p>2.	Click on &#8216;ACTIONS &gt; Create New Service Check&#8217;</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2012/01/service-check.png"><img class="aligncenter size-full wp-image-2122" title="create new website monitoring check" src="http://labs.opsview.com/wp-content/uploads/2012/01/service-check.png" alt="create new website monitoring check" width="322" height="128" /></a></p>
<p>3.	You will see a blank template, ready for you to fill with data. Populate the template with information to create an appropriate service check, in the example below we’ve set it up to warn us when our SSL certificate is within 30 days of expiring.</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2012/01/service-check-filled1.png"><img class="aligncenter size-full wp-image-2124" title="website monitor check" src="http://labs.opsview.com/wp-content/uploads/2012/01/service-check-filled1.png" alt="website monitor check" width="500" height="418" /></a></p>
<p>4.	Before adding the check into your template you can test the syntax of your argument on the command line:</p>
<pre>nagios@ov-trn-s1:~$ check_http –H www.opsview.com –C 30
OK – Certificate will expire on 04/26/2012 10.23.</pre>
<p>5.	Once all the data is complete you need to assign the checks to a host. When you&#8217;ve got all your website checks setup it&#8217;s useful to summarise them in a viewport so that you can easily see all activity in one place. To do this you need to set up a dashboard view for your new checks.</p>
<p>6. Go to CONFIGURATION – KEYWORDS</p>
<p>7. Click on ACTIONS &gt; CREATE NEW KEYWORD <a href="http://labs.opsview.com/wp-content/uploads/2012/01/new-keyword.png"><img class="aligncenter size-full wp-image-2157" title="new-keyword" src="http://labs.opsview.com/wp-content/uploads/2012/01/new-keyword.png" alt="new keyword" width="400" height="308" /></a></p>
<p>8. Select your newly created service checks.</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2012/01/new-check.png"><img class="aligncenter size-full wp-image-2186" title="summarise website monitoring checks" src="http://labs.opsview.com/wp-content/uploads/2012/01/new-check.png" alt="summarise website monitoring checks" width="600" height="122" /></a></p>
<p>9. After clicking SUBMIT then RELOADING your Opsview configuration, you will see your website monitors appear on your dashboard.</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2012/01/dashboard1.png"><img class="aligncenter size-full wp-image-2190" title="website monitoring dashboard" src="http://labs.opsview.com/wp-content/uploads/2012/01/dashboard1.png" alt="website monitoring dashboard" width="600" height="117" /></a></p>
<p>10. Click through to <strong>Website Health Checks</strong>. You can change the view to suit your requirements, here we have selected a ‘performance’ view, allowing us to instantly see the key metrics.</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2012/01/performance-view1.png"><img class="aligncenter size-full wp-image-2175" title="website monitoring performance view" src="http://labs.opsview.com/wp-content/uploads/2012/01/performance-view1.png" alt="website monitoring performance view" width="600" height="192" /></a></p>
<p>Here is the same dashboard, but with a ‘Group by Service’ overview.</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2012/01/service-overview.png"><img class="aligncenter size-full wp-image-2194" title="website monitoring service overview" src="http://labs.opsview.com/wp-content/uploads/2012/01/service-overview.png" alt="website monitoring service overview" width="600" height="87" /></a></p>
<h2>Website Monitoring Checks</h2>
<p>There are lots of types of checks you can carry out to ensure the health of your website and webservers – here are a few you can try:</p>
<h3>Web Server Check</h3>
<p>This is checking the web server running on &#8216;ov-dev-61&#8242;. It performs a simple TCP connection on port 80 and ensures a valid HTTP response is received.</p>
<pre>nagios@ov-trn-s1:~$ check_http –H ov-dev-61 –w 5 –c 10
HTTP OK HTTP/1.1 200 OK – 316 bytes in 0.003 second response time | time=0.003423s;5.000000;10.000000;0.000000 size=316B;;;0</pre>
<p>If the webserver stops working, then we see this response:</p>
<pre>nagios@ov-trn-s1:~$ check_http –H ov-dev-61 –w 5 –c 10
Connection refused
HTTP CRITICAL – Unable to open TCP socket</pre>
<h3>Content Serving Check</h3>
<p>This is a really useful check, as it allows you to monitor both potential defacements to your website as well as performing an &#8216;application&#8217; level check, i.e. ensuring that your webserver is serving meaningful content.</p>
<p>A check of Apache processes sometimes isn&#8217;t enough; Apache may be running, but it may not be serving the content you expect. This check addresses that.</p>
<pre>nagios@ov-trn-s1:~$ check_http –H www.opsview.com –u /company –s “Based in Reading –w –c 10
HTTP OK HTTP/1.1 200 OK – 41439 bytes in 0.886 second response time | time=0.885759s;5.000000;10.000000;0.000000 size=41439B;;;0</pre>
<p>Here we see the result of the check when a string (&#8216;foobar&#8217;) is required, but not found.</p>
<pre>nagios@ov-trn-s1:~$ check_http –H www.opsview.com –u /company –s “foobar” –w 5 –c 10
HTTP CRITICAL: HTTP/1.1 200 OK – string ‘foobar’ not found on ‘http://www.opsview.com:80/company’</pre>
<h3>Retrieve In-Time Check</h3>
<p>Here’s an excellent monitor to ensure that your website is retrieved within an acceptable time-frame:</p>
<pre>[nagios@vader ~j$ check_http –w 2 –c 4 –H www.opsview.com –f follow
HTTP OK: HTTP/1.1 200 OK – 49250 bytes in 0.777 second response time | time=0.777155s;2.000000;4.000000;0.000000 size=49250B;;;0</pre>
<hr />If there are any other types of website monitoring checks that you use regularly or want to use let us know!</p>
<p>Find out how to configure Opsview to pro-actively respond to website attacks at our <a href="http://www.opsview.com/learn/opsview-webinars">Webinar on 2nd February</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.opsview.com/2012/01/monitor-your-website-in-10-easy-steps-with-opsview/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>5 Steps to Monitor your Network with Opsview Parenting</title>
		<link>http://labs.opsview.com/2011/12/monitor-your-network-with-opsview-parenting/</link>
		<comments>http://labs.opsview.com/2011/12/monitor-your-network-with-opsview-parenting/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 14:07:27 +0000</pubDate>
		<dc:creator>brian.king</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[DevOps]]></category>
		<category><![CDATA[Opsview]]></category>
		<category><![CDATA[System Management]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[layer 3]]></category>
		<category><![CDATA[network monitoring]]></category>
		<category><![CDATA[Traceroute]]></category>
		<category><![CDATA[VLAN]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://labs.opsview.com/?p=1876</guid>
		<description><![CDATA[
			
				
			
		Parenting is one of the many powerful network monitoring tools that can be deployed in Opsview. However parenting is quite often misunderstood or deployed incorrectly causing the intended goal (less notifications when detecting network failures) to be missed and flooding mailboxes with undesirable e-mail alerts. This blog post outlines the steps involved in setting up [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F12%2Fmonitor-your-network-with-opsview-parenting%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F12%2Fmonitor-your-network-with-opsview-parenting%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div><p><a href="http://labs.opsview.com/wp-content/uploads/2011/12/network.png"><img class="alignleft size-thumbnail wp-image-1892" title="Opsview network monitor" src="http://labs.opsview.com/wp-content/uploads/2011/12/network-150x150.png" alt="Monitor your network with Opsview" width="150" height="150" /></a>Parenting is one of the many powerful <a href="http://www.opsview.com/learn/network-monitoring">network monitoring</a> tools that can be deployed in Opsview. However parenting is quite often misunderstood or deployed incorrectly causing the intended goal <strong>(less notifications when detecting network failures)</strong> to be missed and flooding mailboxes with undesirable e-mail alerts. This blog post outlines the steps involved in setting up Basic Parenting in Opsview.</p>
<p><span id="more-1876"></span></p>
<p>Before successfully deploying parenting it&#8217;s important to understand how it works:</p>
<ol>
<li>Parenting is based on host states</li>
<li>It determines if a host is DOWN or UNREACHABLE</li>
<li>When assigning multiple parents all parents need to be DOWN for the host to be UNREACHABLE</li>
<li>Parenting can not be circular</li>
</ol>
<div>
<p>Please note that UNREACHABLE notifications are on by default so check the settings in your notification profile.</p>
<h2>Determining a host state</h2>
<p>One additional point that has to be made is that host states are  determined using layer 3 IP information (for instance by running a  check_icmp –H 1.2.3.4) as described by the OSI model.</p>
<p>This is important as modern network technologies like VLANs, VPNs,  HSRP and VRRP are used to make a network more robust and fault-tolerant,  unfortunately they also “hide” information needed to setup parenting.</p>
<p>Later on we will discuss these technologies and their impact on parenting.</p>
<h2>Circular parent-child relationships</h2>
<p>A circular parent-child relationship is formed when we define hostA  to have deviceX as it’s parent and define deviceX to have hostA as its  parent.</p>
<p>The parenting logic will detect this and generate an error as a  circular parent-child relationship should not exist (actually they do  exist and we will discuss them in another blog post).</p>
<h2>Types of parenting</h2>
<p>In this article we will be looking at Basic Parenting, focusing on  layer 3 hops and Single Point Of Failures (SPOFs) and how we can use  them for parenting.</p>
<p>Note that while Basic Parenting is relatively easy to implement and  will greatly help in detecting network failures, it will not be as  precise as when you implement Advanced Parenting (which will be covered  in a later blog post).</p>
<h2>Network technologies</h2>
<p><a href="http://labs.opsview.com/wp-content/uploads/2011/12/Jigsaw_piece_150.png"><img class="alignright" title="Jigsaw_piece_150" src="http://labs.opsview.com/wp-content/uploads/2011/12/Jigsaw_piece_150-150x150.png" alt="Network Technologies" width="150" height="150" /></a> To be able to setup parenting we need to understand some of the network technologies mentioned earlier.</p>
<p>Below is a simple explanation of the technologies and the parts they  play in parenting, plenty of more detailed information on these can be  found on the internet.</p>
<p>We also look at one of the tools at our disposal to help determine the hops we cross to reach any given host in our network.</p>
<h2>Traceroute</h2>
<p>Traceroute can be used to determine the (layer3) hops between any two hosts on a network.</p>
<p>When using traceroute it’s best to run it from the Opsview  slave/master (this will give a consistent result). When you use slave  clusters you should consider how you cluster them (globally or locally)  so all the slaves in the cluster have the same path to a given host.</p>
<p>Later on we will discuss how to use the results from a traceroute to create a host-parent table.</p>
<h2>VLANs</h2>
<p>A VLAN (or Virtual LAN) is used to create logical ip-subnets spanning various network devices.<strong> </strong> So if Host A and Host B are in the same VLAN, any physical hop between  them becomes transparent and a traceroute between them will show only  one hop (the destination).</p>
<p>Again this is a simplistic representation of VLAN’s and should hold  true in most situations (for instance there are extensions to VLANs like  private VLANs etc etc).</p>
<h2>VPN’s</h2>
<p>VPN’s are commonly used to connect remote servers to a local network  (over the Internet for example). However from a network perspective the  host is no longer at a distant location but directly connected to the  network (so any hops on the Internet become transparent).</p>
<p>VPN’s will be discussed in the Advanced Parenting blog post so we can go into this in more detail.</p>
<h2>HSRP/VRRP</h2>
<p>HSRP and VRRP are redundancy technologies used to make a network more  robust on layer 3. The most common deployment is used to make a network  gateway redundant.</p>
<p>In those cases the IP address you configure on your host as the  gateway is shared between two multi-layer switches (or routers) so when  one fails the other takes over and traffic keeps flowing in your  network.</p>
<p>(Note that generally a gateway is only used when traffic is destined for another network).</p>
<p>For example traffic from 192.168.1.200/24 to 192.168.1.100/24 will  stay on the same network (with a VLAN it might cross multiple devices  but these are transparent).</p>
<p>Traffic from 192.168.1.200/24 to 192.168.21.100/24 will cross the  gateway as the source and destination are on two separate networks.</p>
<p>Below is an example of a modern network.</p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/12/complex-network11.png"><img class="aligncenter" title="Example of a modern network" src="http://labs.opsview.com/wp-content/uploads/2011/12/complex-network11.png" alt="Monitoring a modern network" width="500" height="347" /></a></p>
<p>In this example we have host A and host C which are connected only  once to our network and host B which is multi-homed (for example running  bonding or nic-teaming).</p>
<p>All the switches (except switchE) and the core switches are  cross-connected to provide redundancy and fault-tolerance in our network  (full-meshed using VLAN’s and HSRP/VRRP).</p>
<p>If all our hosts reside on the same ip-subnet (or VLAN) our network  will be completely transparent and our traceroute will show only one hop  (the destination host).</p>
<pre>opsview-slave nagios $ traceroute hostA
traceroute to hostA (192.168.1.2), 30 hops max, 40 byte packets
 1  hostA (192.168.1.2)  1.594 ms  0.590 ms  0.362 ms</pre>
<p>Assuming our Opsview host is on a different ip-subnet our network will have one (or more) additional hops in our traceroute.</p>
<pre>opsview-slave nagios $ traceroute hostA
traceroute to hostA (192.168.1.2), 30 hops max, 40 byte packets
 1  coreA (192.168.1.1)  0.747 ms  0.582 ms  0.518 ms
 2  hostA (192.168.1.2)  1.594 ms  0.590 ms  0.362 ms</pre>
<h2>Setting up Basic Parenting</h2>
<p>When setting up Basic Parenting we first need to determine our SPOFs and hops.</p>
<p>Note that a SPOF is a single point of failure so any host/device  which has a single connection to our network has to be considered to  have a SPOF.</p>
<p>Also note that Host B and Opsview are redundantly connected to our  network and don’t have a SPOF (in Advanced Parenting we will be covering  multi-homed hosts).</p>
<h2>Step 1:</h2>
<p><strong>Review your network.</strong></p>
<p>First off, review your network (if needed ask your network admins to  help you out) and make traceroutes to each host so we can create a  host-parent table.</p>
<p>After the review we have found that Core (consisting of a HSRP  ip-gateway running on either Core A or Core B) is a hop and switchC,  switchD and switchE are SPOFs.</p>
<p>Note that Core is considered a HOP and not a SPOF (although it looks  like a single point of failure) this is because it uses HSRP or VRRP for  redundancy over two nodes (Core A and Core B).</p>
<p>Using this information we can create our host-parent table.</p>
<p>In this table we use various pieces of information to determine a given hosts parent:</p>
<ol>
<li>Looking at Host A we know it is connected to SPOF switchC which  makes switchC the parent of Host A (Id. 1)</li>
<li>From our traceroute we  know we only traverse Core when going from Opsview to Host A making  Opsview the parent of Core (Id. 4)</li>
<li>From our network admin we know  switchC is connected to Core (Id. 5)</li>
</ol>
<p>This gives us an entire path from Opsview through Core through switchC to Host A.</p>
<p>Host-parent table example for our network.</p>
<table border="0" width="500">
<tbody>
<tr>
<td width="63">Id</td>
<td width="120">Host</td>
<td width="131">Parent</td>
<td width="168">Note</td>
</tr>
<tr>
<td>1</td>
<td>Host A</td>
<td>switchC</td>
<td>See id 5</td>
</tr>
<tr>
<td>2</td>
<td>Host B</td>
<td>Core</td>
<td>See id 4</td>
</tr>
<tr>
<td>3</td>
<td>Host C</td>
<td>switchE</td>
<td>See id 7</td>
</tr>
<tr>
<td>4</td>
<td>Core</td>
<td>Opsview</td>
<td></td>
</tr>
<tr>
<td>5</td>
<td>switchC</td>
<td>Core</td>
<td>See id 4</td>
</tr>
<tr>
<td>6</td>
<td>switchD</td>
<td>Core</td>
<td>See id 4</td>
</tr>
<tr>
<td>7</td>
<td>switchE</td>
<td>Core</td>
<td>See id 6</td>
</tr>
</tbody>
</table>
<p>Please note that Host B is connected to switchC and switchD (which we  will be monitoring as they are SPOFs) and so it is possible to  configure Host B with two parents (switchC and switchD) instead of using  Core.</p>
<p>In Advanced parenting we will be looking at multiple parents, for now we configure Host B as having just the Core as parent.</p>
<p>Here is our network but now with only our SPOFs and hops and all transparent devices removed.</p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/12/parenting-SPOF-HOP.png"><img class="aligncenter" title="parenting SPOF HOP" src="http://labs.opsview.com/wp-content/uploads/2011/12/parenting-SPOF-HOP.png" alt="Parenting SPOF HOP" width="500" height="347" /></a></p>
<h2>Step 2:</h2>
<p><strong>Create your SPOFs and Hops in Opsview </strong></p>
<p>(ask your network admin for the host-addresses).</p>
<p>Start by adding the devices which have Opsview as it’s parent (Core  in our case) then add the devices which have Core as their parent.</p>
<p>This way you can immediately configure the devices’ parent based on our host-parent table.</p>
<p>Make sure you assign at least one service-check to the devices.</p>
<h2>Step 3:</h2>
<p><strong>Edit your hosts and add the parent based on the host-parent table.</strong></p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/12/edit-host-parent.png"><img class="aligncenter" title="edit host parent" src="http://labs.opsview.com/wp-content/uploads/2011/12/edit-host-parent.png" alt="Edit host parent in Opsview" width="500" height="250" /></a></p>
<h2>Step 4:</h2>
<p><strong>Check your notification settings for DOWN and UNREACHABLE notifications.</strong></p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/12/notification-profile-DOWN-UNREACHABLE.png"><img class="aligncenter" title="notification profile DOWN UNREACHABLE" src="http://labs.opsview.com/wp-content/uploads/2011/12/notification-profile-DOWN-UNREACHABLE.png" alt="notification profile down unreachable" width="500" height="127" /></a></p>
<h2>Step 5:</h2>
<p><strong>Reload your Opsview. </strong></p>
<p>If you accidently created a circular parent-child relationship a reload will fail with the following error:.</p>
<pre>Checking for circular paths between hosts...

Error: The host 'CoreA' is part of a circular parent/child chain!
Error: The host 'HostA' is part of a circular parent/child chain!
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...</pre>
<p>If this happens review your configuration and verify it against your host-parent table.</p>
<p>Look out for the post on Advanced Parenting where we will be building further on our basic parenting setup, including:</p>
</div>
<ol>
<li>Slave clusters and parenting</li>
<li>Multi-homed hosts and multiple parents</li>
<li>Circular parent child relationships</li>
<li>Common pitfalls for parenting</li>
<li>VPNs</li>
</ol>
<div>
<div style="border: 1px solid #ccc; background-color: #f5f5f5; padding: 8px;">
<h3>About the Author</h3>
<p>Alan Wijntje is responsible for maintaining and improving all forms of monitoring at <a href="http://www.ziggo.nl/">Ziggo</a>,  one of the leading Managed Service Providers in the Netherlands. An Opsview expert and open source enthusiast, Alan enjoys finding,  designing and implementing new and innovative ways of monitoring complex  systems and applications.</p>
<h4>Legal Disclaimer</h4>
<p>This blog post is contributed by a member of the Opsview community.  The Opsview project and Opsera Ltd accept no responsibility for the  accuracy of its content and are not liable for any direct or indirect  damages caused by its use.</p>
</div>
</div>
<p>Download <a href="http://www.opsview.com/downloads/download-opsview-community">Opsview Community edition</a> or try out a demo of <a href="http://www.opsview.com/products/online-demo">Opsview Enterprise edition.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://labs.opsview.com/2011/12/monitor-your-network-with-opsview-parenting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gaining an Edge with Opsview Open Source Monitoring</title>
		<link>http://labs.opsview.com/2011/11/gaining-an-edge-with-opsview-open-source-monitoring/</link>
		<comments>http://labs.opsview.com/2011/11/gaining-an-edge-with-opsview-open-source-monitoring/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 13:50:59 +0000</pubDate>
		<dc:creator>brian.king</dc:creator>
				<category><![CDATA[Catalyst]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Opsview]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[IT availability]]></category>
		<category><![CDATA[IT management tools]]></category>
		<category><![CDATA[IT performance]]></category>
		<category><![CDATA[nagios core]]></category>
		<category><![CDATA[nagios plug-ins]]></category>
		<category><![CDATA[open source monitoring]]></category>
		<category><![CDATA[Perl DBI]]></category>
		<category><![CDATA[SLAs]]></category>

		<guid isPermaLink="false">http://labs.opsview.com/?p=1815</guid>
		<description><![CDATA[
			
				
			
		Not all open source IT monitoring systems are made equal. Just as IT infrastructures vary according to the size, location and type of business, so the systems that monitor and report on their performance must be flexible, easy to scale and configure to meet the demands of an ever changing business.
Opsview gives you the edge [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F11%2Fgaining-an-edge-with-opsview-open-source-monitoring%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F11%2Fgaining-an-edge-with-opsview-open-source-monitoring%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div><p><a href="http://labs.opsview.com/wp-content/uploads/2011/09/hyper-scalability_2.jpg"><img class="alignleft size-thumbnail wp-image-1012" title="hyper scalability_2" src="http://labs.opsview.com/wp-content/uploads/2011/09/hyper-scalability_2-150x150.jpg" alt="" width="150" height="150" /></a>Not all <a href="http://www.opsview.com/learn/open-source-monitoring">open source IT monitoring</a> systems are made equal. Just as IT infrastructures vary according to the size, location and type of business, so the systems that monitor and report on their performance must be flexible, easy to scale and configure to meet the demands of an ever changing business.</p>
<p>Opsview gives you the edge with open source monitoring by offering an easy to install and configure system that delivers enhanced functionality in a highly scalable, commercially supported system.</p>
<p>If you’re replacing your existing monitoring solution, or evaluating systems for implementation, here are 10 reasons why you should consider Opsview:</p>
<p><span id="more-1815"></span></p>
<h2>1.	Flexibility<a href="http://labs.opsview.com/wp-content/uploads/2011/09/alert120px.png"><img class="alignright size-full wp-image-1125" title="alert120px" src="http://labs.opsview.com/wp-content/uploads/2011/09/alert120px.png" alt="" width="120" height="120" /></a></h2>
<p>Opsview’s open source monitoring system is designed with ease of use and flexibility at its heart. Based on <a href="http://www.opsview.com/company/legal/trademarks#NagiosTrademarkStatement">Nagios® Core</a>, the installation, configuration and upgrade to Opsview doesn’t require highly specialised knowledge or additional investment into expensive specialist hardware or integration skills. It is essentially an enterprise IT window onto performance and availability, watching hosts and services, alerting users to problems or issues and allowing them to track their resolution.</p>
<h2>2.	A Single Tool for Monitoring all Environments</h2>
<p>IT environments are becoming increasingly diverse with a mix of physical, virtual and cloud environments as IT departments continually strive to do more with less. Using a mix of proprietary IT management tools to monitor these environments causes unnecessary complexity which could lead to slower fault resolution times and hamper overall monitoring effectiveness.  Opsview delivers a ‘single pane of glass’ view across this mix of layers, hosts and components helping ensure IT SLAs are met and keeping costs down by removing the need for multiple software licences or subscriptions.</p>
<h2>3.	Direct Access to Source Code</h2>
<p>As an <a title="Opsview Community" href="http://www.opsview.com/community">open source developed suite</a>, and unlike more expensive proprietary alternatives, Opsview allows end users direct access to the<a title="Opsview Community" href="http://www.opsview.com/community"> </a>source code, enabling IT departments to make changes to the root system. This enables a business to optimize individual IT monitoring requirements, for instance, tweaking status views so that they can be graphically represented in a way that delivers meaningful, at-a-glance information depending on the level of detail required.</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2011/11/spanner1.png"><img class="alignleft size-full wp-image-1830" title="spanner" src="http://labs.opsview.com/wp-content/uploads/2011/11/spanner1.png" alt="opsview software configuration" width="120" height="120" /></a>However, considering how much pressure IT budgets are under nowadays, most enterprises don’t want to use their own in-house software engineering staff to tinker with the source code of third-party applications. So Opsview Enterprise edition includes <a href="http://www.opsview.com/products/opsview-enterprise">software maintenance</a> to ensure you receive critical software fixes quickly and with minimum disruption to business.</p>
<h2>4.	Strength in Numbers</h2>
<p>Where proprietary software development is closed to all but the biggest enterprise customers, the Opsview community lies at the heart of our development model, supporting over 15,000 users. Their feedback is invaluable when developing and refining new features that continuously improve the suite. The variety of different environments monitored by the community enables the identification of the widest range of problems possible before any code is certified for inclusion in <a href="http://www.opsview.com/products/opsview-enterprise">Opsview Enterprise edition</a>.</p>
<h2>5. Open Platform</h2>
<p>Opsview is an open source application that encourages tight, two-way  integration with other systems such as <a title="Opsview Service Desk Connector" href="http://www.opsview.com/products/enterprise-modules/service-desk-connector">ticketing and help-desk consoles.</a> In doing so, Opsview offers a cost-effective way to upgrade your core  monitoring and performance management capabilities with minimal  disruption to existing procedures and processes.</p>
<h2>6.	Easy Migration from Other Systems<a href="http://labs.opsview.com/wp-content/uploads/2011/11/plug.png"><img class="alignright size-thumbnail wp-image-1823" title="plug" src="http://labs.opsview.com/wp-content/uploads/2011/11/plug-150x150.png" alt="opsview customization" width="150" height="150" /></a></h2>
<p>Another key consideration for the value of any IT monitoring system is not just only how easy it is to use, but also how simple it is to take on in the first place. That’s why Opsview makes migration easy. The use of standard frameworks such as Catalyst and Perl DBI make development straightforward and developer documentation supported by the strong open source community is freely available online. Opsview’s integration and compatibility characteristics mean you don’t have to replace existing monitoring agents and that it will work with existing plug-ins.  That way you don’t lose any of the value already invested in existing monitoring capabilities – you enhance and strengthen them.</p>
<p>Opsview also provides APIs for system configuration, monitoring data re-use, and the automatic population and update of host information. This is particularly useful for integrating Opsview Enterprise edition with other <a title="Integrates with IT Management Tools" href="http://www.opsview.com/products/enterprise-modules/service-desk-connector">IT management tools.</a></p>
<h2>7.	Lower Costs</h2>
<p>The open nature of Opsview locks down cost because your IT department is not supporting unique versions, nor is an army of consultants required to just carry out an upgrade. It also means display of system status information on everything from a company intranet or website, to the publishing of performance and availability metrics on a customer portal is possible from a single monitoring solution rather than multiple point solutions generating siloed reports and metrics.</p>
<h2><a href="http://labs.opsview.com/wp-content/uploads/2011/11/lock.png"><img class="alignleft size-thumbnail wp-image-1821" title="lock" src="http://labs.opsview.com/wp-content/uploads/2011/11/lock-150x150.png" alt="no vendor lock in" width="150" height="150" /></a>8.	No Vendor Lock-In</h2>
<p>As well as on-going licence fees, using proprietary software often means being ‘locked-in’ with the vendor with no option to customize the software to fit your needs. Opsview gives you the flexibility and control of a home-grown system, perfectly tailored to your needs, but with <a title="Opsview Support" href="http://www.opsview.com/services/technical-support">commercial support, </a><a title="Opsview Development Roadmap" href="http://www.opsview.com/community/developer-zone/roadmap">development roadmap</a> and <a title="Opsview Community" href="http://www.opsview.com/community/forum">community feedback</a> platform.</p>
<h2>9.	Field Tested for Monitoring Complex Infrastructures</h2>
<p>Opsview is used in all types of <a href="http://www.opsview.com/products/industry-solutions">monitoring environments</a> because it’s easy to install and configure and delivers an open platform with a large, active community of contributors and enthusiasts. However, mission critical business applications and services demand high performance and availability. This is where Opsview Enterprise edition comes in to its own.  From <a title="Opsview Customer Overview" href="http://www.opsview.com/products/customer-overview">Airports</a> to <a title="Opsview Customer Overview" href="http://www.opsview.com/products/customer-overview">Banks</a>, <a title="Opsview Customer Overview" href="http://www.opsview.com/products/customer-overview">Service Providers</a> and even the <a title="Opsview Customer Overview" href="http://www.opsview.com/products/customer-overview">Military</a>, Opsview Enterprise stands its ground in the most rigorous monitoring environments.  With integrated redundancy, high availability and scalable architecture, Opsview Enterprise edition is designed to help organisations toward uninterrupted business operations.</p>
<h2>10.	Fair Pricing on Commercial Products</h2>
<p>Unlike proprietary solutions, the <a title="Opsview Subscription Pricing" href="http://www.opsview.com/products/pricing">commercial version</a> of Opsview offers entry points for all types and sizes of business. SME and large enterprise IT estates can get professionally supported, total monitoring coverage for disparate systems without having to part with hundreds of thousands a year for the privilege.</p>
<p>Discover Opsview today – download <a href="http://www.opsview.com/downloads">Opsview Community edition</a> or view a live demo of <a href="http://www.opsview.com/products/online-demo">Opsview Enterprise edition</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.opsview.com/2011/11/gaining-an-edge-with-opsview-open-source-monitoring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Post Status Messages from Opsview to your Twitter Account</title>
		<link>http://labs.opsview.com/2011/11/how-to-post-status-messages-from-opsview-to-your-twitter-account/</link>
		<comments>http://labs.opsview.com/2011/11/how-to-post-status-messages-from-opsview-to-your-twitter-account/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 13:37:16 +0000</pubDate>
		<dc:creator>brian.king</dc:creator>
				<category><![CDATA[DevOps]]></category>
		<category><![CDATA[Opsview]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[notifications]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[status alerts]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://labs.opsview.com/?p=1701</guid>
		<description><![CDATA[
			
				
			
		
Opsview gives you lots of standard options for receiving status notifications, but with a bit of custom scripting you can also get status messages from Opsview and post them to a Twitter account. This could be useful if you want to keep all your status messages in one place with a timeline. Plus you can [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F11%2Fhow-to-post-status-messages-from-opsview-to-your-twitter-account%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F11%2Fhow-to-post-status-messages-from-opsview-to-your-twitter-account%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div><p><a title="@Opsview" href="http://labs.opsview.com/wp-content/uploads/2011/11/Twitter-Logo-300x293.jpg"><img class="alignleft size-thumbnail wp-image-1719" title="Follow @Opsview on Twitter" src="http://labs.opsview.com/wp-content/uploads/2011/11/Twitter-Logo-300x293-150x150.jpg" alt="How to Get Twitter Notifications in Opsview" width="150" height="150" /></a></p>
<p><a href="http://www.opsview.com">Opsview </a>gives you lots of standard options for receiving status notifications, but with a bit of custom scripting you can also get status messages from Opsview and post them to a Twitter account. This could be useful if you want to keep all your status messages in one place with a timeline. Plus you can also set up an account for other members of your team to follow so they can also see the updates. However it&#8217;s probably best that the Twitter account is kept within your organisation unless you want the world to see the status of your servers!</p>
<p>This article tells you how to configure Opsview to send messages to Twitter. For configuring this you need to have access to the shell of your Opsview server.</p>
<p><span id="more-1701"></span></p>
<p>To access Twitter from Opsview, you&#8217;ll need to install <a href="https://github.com/tweepy/tweepy">Tweepy</a>. Tweepy is a Python library for accessing the Twitter API. It requires Python 2.5 or later. If you need to install Python 2.6 you can follow the instructions on this <a href="http://ben.timby.com/?p=123">blog</a>.</p>
<pre># wget http://dagobah.ftphosting.net/yum/smartfile.repo -O /etc/yum.repos.d/smartfile.repo</pre>
<p>Then you can use YUM to install python26 package:</p>
<pre># yum install python26 python26-distribute</pre>
<p>To get a list of installed packages, do:</p>
<pre># yum list *python26* | grep -i installed</pre>
<pre>Installed Packages
python26.x86_64             2.6.5-6.el5   installed
python26-distribute.noarch  0.6.10-4.el5  installed
python26-libs.x86_64        2.6.5-6.el5   installed</pre>
<p>Install Tweepy</p>
<pre>/usr/bin/easy_install-2.6 tweepy</pre>
<p>Next you&#8217;ll need to authenticate Twitter from the command line. This blog tells you <a href="http://talkfast.org/2010/05/31/twitter-from-the-command-line-in-python-using-oauth">how.</a></p>
<p>At this point you&#8217;ll need to create a new Twitter account which will be used to post the notifications.</p>
<p>Make sure you enable <strong>Tweet Privacy</strong> under <strong>Settings</strong>, in the Twitter account, so that posts are not made public (unless you want them to be!)</p>
<p>After creating the Twitter account, you&#8217;ll need to <a href="http://talkfast.org/2010/05/31/twitter-from-the-command-line-in-python-using-oauth">register a new client app with Twitter.</a></p>
<p>Select &#8220;Connect the app to your Twitter account&#8221; with a minor change in the first line.. write <strong>python26 </strong>instead of python</p>
<pre>#!/usr/bin/env python26

Import tweepy

CONSUMER_KEY = 'paste your Consumer Key here'
CONSUMER_SECRET = 'paste your Consumer Secret here'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth_url = auth.get_authorization_url()
print 'Please authorize: ' + auth_url
verifier = raw_input('PIN: ').strip()
auth.get_access_token(verifier)
print "ACCESS_KEY = '%s'" % auth.access_token.key
print "ACCESS_SECRET = '%s'" % auth.access_token.secret</pre>
<p>Again, in  &#8220;Create the command line script&#8221;, change to <strong>python26</strong>. Don&#8217;t forget to add your own keys.</p>
<pre>#!/usr/bin/env python26

import sys
import tweepy

CONSUMER_KEY = 'paste your Consumer Key here'
CONSUMER_SECRET = 'paste your Consumer Secret here'
ACCESS_KEY = 'paste your Access Key here'
ACCESS_SECRET = 'paste your Access Secret here'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
api = tweepy.API(auth)
api.update_status(sys.argv[1])</pre>
<p>Then &#8220;Send a test tweet from the command line&#8221; and if the test is successful, do the following:</p>
<pre>1.	Move the script to /usr/local/nagios/libexec/notifications/.</pre>
<p>(call the script &#8216;connect_twitter&#8217;, hence script is at /usr/local/nagios/libexec/notifications/connect_twitter)</p>
<pre>2.	chown nagios:nagios /usr/local/nagios/libexec/notifications/connect_twitter
3.	chmod +x /usr/local/nagios/libexec/notifications/connect_twitter</pre>
<p>Create another script to be used by Opsview:</p>
<pre>/usr/local/nagios/libexec/notifications/notify-by-twitter</pre>
<p>The script:</p>
<pre>dt=`date '+%H:%M %d%b%y'`
if [ -n "$NAGIOS_SERVICEDESC" ]
then
msg=`echo @$NAGIOS__CONTACTTWITTERID Time:$dt. $NAGIOS_SERVICEDESC @ $NAGIOS_HOSTNAME,$NAGIOS_HOSTADDRESS is $NAGIOS_SERVICESTATE. $NAGIOS_SERVICEOUTPUT | cut -c 0-140`
/usr/local/nagios/libexec/notifications/connect_twitter "$msg"
unset msg
else
msg=`echo @$NAGIOS__CONTACTTWITTERID Time:$dt. $NAGIOS_HOSTNAME,$NAGIOS_HOSTADDRESS is $NAGIOS_HOSTSTATE. $NAGIOS_HOSTOUTPUT| cut -c 0-140`
/usr/local/nagios/libexec/notifications/connect_twitter "$msg"
unset msg
fi</pre>
<p>Again,</p>
<pre>chown nagios:nagios /usr/local/nagios/libexec/notifications/notify-by-twitter
chmod +x /usr/local/nagios/libexec/notifications/notify-by-twitter</pre>
<p>Log in to Opsview as a user with admin privileges.</p>
<p>Go to <strong>Advanced</strong> then <strong>Notification Methods</strong> from the drop down menu.</p>
<p>On the top right, click <strong>Actions</strong> and then <strong>Create new Notification Method</strong> as following: <a href="http://labs.opsview.com/wp-content/uploads/2011/11/twitter-notify1.png"> </a></p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/11/twitter-notify2.jpg"><img class="aligncenter size-full wp-image-1760" title="Create new notification method" src="http://labs.opsview.com/wp-content/uploads/2011/11/twitter-notify2.jpg" alt="Display Opsview Status in Twitter" width="500" height="155" /></a></p>
<p>Next, go to <strong>Configuration</strong> on the Opsview Menu bar, then <strong>Contacts</strong>. Click on the contact you want to set Twitter alerts for. Click the <strong>Notifications</strong> button. Add your Twitter ID (this ID will receive the Tweets).</p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/11/twitter-profile2.jpg"><img class="aligncenter size-full wp-image-1752" title="Configure contacts" src="http://labs.opsview.com/wp-content/uploads/2011/11/twitter-profile2.jpg" alt="Display Opsview Status on Twitter" width="500" height="386" /></a></p>
<p>Click on <strong>Submit</strong> and edit <strong>Notification Profiles</strong>.</p>
<p>Click <strong>Actions</strong>, and create new <strong>Notification Profile</strong> for user.</p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/11/twitter-profile.jpg"></a><a href="http://labs.opsview.com/wp-content/uploads/2011/11/twitter-notify31.jpg"><img class="aligncenter size-full wp-image-1751" title="New notification profile" src="http://labs.opsview.com/wp-content/uploads/2011/11/twitter-notify31.jpg" alt="Display Opsview Status on Twitter" width="500" height="387" /></a></p>
<p>Create the profile and submit changes.</p>
<p>Reload your configuration (click on <strong>Configuration Status</strong>, top right, then <strong>Reload Configuration</strong>).</p>
<p>Reboot one of your servers or stop a service which is added in Opsview. Note that Twitter allows 250 direct messages per day, do not cross this limit as tweets won&#8217;t come in after you exceed this number.</p>
<p>The Tweets should now start coming in!</p>
<div style="border: 1px solid #ccc; background-color: #f5f5f5; padding: 8px;">
<h3>About the Author</h3>
<p>Shibashish Satpathy is an Opsview Community user based in Mumbai, India. Shib works in IT Operations and enjoys photography, travelling and working with Linux!</p>
<h4>Legal Disclaimer</h4>
<p>This blog post is contributed by a member of the Opsview community. The Opsview project and Opsera Ltd accept no responsibility for the accuracy of its content and are not liable for any direct or indirect damages caused by its use.</p>
</div>
<p>Try this out for yourself by downloading <a href="http://www.opsview.com/downloads/opsview-3-vmware-virtual-appliance">Opsview Community edition</a> and get our latest tips and updates by following us on <a href="http://www.twitter.com/opsview">Twitter</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.opsview.com/2011/11/how-to-post-status-messages-from-opsview-to-your-twitter-account/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>10 Steps to Moving an Opsview Master Server</title>
		<link>http://labs.opsview.com/2011/11/10-steps-to-moving-an-opsview-master-server/</link>
		<comments>http://labs.opsview.com/2011/11/10-steps-to-moving-an-opsview-master-server/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 12:24:53 +0000</pubDate>
		<dc:creator>brian.king</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[DevOps]]></category>
		<category><![CDATA[Opsview]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[Install Opsview]]></category>
		<category><![CDATA[IT monitoring]]></category>
		<category><![CDATA[master server]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://labs.opsview.com/?p=1643</guid>
		<description><![CDATA[
			
				
			
		Uprooting the Opsview Master server is probably last on every administrator’s to-do list. But it’s not a perfect world and extenuating circumstances may require the master to be positioned elsewhere. 
Here are 10 steps to move an Opsview master server and limit downtime during the relocation of your IT monitoring system. 

Keep in mind in [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F11%2F10-steps-to-moving-an-opsview-master-server%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F11%2F10-steps-to-moving-an-opsview-master-server%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div><p><a href="http://labs.opsview.com/wp-content/uploads/2011/11/fork-lift.png"><img src="http://labs.opsview.com/wp-content/uploads/2011/11/fork-lift-150x150.png" alt="Moving an Opsview Master Server" title="fork lift" width="150" height="150" class="alignleft size-thumbnail wp-image-1685" /></a>Uprooting the Opsview Master server is probably last on every administrator’s to-do list. But it’s not a perfect world and extenuating circumstances may require the master to be positioned elsewhere. </p>
<p>Here are 10 steps to move an Opsview master server and limit downtime during the relocation of your IT monitoring system. </p>
<p><span id="more-1643"></span></p>
<p>Keep in mind in this scenario we have the luxury of moving the server while maintaining the same architecture and OS version, so we have the ability to copy files from the old server to the new server. We are not restoring the master server. (check out Opsview documentation on <a href="http://docs.opsview.com/doku.php?id=opsview-community:backups">backups and restores</a> to find out which databases and files are backed up by a nightly cron job).</p>
<p>The process can be broken down into three sections: components, configuration, and communication.</p>
<h2>Components</H2>
<strong>(For this section, stop all Opsview processes on the master and all slaves></strong></p>
<p>1.	On the new server, follow the documentation to <a href="http://docs.opsview.com/doku.php?id=opsview3.4:prereqs">install Opsview </a>for your Linux distribution. Also install MySQL and Apache in the same fashion as your original server, whether it is with a package manager or custom compile.</p>
<p>2.	Opsview does daily backups that can be used for a restore. In this case, we are doing a migration so we can manually copy all the data required. We will treat Opsview like any other web application and rsync the entire <strong>/usr/local/nagios</strong> directory to the new server and do a mysqldump of all MySQL databases, capturing odw, opsview, reports, runtime, and the database called mysql with all users and their permissions.</p>
<pre>nagios@< oldserver >$  rsync –arolptv /usr/local/nagios/ <newserver>:/usr/local/nagios/</pre>
<pre>root@< oldserver >#  mysqldump –-routines –u’dbuser’ -p’dbpass’ –-all-databases > /tmp/alldbs.dmp</pre>
<p>3.	Copy and import the MySQL databases on the new server. Also, verify the nagios user has the correct (and recursive) permissions on /usr/local/nagios.</p>
<p>4.	Time is crucial between the master and slave servers and you will get an error if the time is only seconds apart. Be sure all slaves and the master server are using the same time server and they are synced before turning on Opsview for the first time.</p>
<h2>Configuration </h2>
<p><strong>(For this section, don’t start up Opsview yet)</strong></p>
<p>5.	On the slave servers, the master server is listed in <strong>/usr/local/nagios/etc/opsview-slave.conf</strong> either by IP address or fully qualified domain name. Change the IP address here or change <strong>/etc/hosts</strong> to have the new IP address and keep the FQDN in the configuration file. We want to control how the slaves access the master and not rely on any other DNS source.</p>
<p>6.	If you use Apache as a proxy server, copy over <strong>/etc/httpd/conf.d/opsview.conf </strong>from the old server to the new server.</p>
<p>7.	If you use the rsync method to copy all files as the nagios user, permissions on the file <strong>/usr/local/nagios/libexec/check_icmp (and check_dhcp) </strong> may be changed to an incorrect value. Set the correct ownership and access permissions.</p>
<pre>chown root:nagios /usr/local/nagios/libexect/check_icmp
chmod 4550 /usr/local/nagios/libexec/check_icmp</pre>
<h2>Communication</h2>
<p><strong>(Wait for it…SSH connections must work before Opsview can be started).</strong></p>
<p>8.	Since we have the old server, copy all the SSH keys from the nagios home directory (probably under <strong>/var/log/nagios/.ssh/</strong>) to the new server. On the slaves, remove the entry for the master in the known_hosts file under the nagios user and establish a connection to the new master server to verify SSH works correctly with shared keys. </p>
<p>9.	Use the send2slaves command to test the master communicating with the slaves.</p>
<pre>/usr/local/nagios/bin/send2slaves –t <slavenode></pre>
<p>10.	When you have all components installed and started, all configuration files in place, and communication established from master to slaves (and vice versa), start Opsview and Opsview-web on the master server.</p>
<pre>/etc/init.d/opsview start
/etc/init.d/opsview-web start
Start Opsview on all the slave servers.</pre>
<pre>/etc/init.d/opsview-agent start
/etc/init.d/opsview-slave start</pre>
<p>Done! The Opsview UI should be accessible (after a DNS change or an edit to your local hosts file to verify). </p>
<p>Moving the master server shouldn’t be a frequent task, but with Opsview’s portable architecture, it can easily be accomplished. </p>
<div style="border: 1px solid #ccc; background-color: #f5f5f5; padding: 8px;">
<h3>About the Author</h3>
<p>Paul Fleetwood started as a Unix Administrator in 1999. He has rolled out Opsview at small and large companies including a distributed installation that monitored 600 hosts and 5000 services. Paul currently works for an award-winning custom content publisher in North Carolina and spends all his free time with his wife and three very active sons.</p>
<p><H4>Legal Disclaimer</h4>
<p>This blog post is contributed by a member of the Opsview community. The Opsview project and Opsera Ltd accept no responsibility for the accuracy of its content and are not liable for any direct or indirect damages caused by its use.</p>
</div>
<p><br />
Want to learn more about configuring and implementing IT monitoring with Opsview? Check out our <a href="http://www.opsview.com/company/events">training courses.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://labs.opsview.com/2011/11/10-steps-to-moving-an-opsview-master-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Workaround for “ODW_STATUS WARNING – No update since” Notification in Opsview</title>
		<link>http://labs.opsview.com/2011/10/workaround-for-%e2%80%9codw_status-warning-%e2%80%93-no-update-since%e2%80%9d-notification-in-opsview/</link>
		<comments>http://labs.opsview.com/2011/10/workaround-for-%e2%80%9codw_status-warning-%e2%80%93-no-update-since%e2%80%9d-notification-in-opsview/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 12:37:26 +0000</pubDate>
		<dc:creator>brian.king</dc:creator>
				<category><![CDATA[DevOps]]></category>
		<category><![CDATA[Opsview]]></category>
		<category><![CDATA[System Management]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[distributed monitoring]]></category>
		<category><![CDATA[opsview community]]></category>
		<category><![CDATA[status warning]]></category>

		<guid isPermaLink="false">http://labs.opsview.com/?p=1535</guid>
		<description><![CDATA[
			
				
			
		This week&#8217;s post is a technical workaround, from Opsview Community edition user Matthew White, for anyone experiencing an ODW_Status Warning in Opsview due to heavy server load.
Over to you Matthew&#8230;

For a while I have been seeing a daily ODW_STATUS_WARNING about no updates since 03:59:59 on my master opsview server. I was 90% sure this was [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F10%2Fworkaround-for-%25e2%2580%259codw_status-warning-%25e2%2580%2593-no-update-since%25e2%2580%259d-notification-in-opsview%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F10%2Fworkaround-for-%25e2%2580%259codw_status-warning-%25e2%2580%2593-no-update-since%25e2%2580%259d-notification-in-opsview%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div><p><a href="http://labs.opsview.com/wp-content/uploads/2011/10/warning-sign11.png"><img class="alignleft size-medium wp-image-1548" title="warning-sign1" src="http://labs.opsview.com/wp-content/uploads/2011/10/warning-sign11-300x250.png" alt="opsview community" width="150" height="125" /></a>This week&#8217;s post is a technical workaround, from <a href="http://www.opsview.com/community">Opsview Community</a> edition user Matthew White, for anyone experiencing an ODW_Status Warning in Opsview due to heavy server load.</p>
<p>Over to you Matthew&#8230;</p>
<p><span id="more-1535"></span></p>
<p>For a while I have been seeing a daily ODW_STATUS_WARNING about no updates since 03:59:59 on my master opsview server. I was 90% sure this was due to the load that I put on the server (load average sits around 6 and goes up to 13 at certain times of the day) but still got bored of running cleanup_import and then import_runtime -i 1.</p>
<p>I started off by manually clearing out all but 1 week of data from the runtime database (this is run as part of opsview_master_housekeep for various tables) and this didn&#8217;t resolve the issue. In the end I modified my cron table so that the rc.opsview cron_daily task runs 30 minutes later (at 41 minutes past the hour instead of 11 minutes past). Since changing that I seem to have had no further re-occurrences of the No update prompt.</p>
<p>I am aware that each time I update Opsview I am going to have to make this change until I manage to move the databases to their own host and rebuild the master server onto new hardware. But its a workaround for now!</p>
<p>For reference the crontab now looks like:</p>
<pre># OPSVIEW-START
# Do not remove comment above. Everything between OPSVIEW-START and OPSVIEW-END
# will be automatically installed as part of an Opsview install/upgrade
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/local/nagios/bin/mrtg_genstats.sh &gt; /dev/null 2&gt;&amp;1
41 3 * * * /usr/local/nagios/bin/rc.opsview cron_daily &gt; /dev/null 2&gt;&amp;1
22 2,6,10,14,18,22 * * * . /usr/local/nagios/bin/profile &amp;&amp; /usr/local/nagios/bin/opsview_cronjobs 4hourly &gt; /dev/null 2&gt;&amp;1
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/local/nagios/bin/call_nmis nmis.pl type=collect mthread=true &gt; /dev/null 2&gt;&amp;1
34 0,4,8,12,16,20 * * * /usr/local/nagios/bin/call_nmis nmis.pl type=update mthread=true &gt; /dev/null 2&gt;&amp;1
4 * * * * . /usr/local/nagios/bin/profile &amp;&amp; /usr/local/nagios/bin/import_runtime -q
# NMIS reports
0 0 * * * /usr/local/nagios/bin/call_nmis run-reports.sh day health
0 0 * * * /usr/local/nagios/bin/call_nmis run-reports.sh day top10
0 0 * * * /usr/local/nagios/bin/call_nmis run-reports.sh day outage
0 0 * * * /usr/local/nagios/bin/call_nmis run-reports.sh day response
0 0 * * * /usr/local/nagios/bin/call_nmis run-reports.sh day avail
0 0 * * * /usr/local/nagios/bin/call_nmis run-reports.sh day port
0 0 * * 0 /usr/local/nagios/bin/call_nmis run-reports.sh week health
0 0 * * 0 /usr/local/nagios/bin/call_nmis run-reports.sh week top10
0 0 * * 0 /usr/local/nagios/bin/call_nmis run-reports.sh week outage
0 0 * * 0 /usr/local/nagios/bin/call_nmis run-reports.sh week response
0 0 * * 0 /usr/local/nagios/bin/call_nmis run-reports.sh week avail
0 0 * * 0 /usr/local/nagios/bin/call_nmis run-reports.sh week port
0 0 1 * * /usr/local/nagios/bin/call_nmis run-reports.sh month health
0 0 1 * * /usr/local/nagios/bin/call_nmis run-reports.sh month top10
0 0 1 * * /usr/local/nagios/bin/call_nmis run-reports.sh month outage
0 0 1 * * /usr/local/nagios/bin/call_nmis run-reports.sh month response
0 0 1 * * /usr/local/nagios/bin/call_nmis run-reports.sh month avail
0 0 1 * * /usr/local/nagios/bin/call_nmis run-reports.sh month port
# OPSVIEW-END</pre>
<div style="border: 1px solid #ccc; background-color: #f5f5f5; padding: 8px;">
<h3>About the Author</h3>
<p>Matthew has been working in IT for 5 years after graduating from the University of Durham with a Degree in Software Engineering. He currently works for an IT outsourcing company in London, working with a range of including Microsoft, VMWare, Citrix, Juniper, Cisco, CheckPoint, RSA, Lumension.</p>
<p>Legal Disclaimer</p>
<p>This blog post is contributed by a member of the Opsview community. The Opsview project and Opsera Ltd. accept no responsibility for the accuracy of its content and are not liable for any direct or indirect damages caused by its use.</p>
</div>
<p>Do you have technical experience of using Opsview that you would like to share with Opsview&#8217;s community? We&#8217;d love to hear from you! Contact us at <a href="mailto:marketing@opsview.com">marketing@opsview.com</a> or <a href="http://www.twitter.com/opsview">@opsview</a> on Twitter.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.opsview.com/2011/10/workaround-for-%e2%80%9codw_status-warning-%e2%80%93-no-update-since%e2%80%9d-notification-in-opsview/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Opsview Enterprise 3.14 Edition Released Today</title>
		<link>http://labs.opsview.com/2011/10/opsview-enterprise-3-14-edition-released-today/</link>
		<comments>http://labs.opsview.com/2011/10/opsview-enterprise-3-14-edition-released-today/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 11:00:25 +0000</pubDate>
		<dc:creator>brian.king</dc:creator>
				<category><![CDATA[Opsview]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[IE9]]></category>
		<category><![CDATA[opsview enterprise]]></category>
		<category><![CDATA[red hat]]></category>

		<guid isPermaLink="false">http://labs.opsview.com/?p=1509</guid>
		<description><![CDATA[
			
				
			
		Our latest release, Opsview Enterprise 3.14 edition, is out today!
As well as fixes and major enhancements, configuration changes are  applied in half the time compared to previous releases for complex  Opsview deployments.
Updates and improvements include:

Reload times on systems with a large number of contacts (&#62; 50) halved
Configuration generation speed improvement of 60% when [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F10%2Fopsview-enterprise-3-14-edition-released-today%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F10%2Fopsview-enterprise-3-14-edition-released-today%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div><p><a href="http://labs.opsview.com/wp-content/uploads/2011/10/OpsviewEnterprise3-14editionMobileEvents_300px.jpg"><img class="size-full wp-image-1516 alignleft" style="margin-bottom: 8px; margin-right: 10px;" title="OpsviewEnterprise3-14editionMobileEvents_300px" src="http://labs.opsview.com/wp-content/uploads/2011/10/OpsviewEnterprise3-14editionMobileEvents_300px.jpg" alt="opsview mobile" width="168" height="113" /></a>Our latest release, Opsview Enterprise 3.14 edition, is out today!</p>
<p>As well as fixes and major enhancements, configuration changes are  applied in half the time compared to previous releases for complex  Opsview deployments.<span id="more-1509"></span></p>
<h2>Updates and improvements include:</h2>
<ul>
<li>Reload times on systems with a large number of contacts (&gt; 50) halved</li>
<li>Configuration generation speed improvement of 60% when using lots of keywords</li>
<li><a title="Opsview Android App" href="http://www.opsview.com/products/opsview-mobile"></a><a title="Opsview Mobile for Android" href="http://www.opsview.com/products/opsview-mobile">Opsview Mobile for Android</a> is now available in Opsview Enterprise 3.14 edition</li>
<li>Red Hat Enterprise Linux 6 and Debian Linux 6.0 (Squeeze) are now officially supported platforms</li>
<li>IE9 is now an officially supported web browser</li>
<li>Rest API status information now summarised by host group, host, service and viewport</li>
</ul>
<p>For a full list of improvements in 3.14 edition visit our<a title="Opsview Enterprise 3.14 Edition Release" href="http://docs.opsview.com/doku.php?id=opsview3.14:changes"> documentation wiki</a>.</p>
<p>Want to find see some of the new dashboard features coming up in Opsview Enterprise 4.0 edition? <a title="Join our webinar" href="http://www.opsview.com/learn/opsview-webinars">Join our webinar on 3rd November 2011.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://labs.opsview.com/2011/10/opsview-enterprise-3-14-edition-released-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 steps to success with your distributed monitoring</title>
		<link>http://labs.opsview.com/2011/10/10-steps-to-success-with-your-distributed-monitoring/</link>
		<comments>http://labs.opsview.com/2011/10/10-steps-to-success-with-your-distributed-monitoring/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 11:29:15 +0000</pubDate>
		<dc:creator>brian.king</dc:creator>
				<category><![CDATA[DevOps]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Opsview]]></category>
		<category><![CDATA[Opsview Syncmaster]]></category>
		<category><![CDATA[SNMP]]></category>
		<category><![CDATA[attributes]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[distributed monitoring]]></category>
		<category><![CDATA[notification]]></category>
		<category><![CDATA[syncmaster]]></category>
		<category><![CDATA[templates]]></category>

		<guid isPermaLink="false">http://labs.opsview.com/?p=1438</guid>
		<description><![CDATA[
			
				
			
		Setting up distributed monitoring in mission critical production environments is a complex task; configuration can be challenging and mistakes costly. Opsview Enterprise edition and Opsview Syncmaster module make deploying an enterprise monitoring system easy and reduce the risks associated with migrating configuration objects from development to production environments. Here’s how:
1. Get everything done in one [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F10%2F10-steps-to-success-with-your-distributed-monitoring%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F10%2F10-steps-to-success-with-your-distributed-monitoring%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div><p><a href="http://labs.opsview.com/wp-content/uploads/2011/10/distributed_artificial_intelligence.jpg"><img class="alignleft size-full wp-image-1497" style="margin-bottom: 8px; margin-right: 10px;" title="distributed_monitoring" src="http://labs.opsview.com/wp-content/uploads/2011/10/distributed_artificial_intelligence.jpg" alt="" width="153" height="101" /></a>Setting up distributed monitoring in mission critical production environments is a complex task; configuration can be challenging and mistakes costly. Opsview Enterprise edition and Opsview Syncmaster module make deploying an enterprise monitoring system easy and reduce the risks associated with migrating configuration objects from development to production environments. Here’s how:<span id="more-1438"></span></p>
<h2>1. Get everything done in one place</h2>
<p>Opsview’s configuration User Interface makes it quick and easy to get things done.  Any configuration you need to make is carried out in one place, no jumping between screens or applications required. All the complex processing is kept &#8216;under the hood&#8217; so you can focus on what’s important to you – configuring your monitoring environment the way you want it.</p>
<h2>2. Maintain consistent configurations with host templates</h2>
<p>Templates in Opsview can help you maintain consistent monitoring configurations throughout your system.  Pre-defined templates are included for many hardware, operating systems and applications such as Cisco kit, Drupal CMS or the MySQL database.  Any changes you make to a template will affect the whole configuration, giving you a quick way to make consistent, controlled changes to your distributed monitoring system.</p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/10/Host1.jpg"><img class="aligncenter size-full wp-image-1466" title="Distributed Monitoring - Opsview Host Templates" src="http://labs.opsview.com/wp-content/uploads/2011/10/Host1.jpg" alt="Distributed Monitoring - Host Templates" width="500" height="87" /></a></p>
<p style="text-align: center;"><strong> </strong></p>
<h2>3. Reduce configuration errors with cloning</h2>
<p>In Opsview you can quickly configure identical objects by using the clone function. In large environments chances are you will have lots of identical pieces of equipment such as network devices. Rather than having to manually enter configuration information for each one you can simply clone an existing device as many times as you need, saving time and reducing errors.</p>
<h2>4. Speed up configurations with embedded SNMP capabilities</h2>
<p>Opsview’s embedded SNMP polling and trapping detects SNMP interfaces so you don’t have to. This takes away much of the time consuming configuration involved with a complex distributed monitoring system and reduces the chances of input errors which could, in some other systems, cause a malfunction.</p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/10/SNMP-discovery1.jpg"><img class="aligncenter size-full wp-image-1470" title="Distributed Monitoring - Opsview SNMP Discovery" src="http://labs.opsview.com/wp-content/uploads/2011/10/SNMP-discovery1.jpg" alt="Opsview Distributed Monitoring - SNMP Discovery" width="500" height="323" /></a></p>
<p style="text-align: center;"><strong> </strong></p>
<h2>5. Manage complex configurations with attributes</h2>
<p>Attributes In Opsview help you maintain checks on complex configurations. Instead of configuring service checks for individual hosts you can create one check and use attributes to carry out checks on each host.  For example you might want a check on VMhosts which could be running 20 or 30 virtual machines. With attributes you can set up one service check on a guest VM and use attributes to reference all the virtual machines on the host.</p>
<p>Find out more about <a title="Setting Up Attributes In Opsview" href="http://labs.opsview.com/2011/10/5-steps-to-organising-your-server-monitoring-with-attributes/">setting up attributes in Opsview.</a></p>
<h2>6. Get Notified</h2>
<p>Notification profiles help you keep on top of your distributed monitoring by making sure your team get the notifications they need when they need them.  You can decide who gets notified, why they get notified and how. For example you can set up your profile to get e-mail notifications during normal working hours if your system is in a warning state, but for more critical notifications, such as a system outage, an SMS can be sent to an onsite-engineer.</p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/10/notification-profiles1.jpg"><img class="aligncenter size-full wp-image-1469" title="Distributed Monitoring - Opsview Notification Profiles" src="http://labs.opsview.com/wp-content/uploads/2011/10/notification-profiles1.jpg" alt="Opsview Distributed Monitoring - Notification Profiles" width="500" height="406" /></a></p>
<p style="text-align: center;"><strong> </strong></p>
<h2>7. Get industrial strength change management with Opsview Syncmaster</h2>
<p><a title="Opsview Enterprise edition Syncmaster Module" href="http://www.opsview.com/products/enterprise-modules/opsview-syncmaster">Opsview Syncmaster module</a> helps you follow change management procedures and takes away the risk of errors caused by untested system configurations. With Opsview Syncmaster you eliminate costly downtime and speed up system configuration, all from one single point of control.</p>
<h2>8. View status and configure hosts</h2>
<p>Start off by using Opsview Syncmaster to see which hosts are being monitored. From the Opsview Syncmaster interface you can see detailed summary information about your monitored systems, such as current status, which slave servers are configured for monitoring, if configurations are up to date or even the performance latency of the monitoring system. From here you can also directly access the configuration UI of each host.</p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/10/syncmaster-host-summary.jpg"><img class="aligncenter size-full wp-image-1468" title="Distributed Monitoring - Opsview Syncmaster" src="http://labs.opsview.com/wp-content/uploads/2011/10/syncmaster-host-summary.jpg" alt="syncmaster-host-summary" width="500" height="204" /></a></p>
<h2>9. Easily move objects</h2>
<p>Opsview Syncmaster enables you to easily move objects between environments, whether on-premise, off-site, or virtualised, by dragging and dropping from one environment to another, e.g. drag a slave between slave clusters or drag hosts between host groups.</p>
<h2>10. Synchronise objects between servers and safely deploy</h2>
<p>One of the key strengths of Opsview Syncmaster is the ability to synchronise objects between servers. You can synchronise one or multiple objects, either by using an existing profile or by creating a new one. For example you may have created a new user and want to synchronise the user across all systems or to migrate an application in a test environment across to production. Simply select the source system and the target system and decide which configuration object(s) you want to synchronise.  Opsview Syncmaster then safely migrates the chosen settings between environments with just a click of a mouse.</p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/10/sync1.jpg"><img class="aligncenter size-full wp-image-1476" title="Distributed Monitoring - Synchronise Objects in Opsview Syncmaster" src="http://labs.opsview.com/wp-content/uploads/2011/10/sync1.jpg" alt="Opsview Distributed Monitoring - Syncronise Objects" width="495" height="421" /></a></p>
<p>Find out more about distributed monitoring with Opsview Enterprise edition – check out our <a title="Opsview Enterprise Live Demo" href="http://www.opsview.com/products/online-demo">Live Demo.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://labs.opsview.com/2011/10/10-steps-to-success-with-your-distributed-monitoring/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 Ways to Tackle Cloud Monitoring with Opsview</title>
		<link>http://labs.opsview.com/2011/10/5-ways-to-tackle-cloud-monitoring-with-opsview/</link>
		<comments>http://labs.opsview.com/2011/10/5-ways-to-tackle-cloud-monitoring-with-opsview/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 11:33:37 +0000</pubDate>
		<dc:creator>brian.king</dc:creator>
				<category><![CDATA[Opsview]]></category>
		<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[business systems]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[cloud monitoring]]></category>
		<category><![CDATA[cloud service]]></category>
		<category><![CDATA[IaaS]]></category>
		<category><![CDATA[Paas]]></category>
		<category><![CDATA[SaaS]]></category>

		<guid isPermaLink="false">http://labs.opsview.com/?p=1383</guid>
		<description><![CDATA[
			
				
			
		There are just as many explanations to cloud services these days as there are cloud service providers.  Regardless of the definition and the type of service (IaaS, SaaS, PaaS), the end result for IT is the same: infrastructure is extended off-premise.  IT departments have another functionality requirement for their monitoring system as enterprises [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F10%2F5-ways-to-tackle-cloud-monitoring-with-opsview%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F10%2F5-ways-to-tackle-cloud-monitoring-with-opsview%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div><p><a href="http://labs.opsview.com/wp-content/uploads/2011/09/cloud-computing_digitizor-300x225.jpg"><img class="size-full wp-image-1162 alignleft" title="Cloud Monitoring | Opsview" src="http://labs.opsview.com/wp-content/uploads/2011/09/cloud-computing_digitizor-300x225.jpg" alt="cloud computing" width="180" height="135" /></a>There are just as many explanations to cloud services these days as there are cloud service providers.  Regardless of the definition and the type of service (IaaS, SaaS, PaaS), the end result for IT is the same: infrastructure is extended off-premise.  IT departments have another functionality requirement for their monitoring system as enterprises expand and resources become more dynamic.</p>
<p>As the uptake of cloud services increases, so does the pressure on IT to manage them. In a recent <a title="Survey Findings" href="http://www.opsview.com/company/news-room/press-releases/2011-09-26/over-two-thirds-it-directors-worried-about-cloud-sprawl">survey</a> carried out by Opsview, 67% of organisations were concerned about the threat of cloud-sprawl. Fortunately, Opsview is ready to tackle any challenges presented by <a href="http://www.opsview.com/learn/cloud-monitoring">cloud monitoring.</a><span id="more-1383"></span></p>
<p>Here are five ways to use Opsview in conjunction with cloud services.</p>
<h2>Tune Applications, Reduce Costs</h2>
<p>Servers in the cloud should be monitored just like servers on-site, but evaluated in finer detail especially since elastic computing provides a tuning opportunity. System resources can be added or reduced based on application needs.</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2011/10/OpsviewGraphingBlog.png"><img class="alignright size-full wp-image-1430" title="Cloud Monitoring | Opsview Graphs" src="http://labs.opsview.com/wp-content/uploads/2011/10/OpsviewGraphingBlog.png" alt="" width="232" height="99" /></a>Opsview graphs present historical data of monitored services to allow administrators to confidently tune dynamic resources. Certainly a powerful benefit, but reducing resources to lower costs shouldn’t compromise stability. Keeping a close eye on resource statistics allow administrators to understand events and distinguish between anomalies and patterns.</p>
<p>Performance trending for applications is paramount for cloud servers since the ability to turn down resources like RAM and CPU actually affects the bottom line with providers charging on a usage basis.</p>
<h2>Extend any component into the cloud</h2>
<p>Enterprises look to the cloud to position business critical applications, taking advantage of top tiered data centres and ease of availability to employees traveling around the world. Isn’t your monitoring system a business critical application? With Opsview’s distributed architecture, any component can be extended into the cloud. On-site slave servers can report to a master in the cloud. Slave servers can be placed in each cloud environment, serving as a backup to other slaves spread across cloud regions or different providers.  The Opsview master could also stay on-site and remotely monitor cloud environments.</p>
<p>The ease of building in the cloud doesn’t limit how Opsview works, rather it extends its ability to monitor the “big picture” for any enterprise.</p>
<h2>Provide Limitied Access</h2>
<p><a href="http://labs.opsview.com/wp-content/uploads/2011/10/monitoring-cloud-servers2.jpg"><img class="alignleft size-full wp-image-1400" title="cloud server monitoring" src="http://labs.opsview.com/wp-content/uploads/2011/10/monitoring-cloud-servers2.jpg" alt="cloud server monitoring" width="213" height="146" /></a>With so many cloud offerings, the decision on which provider to use can be time consuming. Sometimes for business reasons (fortunate or not) the decision is made for us and we have to “make it work.”  A business unit may strongly suggest their servers be placed with a recognized provider while another division looks at the cheapest solution on the market.</p>
<p>As a result, each cloud environment may have certain users interested in only those servers. Use Opsview to give them visibility to resources and performance metrics without showing them all servers monitored. Create a Role that limits them to the Host Group for servers hosted by their cloud provider of choice. Opsview can continue to be the centralised solution to monitoring and alerting for servers in the cloud, making proprietary add-on cloud offerings unnecessary.</p>
<h2>Use libcloud to Enhance Opsview Checks</h2>
<p>Many cloud providers have an API as a value add to their services to help administrators manage multiple instances. <a href="http://libcloud.apache.org/">Libcloud </a>from Apache provides a way to interface multiple providers, giving IT a common platform to develop checks that span environments. Opsview includes <a title="Service Provider Checks" href="http://www.opsview.com/learn/cloud-monitoring">Service Provider checks</a> for Amazon and Slicehost, with more on the way with future updates, and easily incorporates custom scripts and checks seamlessly as administrators discover important metrics to monitor with cloud servers.  Since cloud interfaces allow for quick provisioning of instances but not a detailed audit trail of who created the server, create a check and alert when new instances are added so everyone on the team is aware of additional servers in the environment.</p>
<p>How much impact is the cloud having on your business? We&#8217;d love to hear your thoughts&#8230;</p>
<div style="border: 1px solid #ccc; background-color: #f5f5f5; padding: 8px;">
<h3>About the Author</h3>
<p>Paul Fleetwood started as a Unix Administrator in 1999. He has rolled out Opsview at small and large companies including a distributed installation that monitored 600 hosts and 5000 services. Paul currently works for an award-winning custom content publisher in North Carolina and spends all his free time with his wife and three very active sons.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://labs.opsview.com/2011/10/5-ways-to-tackle-cloud-monitoring-with-opsview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 Steps to Organising Your Server Monitoring with Attributes</title>
		<link>http://labs.opsview.com/2011/10/5-steps-to-organising-your-server-monitoring-with-attributes/</link>
		<comments>http://labs.opsview.com/2011/10/5-steps-to-organising-your-server-monitoring-with-attributes/#comments</comments>
		<pubDate>Mon, 10 Oct 2011 11:13:55 +0000</pubDate>
		<dc:creator>brian.king</dc:creator>
				<category><![CDATA[Opsview]]></category>
		<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[business systems]]></category>
		<category><![CDATA[attributes]]></category>
		<category><![CDATA[ethernet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[server monitoring]]></category>
		<category><![CDATA[servers]]></category>

		<guid isPermaLink="false">http://labs.opsview.com/?p=1278</guid>
		<description><![CDATA[
			
				
			
		It is often the case that hosts on your network will be similar, but differ in subtle ways depending on their exact purpose.  For example some servers may have two internal disks whilst some may have just one, and some servers may have multiple ethernet cards where others do not.  Opsview provides attributes [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F10%2F5-steps-to-organising-your-server-monitoring-with-attributes%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F10%2F5-steps-to-organising-your-server-monitoring-with-attributes%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div><p><a href="http://labs.opsview.com/wp-content/uploads/2011/10/meta_data.jpg"><img class="alignleft size-full wp-image-1328" title="Gear Lever" src="http://labs.opsview.com/wp-content/uploads/2011/10/meta_data.jpg" alt="server monitoring | Opsview" width="128" height="157" /></a>It is often the case that hosts on your network will be similar, but differ in subtle ways depending on their exact purpose.  For example some servers may have two internal disks whilst some may have just one, and some servers may have multiple ethernet cards where others do not.  Opsview provides <em>attributes</em> to deal with situations like this, as they are a way of associating metadata with a host &#8211; here is an example of how to configure Opsview to use them.<span id="more-1278"></span></p>
<p>Let&#8217;s assume we have a Linux host that has three ethernet cards &#8211; <em>eth0</em>, <em>eth1</em> and <em>eth2</em>.  Rather than create three service checks which reference these interfaces explicitly, we&#8217;ll configure a single Interface Throughput check that will be duplicated for each network card that a host has.</p>
<p><strong>1. Create the attribute</strong></p>
<p>First we&#8217;ll create an attribute called &#8220;NIC&#8221; so that we can store this metadata against the host.  Go to <em>Advanced -&gt; Attributes -&gt; Actions -&gt; Create new attribute</em> and enter a name of <em>NIC</em>, then save it.</p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/10/new_attribute1.png"><img class="aligncenter size-full wp-image-1276" title="new_attribute" src="http://labs.opsview.com/wp-content/uploads/2011/10/new_attribute1.png" alt="Server monitoring | new_attribute" width="510" height="249" /></a></p>
<p><strong>2. Define the attribute for one or more hosts</strong></p>
<p>Now that the attribute is known to the system, it can be applied to some hosts.  In this example, we edit the Linux host, and under the &#8220;Attributes&#8221; tab, add three entries all with a label of <em>NIC</em>, with the values <em>eth0</em>, <em>eth1</em> and <em>eth2</em>.</p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/10/add-attribute-to-host.png"><img class="aligncenter size-full wp-image-1277" title="add-attribute-to-host" src="http://labs.opsview.com/wp-content/uploads/2011/10/add-attribute-to-host.png" alt="server monitoring | add-attribute-host" width="627" height="188" /></a></p>
<p><strong>3.  Create a service check which uses the attribute</strong></p>
<p>Now that we have some metadata about the host, we can create a service check that uses it.  The screenshot shows the configured service check &#8211; the &#8220;Multiple&#8221; prefix indicates that we have selected &#8220;NIC&#8221; as the value for <em>Create Multiple Services</em> under the Advanced section of the check configuration, and so at reload time Opsview will create three service checks, replacing <em>%NIC%</em> with each of the three values.</p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/10/check-using-an-attribute.png"><img class="aligncenter size-full wp-image-1303" title="check-using-an-attribute" src="http://labs.opsview.com/wp-content/uploads/2011/10/check-using-an-attribute.png" alt="server monitoring | check attribute" width="646" height="80" /></a></p>
<p><strong>4.  Apply the new check to the host</strong></p>
<p>The check can either be applied directly on the <em>Monitors</em> tab of the host configuration, or using a <em>Host Template</em>.  Once the check has been applied, reload Opsview and navigate to the host status.  You should now see three services, one for each ethernet card that you have defined for the host.</p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/10/multiple-services-from-attribute.png"><img class="aligncenter size-full wp-image-1279" title="multiple-services-from-attribute" src="http://labs.opsview.com/wp-content/uploads/2011/10/multiple-services-from-attribute.png" alt="server monitoring | multiple-services-from-attributes" width="564" height="158" /></a></p>
<p><strong>5. Apply to more hosts</strong></p>
<p>This new service check can now be applied to any number of hosts you wish, and you simply need to define as many <em>NIC</em> attributes as you need for that particular host.</p>
<p>This example really just scratches the surface of how host attributes can help you better organise your <a href="http://www.opsview.com/learn/server-monitoring">server monitoring</a>. You can find out more about attributes on our <a title="Opsview Attributes" href="http://docs.opsview.com/doku.php?id=opsview-community:attribute&amp;s[]=attributes#">documentation site</a> and try it out for yourself by downloading <a href="http://www.opsview.com/downloads/download-opsview-community">Opsview Community Edition.</a></p>
<div style="border: 1px solid #ccc; background-color: #f5f5f5; padding: 8px;">
<h3>About the Author</h3>
<p>Neil Ferguson is Technical Manager at Opsview. Neil has been working with Opsview since the project began in 2006 and has carried out most of the largest installations in the UK, US and Europe.  Neil has a wealth of knowledge of working with network infrastructure and is also an experienced Linux/UNIX sysadmin.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://labs.opsview.com/2011/10/5-steps-to-organising-your-server-monitoring-with-attributes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

