<?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; Nagios</title>
	<atom:link href="http://labs.opsview.com/nagios/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>Monitoring Apache Solr with Opsview</title>
		<link>http://labs.opsview.com/2011/12/monitoring-apache-solr-with-opsview/</link>
		<comments>http://labs.opsview.com/2011/12/monitoring-apache-solr-with-opsview/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 14:58:29 +0000</pubDate>
		<dc:creator>rbramley</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[DevOps]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Grails]]></category>
		<category><![CDATA[Hudson]]></category>
		<category><![CDATA[JMX]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[System Management]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[agentless checks]]></category>
		<category><![CDATA[apache solr]]></category>
		<category><![CDATA[Lucene]]></category>
		<category><![CDATA[nrpe]]></category>
		<category><![CDATA[Opsview]]></category>

		<guid isPermaLink="false">http://labs.opsview.com/?p=2012</guid>
		<description><![CDATA[
			
				
			
		Apache Solr is an open source enterprise search service from the Lucene project. Solr is written in Java and runs as a standalone full-text search server within a servlet container such as Tomcat.
Like any service or component in your architecture, you’ll want to monitor it to ensure that it’s available and gather performance data to [...]]]></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%2Fmonitoring-apache-solr-with-opsview%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F12%2Fmonitoring-apache-solr-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/12/solr.jpg"><img class="alignleft size-full wp-image-2027" title="solr" src="http://labs.opsview.com/wp-content/uploads/2011/12/solr.jpg" alt="monitoring Apache Solr" width="150" height="83" /></a><a title="Apache Solr" href="http://lucene.apache.org/solr/">Apache Solr</a> is an open source enterprise search service from the Lucene project. Solr is written in Java and runs as a standalone full-text search server within a servlet container such as Tomcat.</p>
<p>Like any service or component in your architecture, you’ll want to monitor it to ensure that it’s available and gather performance data to help with tuning.</p>
<p>In this post, we’ll look at how we can monitor Solr, what performance metrics we might want to gather and how we can easily achieve this with Opsview.</p>
<p><span id="more-2012"></span></p>
<div style="border: 1px solid #ccc; background-color: #f5f5f5; padding: 8px;">
<h2>Requirements</h2>
<ul>
<li>Installed version of Opsview <a title="Download Opsview" href="http://www.opsview.com/downloads">[download]</a></li>
<li>Apache Solr Custom Plugin <a title="Download Apache Solr Custom Plugin" href="https://github.com/rbramley/Opsview-solr-checks">[download]</a></li>
</ul>
</div>
<p><br /></p>
<h2>A check list for service checks</h2>
<p>Solr is built on Lucene so follows the same layout, an index contains documents that are comprised of fields. As part of the search service value add over Lucene, Solr provides a number of useful ways of obtaining health status / monitoring metrics:</p>
<ol>
<li>Health-check status using the <em>/admin/ping</em> handler</li>
<li>The admin statistics page <em>/admin/stats.jsp</em> (XML styled with XSL)</li>
<li><a href="http://wiki.apache.org/solr/SolrJmx">JMX MBeans</a></li>
</ol>
<p>The list of applicable checks could be defined by whether it is a health check or a data gathering check – but this would lead to a lot of overlap. Instead the list is divided into the checks that can be performed remotely (without an installed agent on the server) and those that are best performed locally to the Solr server.</p>
<h2>Remote (agent-less) checks</h2>
<p>What should we look for over the network?</p>
<p>Firstly we can have a host-level check which may perform a network level ping. Next we can check TCP connectivity to the servlet container port and then make an HTTP GET request to the Solr ‘front page’ and check for a known string (e.g. Welcome to Solr).</p>
<p>Now we’ve made it up to the application layer so can start to perform Solr specific checks.</p>
<p>Items to monitor may include (delete as applicable):</p>
<ol>
<li>Ping status</li>
<li>Number of docs</li>
<li>Number of queries / queries per second</li>
<li>Average response time</li>
<li>Number of updates</li>
<li>Cache hit ratios</li>
<li>Replication status</li>
<li>Synthetic queries</li>
</ol>
<h2>Agent-based checks</h2>
<p>Installing an <a title="Opsview Agents" href="http://www.opsview.com/downloads/opsview-agents">Opsview agent</a> on the Solr server means we can run additional checks over NRPE (Nagios Remote Plugin Executor). This could be operating system level checks such as memory/disk utilisation or CPU load, or the following:</p>
<ol>
<li>Java servlet container process is running</li>
<li>JMX checks e.g. heap memory or custom MBeans</li>
<li>File age</li>
<li>Log parsing for exceptions</li>
</ol>
<p>The Solr wiki describes how to configure JMX support: <a title="Configure JMX support" href="http://wiki.apache.org/solr/SolrJmx">http://wiki.apache.org/solr/SolrJmx.</a></p>
<h2>Opsview configuration</h2>
<p>For the rest of this article you&#8217;ll need to have <a title="Download Opsview" href="http://www.opsview.com/downloads">Opsview</a> installed (or the <a title="Opsview VMWare Appliance" href="http://www.opsview.com/downloads/opsview-3-vmware-virtual-appliance">Opsview VMWare appliance</a>) and have completed the <a title="Opsview Quick Start Guide" href="http://docs.opsview.com/doku.php?id=opsview3.14:quickstart">Quick Start.</a></p>
<h2>Solr-specific Plugin</h2>
<p>Install the Solr plugin at <a title="Opsview Solr Plugin" href="https://github.com/rbramley/Opsview-solr-checks">https://github.com/rbramley/Opsview-solr-checks</a> into /usr/local/nagios/libexec/</p>
<p>The check_solr plugin was developed using Perl, so that it could be contributed back to Opsview. It requires the CPAN XML::XPath module (sudo cpan -i XML::XPath).</p>
<p>The plugin includes usage instructions, check_solr -h which can also be viewed in Opsview by selecting the ‘Show Plugin Help‘ link beneath the Plugin drop down (see Figure 1). The -u option can be used to specify the URL path for multi-core set-ups.</p>
<h2>Service check setup</h2>
<p>Figure 1 gives an example of a service check configuration.</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2011/12/figure_1_with_help.png"><img class="aligncenter size-full wp-image-2013" title="figure_1_with_help" src="http://labs.opsview.com/wp-content/uploads/2011/12/figure_1_with_help.png" alt="Opsview service check configuration." width="542" height="699" /></a></p>
<p>Figure 2 shows the <em>agentless</em> service check group with plugins and their arguments.</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2011/12/solr-agentless-monitoring1.png"><img class="aligncenter size-full wp-image-2015" title="solr-agentless-monitoring" src="http://labs.opsview.com/wp-content/uploads/2011/12/solr-agentless-monitoring1.png" alt="solr agentless monitoring" width="500" height="252" /></a></p>
<h2>Host configuration</h2>
<p>Figure 3 shows a simplistic host setup with a ping check.</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2011/12/set_up_host1.png"><img class="aligncenter size-full wp-image-2017" title="set_up_host" src="http://labs.opsview.com/wp-content/uploads/2011/12/set_up_host1.png" alt="set up host" width="500" height="596" /></a></p>
<p>Figure 4 is an extract from the <strong>Monitors</strong> tab, where we select the checks we want performed for the current host.</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2011/12/monitors.png"><img class="aligncenter size-full wp-image-2018" title="monitors" src="http://labs.opsview.com/wp-content/uploads/2011/12/monitors.png" alt="monitors" width="288" height="226" /></a></p>
<h2>Viewing output</h2>
<p>The check results shown in Figure 5 are visible by navigating through the host group hierarchy.</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2011/12/viewing-output.png"><img class="aligncenter size-full wp-image-2019" title="viewing-output" src="http://labs.opsview.com/wp-content/uploads/2011/12/viewing-output.png" alt="" width="500" height="192" /></a></p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2011/12/viewing-output.png"></a>If you click on the graph icon of <em>Solr Cache Hit Ratios</em> this will drill down onto the graph shown in Figure 6.</p>
<p>Clicking on the graph icon for <em>Solr Avg Response Time – standard</em> will take you to the graphs in Figure 7.</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2011/12/cache_hit_ratios.png"><img class="aligncenter size-full wp-image-2021" title="cache_hit_ratios" src="http://labs.opsview.com/wp-content/uploads/2011/12/cache_hit_ratios.png" alt="cache hit ratios" width="500" height="209" /></a><a href="http://labs.opsview.com/wp-content/uploads/2011/12/avg_req_time.png"><img class="aligncenter size-full wp-image-2022" title="avg_req_time" src="http://labs.opsview.com/wp-content/uploads/2011/12/avg_req_time.png" alt="average request time" width="500" height="449" /></a></p>
<p>If you shutdown Solr, then the check results will start to turn critical and show in red as per Figure 8.</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2011/12/post-shutdown-alert.png"><img class="aligncenter size-full wp-image-2023" title="post-shutdown-alert" src="http://labs.opsview.com/wp-content/uploads/2011/12/post-shutdown-alert.png" alt="post shoutdown alert" width="500" height="197" /></a></p>
<h2>Alternatives</h2>
<p>There are a few other plugins available for monitoring Solr from Opsview, depending on your needs:</p>
<ul>
<li><a href="http://code.google.com/p/nagios-plugins-shamil/">http://code.google.com/p/nagios-plugins-shamil</a> – provides ping, replication status and num docs</li>
<li><a href="http://code.google.com/p/solr-nagios-check">http://code.google.com/p/solr-nagios-check</a> – provides QPS, response time and num docs</li>
</ul>
<p>Also, chapter 8 of the recently published <a href="http://www.amazon.co.uk/gp/product/1849516065/ref=as_li_ss_tl?ie=UTF8&amp;tag=leanjavaengi-21&amp;linkCode=as2&amp;camp=1634&amp;creative=19450&amp;creativeASIN=1849516065">Apache Solr 3 Enterprise Search Server</a><img src="http://www.assoc-amazon.co.uk/e/ir?t=leanjavaengi-21&amp;l=as2&amp;o=2&amp;a=1849516065" border="0" alt="" width="1" height="1" /> book includes a section on Monitoring Solr Performance.</p>
<h2>Summary</h2>
<p>Using <em>check_solr</em> in conjunction with <a title="Opsview Open Source Monitoring" href="http://www.opsview.com">Opsview</a> allows you to  ensure that your Solr server is available and provides you with metrics  that can help you tune your Solr configuration.</p>
<p>This can be complemented  with additional agent-based operating system and JMX checks to give you  a full picture view.</p>
<div>
<div style="border: 1px solid #ccc; background-color: #f5f5f5; padding: 8px;">
<h3>About the Author</h3>
<p>Robin Bramley is a hands-on Technical Manager / Lead Architect at an Open Source software &amp; services company who has spent the majority of the last decade working with Java, mobile &amp; Open Source across sectors including Financial Services &amp; High Growth / start-ups. You can view Robin&#8217;s personal blog at <a href="http://leanjavaengineering.wordpress.com/">www.leanjavaengineering.com</a></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>
]]></content:encoded>
			<wfw:commentRss>http://labs.opsview.com/2011/12/monitoring-apache-solr-with-opsview/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>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>Monitoring SNMP Traps from ESX hosts in Opsview (Part 2)</title>
		<link>http://labs.opsview.com/2011/10/monitoring-snmp-traps-from-esx-hosts-in-opsview-part-2/</link>
		<comments>http://labs.opsview.com/2011/10/monitoring-snmp-traps-from-esx-hosts-in-opsview-part-2/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 13:09:11 +0000</pubDate>
		<dc:creator>brian.king</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Opsview]]></category>
		<category><![CDATA[SNMP]]></category>
		<category><![CDATA[System Management]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ESX monitoring]]></category>
		<category><![CDATA[ESX4]]></category>
		<category><![CDATA[SNMP traps]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://labs.opsview.com/?p=1209</guid>
		<description><![CDATA[
			
				
			
		So you followed the steps in the previous post about enabling SNMP traps on ESX4. Now you probably want to pick those up by something useful. Opsview can be configured to handle the traps quite easily. Just follow the steps below and your server will be listening to those pesky traps. After that, you’ll need [...]]]></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%2Fmonitoring-snmp-traps-from-esx-hosts-in-opsview-part-2%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F10%2Fmonitoring-snmp-traps-from-esx-hosts-in-opsview-part-2%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/little_nipper_mouse_trap.jpg"><img class="alignleft size-full wp-image-1240" title="little_nipper_mouse_trap" src="http://labs.opsview.com/wp-content/uploads/2011/09/little_nipper_mouse_trap.jpg" alt="monitoring SNMP | Opsview" width="164" height="103" /></a>So you followed the steps in the <a href="http://labs.opsview.com/2011/09/monitoring-snmp-traps-from-esx-hosts-in-opsview-part-1">previous post</a> about enabling SNMP traps on ESX4. Now you probably want to pick those up by something useful. <a href="http://www.opsview.com">Opsview</a> can be configured to handle the traps quite easily. Just follow the steps below and your server will be listening to those pesky traps. After that, you’ll need to write a couple of service check handlers in Opsview to make sense of the traps. More on that later. This post is just about picking them up.<span id="more-1209"></span></p>
<p>This was done on an Ubuntu 10.04 LTS server. The steps are probably the same on Debian systems.</p>
<p>1. Make sure you have snmpd installed. If you don’t, install it! Easy as pie.</p>
<pre>aptitude install snmpd</pre>
<p>2. Edit /etc/snmp/snmpd.conf and uncomment “master agentx”.</p>
<p>3. Edit /etc/default/snmpd (or /etc/snmp/snmptrapd.conf on newer systems):</p>
<pre>TRAPDRUN=yes
TRAPDOPTS='-t -m ALL -M /usr/share/snmp/mibs:/usr/local/nagios/snmp/load -p /var/run/snmptrapd.pid'
SNMPDOPTS='-u nagios -Lsd -Lf /dev/null -p/var/run/snmpd.pid'</pre>
<p>4. Edit /etc/snmp/snmptrapd.conf and add the following lines:</p>
<pre>traphandle default /usr/local/nagios/bin/snmptrap2nagios
disableAuthorization yes</pre>
<p>Please note that this will make the server listen to and handle any SNMP traps it receives, regardless of source.</p>
<p>5. Restart snmpd and snmptrapd:</p>
<pre>/etc/init.d/snmpd restart</pre>
<p>6. Edit the /etc/sudoers file to allow Opsview to restart snmpd and snmptrapd:</p>
<pre>nagios ALL=NOPASSWD:/usr/local/nagios/bin/snmpd reload</pre>
<p>7. Test the permissions:</p>
<pre>su - nagios
sudo /usr/local/nagios/bin/snmpd reload</pre>
<p>8. Exit back to the root user and restart opsview-web:</p>
<pre>/etc/init.d/opsview-web restart</pre>
<p>That’s all. Opsview should now be able to handle traps sent to it.</p>
<div style="border: 1px solid #ccc; background-color: #f5f5f5; padding: 8px;">
<h3>About the Author</h3>
<p>Marcus Vejneke holds a bachelor’s degree in computer science and engineering and has worked in IT for almost 14 years. Marcus lives in Sweden and works as Sysadmin. Visit Marcus&#8217;s <a href="http://onlyblueatwork.wordpress.com/author/onlyblueatwork/">blog.</a></p>
<h3>Legal Disclaimer</h3>
<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>
]]></content:encoded>
			<wfw:commentRss>http://labs.opsview.com/2011/10/monitoring-snmp-traps-from-esx-hosts-in-opsview-part-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Monitoring SNMP Traps from ESX hosts in Opsview (Part 1)</title>
		<link>http://labs.opsview.com/2011/10/monitoring-snmp-traps-from-esx-hosts-in-opsview-part-1/</link>
		<comments>http://labs.opsview.com/2011/10/monitoring-snmp-traps-from-esx-hosts-in-opsview-part-1/#comments</comments>
		<pubDate>Mon, 03 Oct 2011 09:46:11 +0000</pubDate>
		<dc:creator>brian.king</dc:creator>
				<category><![CDATA[ESX]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Opsview]]></category>
		<category><![CDATA[SNMP]]></category>
		<category><![CDATA[System Management]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[virtua]]></category>

		<guid isPermaLink="false">http://labs.opsview.com/?p=1188</guid>
		<description><![CDATA[
			
				
			
		This post outlines how to get SNMP traps from ESX hosts and monitor them in Opsview. The first part deals with configuring SNMP traps to get them working correctly with ESX hosts, part 2 tells you how to monitor them with Opsview.
The following steps worked on ESX 4.1. Depending on versions you may have different [...]]]></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%2Fmonitoring-snmp-traps-from-esx-hosts-in-opsview-part-1%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F10%2Fmonitoring-snmp-traps-from-esx-hosts-in-opsview-part-1%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/425_mouse_trap.jpg"><img class="alignleft size-full wp-image-1237" title="425_mouse_trap" src="http://labs.opsview.com/wp-content/uploads/2011/09/425_mouse_trap.jpg" alt="monitoring SNMP | Opsview" width="184" height="122" /></a>This post outlines how to get SNMP traps from ESX hosts and monitor them in <a href="http://www.opsview.com">Opsview</a>. The first part deals with configuring SNMP traps to get them working correctly with ESX hosts, part 2 tells you how to monitor them with Opsview.</p>
<p>The following steps worked on ESX 4.1. Depending on versions you may have different results. For simplicity, I used 10.0.0.1 as IP for my ESX host, and 10.0.0.99 for my SNMP trap handler.<span id="more-1188"></span></p>
<p>1. Download and install the <a title="Download vSphere CLI" href="http://ops.vu/mPebjb"> vSphere CLI</a>. Keep in mind that you need an account to access it. Check BugMeNot if you’re not in the mood for registering.</p>
<p>The vSphere CLI will give you a host of useful tools to control your ESX environment with without having to resport to SSH or console access.</p>
<p>2. Check if you already have an active SNMP agent on your host with the following command:</p>
<pre>vicfg-snmp --show --server 10.0.0.1</pre>
<p>3. If no traps are configured (why would you even be reading this if they were?). Add your SNMP target like this (By default, vicfg-snmp.pl is located in the C:\Program Files\VMware\VMware vSphere CLI\bin directory):</p>
<pre>vicfg-snmp.pl --server 10.0.0.1 --username root --password qwerty1234 -t 10.0.0.99@162/communitystring</pre>
<p>4. Enable the SNMP service:</p>
<pre>vicfg-snmp.pl --server 10.0.0.1 --username root --password qwerty1234 --enable</pre>
<p>5. Check that you have a working configuration by using the –show command like this:</p>
<pre>vicfg-snmp.pl --server 10.0.0.1 --username root --password qwerty1234 --show</pre>
<p>Your output should look something like this:</p>
<pre>Current SNMP agent settings: Enabled : 1 UDP port : 162 Communities : communitystring Notification targets : 10.0.0.99@162/communitystring</pre>
<p>6. If you’d like, you can send a test trap to your target to make sure you’re on the right path. If you’re just testing, you can send them to your own client PC. I use the freeware application <a title="SNMP Trap Watcher" href="http://ops.vu/oMYlZx">SNMP Trap Watcher</a> for this.</p>
<p>Sending the following command through the vSphere CLI will generate a Warm Start trap:</p>
<pre>vicfg-snmp.pl --server 10.0.0.1 --username root --password qwerty1234 --test</pre>
<p>You should receive a report in your trap watcher:</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2011/09/trap-watcher1.png"><img class="aligncenter size-full wp-image-1195" title="trap-watcher" src="http://labs.opsview.com/wp-content/uploads/2011/09/trap-watcher1.png" alt="" width="401" height="174" /></a></p>
<p>If you’re not getting anything, chances are the ESX firewall isn’t allowing SNMP traffic. I had to allow this using the vSphere Client (connect to the ESX server, not a vCenter host). Click the tab “Configuration”, and select “Security Profile” in the menu on your left. Click “Properties” and enable SNMP:</p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/09/remote-access.jpg"><img class="size-full wp-image-1190 aligncenter" title="remote-access" src="http://labs.opsview.com/wp-content/uploads/2011/09/remote-access.jpg" alt="" width="518" height="374" /></a></p>
<p>The outgoing port will be the one you configured when you added a trap handler in step 4.</p>
<p>That’s it. You have an ESX host sending SNMP traps properly. Now all you need to do is get your monitoring software to understand what it’s saying. We’ll cover that in the <a href="http://labs.opsview.com/2011/10/monitoring-snmp-traps-from-esx-hosts-in-opsview-part-2/">next post.</a></p>
<div style="border: 1px solid #ccc; background-color: #f5f5f5; padding: 8px;">
<h3>About the Author</h3>
<p>Marcus Vejneke holds a bachelor’s degree in computer science and engineering and has worked in IT for almost 14 years. Marcus lives in Sweden and works as Sysadmin. Visit Marcus&#8217;s <a href="http://onlyblueatwork.wordpress.com/author/onlyblueatwork/">blog.</a></p>
<h3>Legal Disclaimer</h3>
<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>
]]></content:encoded>
			<wfw:commentRss>http://labs.opsview.com/2011/10/monitoring-snmp-traps-from-esx-hosts-in-opsview-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>6 ways to get the most out of Opsview Alerts</title>
		<link>http://labs.opsview.com/2011/09/how-to-get-the-most-out-of-opsview-alerts/</link>
		<comments>http://labs.opsview.com/2011/09/how-to-get-the-most-out-of-opsview-alerts/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 12:10:05 +0000</pubDate>
		<dc:creator>brian.king</dc:creator>
				<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Opsview]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[distributed monitoring]]></category>
		<category><![CDATA[Host groups]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[monitoring alerts]]></category>
		<category><![CDATA[service groups]]></category>
		<category><![CDATA[system administrators]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://labs.opsview.com/?p=1093</guid>
		<description><![CDATA[
			
				
			
		Alerts happen. They are the reason why monitoring applications were created: to alert us when servers need attention. The difference between an effective network monitoring system and an annoying one is a fine line between information and noise. Alerts should be descriptive and prompt an administrative action, not elicit a huff of frustration.  Here [...]]]></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%2F09%2Fhow-to-get-the-most-out-of-opsview-alerts%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F09%2Fhow-to-get-the-most-out-of-opsview-alerts%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div><p><strong><a href="http://labs.opsview.com/wp-content/uploads/2011/09/alert120px.png"><img class="alignleft size-full wp-image-1125" style="margin-bottom: 8px; margin-right: 10px;" title="alert120px" src="http://labs.opsview.com/wp-content/uploads/2011/09/alert120px.png" alt="" width="120" height="120" /></a></strong>Alerts happen. They are the reason why monitoring applications were created: to alert us when servers need attention. The difference between an effective <a href="http://www.opsview.com/learn/network-monitoring">network monitoring</a> system and an annoying one is a fine line between information and noise. Alerts should be descriptive and prompt an administrative action, not elicit a huff of frustration.  Here are a few ways to keep your Opsview installation (and you) effective and relevant in your company.<span id="more-1093"></span></p>
<h2>Use a Smartphone</h2>
<p>A smartphone should be a tool on every system administrator’s bat belt. The more mobile you are, the more time you spend away from the Operations Center. Why not take Opsview with you? With <a href="http://www.opsview.com/products/enterprise-modules/sms-messaging">Opsview Mobile for Android</a>, you can do just that. There is an ambitious roadmap to the mobile app including support for other devices, but if you have an Android there is no reason to wait getting it installed.</p>
<p>The app handles basic needs very well, including a real-time overview of all hosts and services and alert acknowledgement. If you are away from the office (like at the beach!) and get an alert on your phone, acknowledge it and then make a call to your backup (hopefully you have one!) who can begin corrective action. If you don’t have a backup, you at least have a heads-up to an issue at work and can go back to sipping a drink from a coconut.</p>
<p style="text-align: center;"><a href="http://www.opsview.com/products/opsview-mobile"><img class="aligncenter" src="http://www.opsview.com/sites/default/files/images/bannerOpsviewMobile_released.png" alt="Opsview Mobile" width="600" height="361" /></a></p>
<h2>Use a Real Email Address</h2>
<p>Create an email address that can be dedicated to your mobile. For example, create a Gmail address and configure your smartphone for an audible notification on new messages to that address. Smartphone text messages don’t give you the entire story, only a few characters to let you know a host or service is having a problem. There may be more to it that is detailed in the Additional Information section of the alert. A disk utilization error of 95% may be something that can wait until you get back to your office to debug where as 100% would prompt you to boot your laptop to resolve as soon as possible. The only way to know is to have all the alert information in hand (literally).</p>
<h2>Modify Alert Templates</h2>
<p>The more information you put in the alert, the better chance you can delegate action. Modify the default alert templates to include more information that can help other people, such as a help desk, route tickets more effectively. Since Opsview has <a href="http://www.opsview.com/learn/opsview-for-nagios-users">Nagios</a> under the hood, all Nagios macros are available. (A complete macro list can be found on <a href="http://nagios.sourceforge.net/docs/3_0/macrolist.html">Sourceforge</a>.</p>
<p>An example would be inserting comments using the <a href="http://www.opsview.com/products/screenshots">Opsview UI</a> on a host group or individual host, then changing the template to include the macro output for $HOSTGROUPNOTES$ or $HOSTNOTES$. Comments could include where to route tickets or links to documents to solve common problems that first level support can handle. If the issue to too complex, level one support will know which direction to escalate the ticket. The default template is located in /usr/local/nagios/libexec/notifications/com.opsview.notificationmethods.email.tt.</p>
<p>It’s a good idea to keep a backup of any changes you make since the file will be overwritten with each Opsview upgrade.</p>
<h2>Set up Layered Email Profiles with Time Periods</h2>
<p>The rub with any <a href="http://www.opsview.com/learn/server-monitoring">server monitoring</a> system is no one wants a critical alert at three in the morning, but proper administration can’t be done without notifications. Administrators should embrace alerts, specifically warning alerts since they allow for proactive work to be done preventing critical alerts. That being said, no one wants a warning alert at three in the morning. Fortunately, each Contact in Opsview can have multiple Profiles which can have different layers of alerts. For your work email, create profiles for warning and critical to be sent 24&#215;7. For your Gmail that your phone accesses, create profiles for warning alerts 8&#215;5 and another profile for critical alerts 24&#215;7.  Be sure to name your profiles logically for easier administration, such as EmailPhoneWarning or EmailWorkCritical.</p>
<h2>Send Alerts to Host and Service Administrators</h2>
<p>An IT shop may have specific administrators, such as Windows or Linux admins. Windows administrators may not care to get alerts when Apache is down and Linux admins may not want to be woken up because a Windows server blue-screened.</p>
<p>Digging deeper into the Contact Profile, notifications can be set up for Host Groups and Service Groups. Configure each user to get alerts for their responsible services. Anytime someone gets an alert that they ignore because it is someone else’s responsibility, noise is created and alerts are assumed and disregarded, lowering the value of the entire monitoring system. If you want people to feel your pain, correct the issue and send out an email to work addresses that you were up all night dealing with your problem. It’s not a bad idea to show people that the system is working as it should, notifying only the responsible parties of critical issues (plus it gets you off the hook for coming in late the next morning).</p>
<h2>Test New Checks Before Enabling Notifications</h2>
<p>New checks are rolled out constantly in a changing environment. But new checks put immediately in production may produce false alarms that annoy other administrators and the help desk. Since Opsview includes built-in features to help monitor and trend check results, every addition should go through a testing period with notifications disabled. After a week, check the Service Graph to find the highest and lowest values to appropriately tune warning and critical thresholds.</p>
<p>Using the Alert Summary, you can determine if time periods should be used for a check. For example, a service may become unavailable during a nightly backup. The check_interval must remain the same, but checks need to be suspended for two hours each night while the backup occurs. You will be able to confidently tune the time period rather than make an uninformed guess at a black out range. Making accurate adjustments before a check “goes live” with notifications enabled greatly reduces unnecessary alerts and allows administrators to maintain faith in the system.</p>
<p>Find out more about <a href="http://www.opsview.com/products/enterprise-modules/sms-messaging">Opsview alerts.</a></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/09/how-to-get-the-most-out-of-opsview-alerts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 Easy Steps to Monitor Multi-Homed Hosts Using Opsview</title>
		<link>http://labs.opsview.com/2011/09/5-easy-steps-to-monitor-multi-homed-hosts-using-opsview/</link>
		<comments>http://labs.opsview.com/2011/09/5-easy-steps-to-monitor-multi-homed-hosts-using-opsview/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 12:32:33 +0000</pubDate>
		<dc:creator>tcallway</dc:creator>
				<category><![CDATA[MSPs]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Opsview]]></category>
		<category><![CDATA[SNMP]]></category>
		<category><![CDATA[System Management]]></category>
		<category><![CDATA[management network]]></category>
		<category><![CDATA[multi-homed monitoring]]></category>
		<category><![CDATA[network management]]></category>
		<category><![CDATA[network monitoring]]></category>
		<category><![CDATA[open source monitoring]]></category>
		<category><![CDATA[production network]]></category>

		<guid isPermaLink="false">http://labs.opsview.com/?p=1055</guid>
		<description><![CDATA[
			
				
			
		Over the last couple of years we have seen an increase in port-density on server-hardware and currently the quad-nic (4 port network interface card) seems to be the standard. These cards allow for some great features like bonding (on *nix) or nic-teaming (on Windows) where multiple interfaces are bundled together or setup as fail-overs. It [...]]]></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%2F09%2F5-easy-steps-to-monitor-multi-homed-hosts-using-opsview%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F09%2F5-easy-steps-to-monitor-multi-homed-hosts-using-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/Home.png"><img class="size-full wp-image-1082 alignleft" style="margin-bottom: 8px; margin-right: 10px;" title="Home" src="http://labs.opsview.com/wp-content/uploads/2011/09/Home.png" alt="" width="77" height="77" /></a>Over the last couple of years we have seen an increase in port-density on server-hardware and currently the quad-nic (4 port network interface card) seems to be the standard. These cards allow for some great features like bonding (on *nix) or nic-teaming (on Windows) where multiple interfaces are bundled together or setup as fail-overs. It also allows you to nicely split your networks into multiple segments like management and production with each network connected over dedicated NICs as shown below&#8230;</p>
<p style="text-align: center;"><span id="more-1055"></span> <a href="http://labs.opsview.com/wp-content/uploads/2011/09/multi_homing_network_ziggo.png"><img class="aligncenter size-full wp-image-1056" title="multi_homing_network_ziggo" src="http://labs.opsview.com/wp-content/uploads/2011/09/multi_homing_network_ziggo.png" alt="" width="500" /></a></p>
<p>However, this does pose the question which network should we use to monitor our hosts?</p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/09/multi_homed_image2-1.png"><img class="aligncenter size-full wp-image-1057" title="multi_homed_image2 (1)" src="http://labs.opsview.com/wp-content/uploads/2011/09/multi_homed_image2-1.png" alt="" width="500" /></a></p>
<p>As always we need to consider the users point of view so we need to monitor the services used by our customers using the production network (web-interfaces, SQL etc).</p>
<p>But we also need to monitor our management services (like ssh, NRPE etc).</p>
<p>Therefore, our objective is to come up with <a href="http://www.opsview.com/learn/network-monitoring">network monitoring</a> model to determine which service-checks will run over our production network and which will run over the management network.</p>
<h2>Prerequisites</h2>
<p>Ensure you have the following:</p>
<ul>
<li>1 x Opsview Master (or Slave) connected to both (or more) networks.</li>
</ul>
<h2>Step 1</h2>
<p>Create a monitoring model in which you divide your host into smaller chunks.</p>
<p>These chunks (or building blocks) represent the various parts of the system (e.g. hardware, network, operating system, applications and application interfaces).</p>
<p>Each chunk can then be assigned to either the management network or the production network.</p>
<p>Below is an example on how you can use these chunks to assign them to a network segment.</p>
<p style="text-align: center;"><a href="http://labs.opsview.com/wp-content/uploads/2011/09/multi-homed-monitoring-image3.png"><img class="aligncenter size-full wp-image-1058" title="multi-homed monitoring image3" src="http://labs.opsview.com/wp-content/uploads/2011/09/multi-homed-monitoring-image3.png" alt="" width="500" /></a></p>
<p>In this model we have defined that hardware, network, OS and applications (processes) are monitored through the management network (in general any check we use check_nrpe for).</p>
<p>Any check we run to confirm a service is reachable and usable (WWW, SQL etc) will be run over the production network (so we can confirm our customers can reach our services).</p>
<h2>Step 2</h2>
<p>Update the host to reflect the various addresses it has.</p>
<p>Using the Opsview WebUI go to the Configuration &gt; Hosts and select Action &gt; Create new host.</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2011/09/screenshot1_500px1.png"><img class="aligncenter size-full wp-image-1062" title="screenshot1_500px" src="http://labs.opsview.com/wp-content/uploads/2011/09/screenshot1_500px1.png" alt="" width="500" height="219" /></a></p>
<p>In the Other Hostnames/IP’s field we can add our other IP’s of FQDN’s (as shown also adding the primary IP is good practice) in a comma-separated list for each IP you wish to assign to this host.</p>
<p>Save the host (later on we will assign host-templates and service checks).</p>
<h2>Step 3</h2>
<p>Confirm from the commandline that you can reach your host using the addresses listed in the “Other Hostnames/IPs” by running one check for a management service and one for a production service.</p>
<pre>Check_nrpe –H primary-ip
Check_tcp –H secondary-ip –p 80 (for a webserver)</pre>
<h2>Step 4</h2>
<p>Set up the service checks.</p>
<p>Now to use the defined “Other Hostnames/IPs” we need to change some of our service-checks.</p>
<p>The easiest way is to clone a check you already use and give it a new name (e.g. SSH to SSH Management).</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2011/09/screenshot2_500px.png"><img class="aligncenter size-full wp-image-1063" title="screenshot2_500px" src="http://labs.opsview.com/wp-content/uploads/2011/09/screenshot2_500px.png" alt="" width="500" height="351" /></a></p>
<p>As you see from the arguments line, the check will run against the macro know as $HOSTADDRESS$ which is the equivalent of the “Primary Hostname/IP”.</p>
<p>To use the “Other Hostnames/IPs” we have to change this to the macro that represents the IP or Hostname we want.</p>
<p>Opsview will automatically place all entries for the “Other Hostnames/IPs” in the macro $ADDRESS1$, $ADDRESS2$ and so on.</p>
<p>In this case we want to use our Primary-IP which we also registered as the first “Other address” so it is stored in $ADDRESS1$. This allows us to change our check to have the following arguments:</p>
<p><a href="http://labs.opsview.com/wp-content/uploads/2011/09/screenshot3_500px.png"><img class="aligncenter size-full wp-image-1064" title="screenshot3_500px" src="http://labs.opsview.com/wp-content/uploads/2011/09/screenshot3_500px.png" alt="" width="500" height="353" /></a></p>
<p>Using the described method you can now create service-checks and based on your model assign them to the correct $ADDRESS$ value.</p>
<h2>Step 5</h2>
<p>Create new host-templates for the checks we created in Step 4 and assign them to your multi-homed host.</p>
<h2>Postscript</h2>
<p>The “Other Hostnames/IPs” is a very powerful feature in Opsview and there are many things you can do with this functionality (for instance creating inter-host dependencies).</p>
<p>But in case your Opsview slave is not allowed to access the production network due to firewall policies or security restrictions, not all is lost. If you have an Opsview slave in the production network (and one in the management network) you can apply split-monitoring which will be discussed in a later blog-post.</p>
<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>
</div>
]]></content:encoded>
			<wfw:commentRss>http://labs.opsview.com/2011/09/5-easy-steps-to-monitor-multi-homed-hosts-using-opsview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 Ways to Make Your Monitoring System Scale</title>
		<link>http://labs.opsview.com/2011/09/10-ways-to-make-your-monitoring-system-scale/</link>
		<comments>http://labs.opsview.com/2011/09/10-ways-to-make-your-monitoring-system-scale/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 09:00:27 +0000</pubDate>
		<dc:creator>tcallway</dc:creator>
				<category><![CDATA[Forked software]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[MSPs]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Opsview]]></category>
		<category><![CDATA[SNMP]]></category>
		<category><![CDATA[System Management]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[business systems]]></category>
		<category><![CDATA[icinga]]></category>
		<category><![CDATA[multi-tenancy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[network monitoring]]></category>
		<category><![CDATA[open source monitoring]]></category>

		<guid isPermaLink="false">http://labs.opsview.com/?p=1009</guid>
		<description><![CDATA[
			
				
			
		
Freeware IT monitoring tools are used by thousands of organisation worldwide however using them to monitor complex network, server and application installations can be quite a challenge.  This blog post takes the basic capabilities of one such tool, Nagios® Core, and shows how you can scale it with Opsview for use in enterprise environments.

Distributed [...]]]></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%2F09%2F10-ways-to-make-your-monitoring-system-scale%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F09%2F10-ways-to-make-your-monitoring-system-scale%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-full wp-image-1012" style="margin-bottom: 8px; margin-right: 10px;" title="hyper scalability_2" src="http://labs.opsview.com/wp-content/uploads/2011/09/hyper-scalability_2.jpg" alt="" width="104" height="127" /></a></p>
<p>Freeware IT monitoring tools are used by thousands of organisation worldwide however using them to monitor complex network, server and application installations can be quite a challenge.  This blog post takes the basic capabilities of one such tool, <a href="http://www.opsview.com/company/legal/trademarks#NagiosTrademarkStatement">Nagios® Core</a>, and shows how you can scale it with Opsview for use in enterprise environments.</p>
<p><span id="more-1009"></span></p>
<h2>Distributed monitoring</h2>
<p>Building and managing a complex<a href="http://www.opsview.com/learn"> distributed monitoring</a> environment with Nagios Core is no mean feat. With Opsview you get distributed monitoring that’s easy to setup and simple to maintain.  You can monitor your devices and applications from a central location and grow the system without growing the monitoring complexity.</p>
<h2>Slave server clustering</h2>
<p>Opsview can automatically load-balance across multiple slaves and reallocate monitoring duties if a slave server fails, giving you high availability and scalability without additional overhead.</p>
<div id="attachment_1050" class="wp-caption alignright" style="width: 208px"><a href="http://labs.opsview.com/wp-content/uploads/2011/09/Clustering_diagram550px.png"><img class="size-full wp-image-1050   " style="margin-bottom: 8px; margin-left: 10px; border: 1px solid #ccc;" title="Clustering_diagram550px" src="http://labs.opsview.com/wp-content/uploads/2011/09/Clustering_diagram550px.png" alt="" width="198" height="152" /></a><p class="wp-caption-text">Example Clustering Model</p></div>
<h2>Master server clustering</h2>
<p>Management of Opsview is performed on a single master server, however master servers can be clustered giving you the high availability and redundancy needed for mission critical monitoring.</p>
<h2>Separate database server</h2>
<p>Opsview can be run on a separate database server so you can move intensive reporting activity to a dedicated machine and fine tune the server for better performance.</p>
<h2>Efficient configuration UI</h2>
<p>Nagios Core is capable of monitoring thousands of devices, but maintaining configuration on expanding systems can quickly become a problem. Opsview handles this with an easy to use interface and middleware layer which tackles the complexity of configuring individual software components.</p>
<h2>‘Single pane of glass’ monitoring</h2>
<p>Unlike Nagios Core where data may be gathered from a number of systems and presented in different ways, Opsview’s intuitive web interface displays all your monitoring information in one place, with a top down view on system status.  Devices and applications can be easily grouped by business process and their status displayed using simple &#8216;traffic lights&#8217; so you can easily see the health of critical and non-critical groups. This makes monitoring and maintaining large, complex systems less time consuming and more efficient with a scalable architecture to cover all your systems and locations.</p>
<div id="attachment_1031" class="wp-caption aligncenter" style="width: 560px"><a href="http://labs.opsview.com/wp-content/uploads/2011/09/configurationUI550px.png"><img class="size-full wp-image-1031" style="border: 1px solid #ccc;" title="configurationUI550px" src="http://labs.opsview.com/wp-content/uploads/2011/09/configurationUI550px.png" alt="" width="550" height="248" /></a><p class="wp-caption-text">Opsview&#39;s Host Group Hierarchy View</p></div>
<p style="text-align: center;">
<h2>Distributed alerting</h2>
<p>Slave servers monitored by Opsview can handle their own notifications, allowing autonomy if communication is lost between master and slave servers. Alerts can be sent by the Master server or slave server by email / sms so you’re always in touch with the health of your system, no matter the location or your systems.</p>
<h2>Automated APIs</h2>
<p>Opsview APIs speed up system configuration by automatically populating and updating host information saving you time and effort as your system grows.</p>
<div id="attachment_1048" class="wp-caption aligncenter" style="width: 560px"><a href="http://labs.opsview.com/wp-content/uploads/2011/09/API_diagram_Opsview550px1.jpg"><img class="size-full wp-image-1048" title="API_diagram_Opsview550px" src="http://labs.opsview.com/wp-content/uploads/2011/09/API_diagram_Opsview550px1.jpg" alt="" width="550" height="285" /></a><p class="wp-caption-text">Example use cases for Opsview&#39;s RESTful API</p></div>
<h2>SNMP trap processing</h2>
<p>Nagios Core has no native support for SNMP trap processing. Opsview’s SNMP engine accepts incoming traps, analyses the data and decides how to handle them. In-built SNMP discovery allows SNMP objects to be detected and monitored easily and rules can be configured through the management UI.</p>
<h2>Notification profiles</h2>
<p>With Nagios Core you can be inundated with monitoring information, not all of it useful. In Opsview you can set-up notification profiles so the right people get the right information at the right time. Only want to know about email server status during business hours? No problem. Need SMS alerts about your webstore? It’s covered. Notification profiles can also combined with Opsview’s service desk module to automatically assign support tasks to engineers, helping streamline incident management.</p>
<div style="border: 1px solid #ccc; background-color: #e6e6e6; padding: 6px;"><strong>IMPORTANT LEGAL NOTICE: No affiliation, partnership, joint-venture or any other commercial relationship exists between Opsera Ltd, the makers of Opsview, and Nagios Enterprises LLC, the trademark holders of Nagios.</strong></div>
]]></content:encoded>
			<wfw:commentRss>http://labs.opsview.com/2011/09/10-ways-to-make-your-monitoring-system-scale/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 Ways to Make Your Monitoring System Easier</title>
		<link>http://labs.opsview.com/2011/08/10-ways-to-make-your-monitoring-system-easier/</link>
		<comments>http://labs.opsview.com/2011/08/10-ways-to-make-your-monitoring-system-easier/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 10:18:12 +0000</pubDate>
		<dc:creator>tcallway</dc:creator>
				<category><![CDATA[Forked software]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Opsview]]></category>
		<category><![CDATA[SNMP]]></category>
		<category><![CDATA[System Management]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[business systems]]></category>
		<category><![CDATA[network monitoring]]></category>
		<category><![CDATA[open source monitoring]]></category>

		<guid isPermaLink="false">http://labs.opsview.com/?p=995</guid>
		<description><![CDATA[
			
				
			
		
Many freeware  IT monitoring tools are great but using them to manage complex systems can be a real challenge. It can also be unforgiving on anyone less than expert in configuring the system with mistakes being punished by a complete stop in monitoring activity.

Distributed monitoring

Opsview takes the complexities of its core engine, Nagios® Core, [...]]]></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%2F08%2F10-ways-to-make-your-monitoring-system-easier%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F08%2F10-ways-to-make-your-monitoring-system-easier%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div><p><a href="http://labs.opsview.com/wp-content/uploads/2011/08/staples-easy-button.png"><img class="alignleft size-full wp-image-1001" style="margin-bottom: 8px; margin-right: 10px;" title="staples-easy-button" src="http://labs.opsview.com/wp-content/uploads/2011/08/staples-easy-button.png" alt="" width="120" height="120" /></a></p>
<p>Many freeware <a href="http://www.opsview.com/learn/whitepapers/importance-it-monitoring-assuring-key-business-services-availability"> IT monitoring</a> tools are great but using them to manage complex systems can be a real challenge. It can also be unforgiving on anyone less than expert in configuring the system with mistakes being punished by a complete stop in monitoring activity.</p>
<p><span id="more-995"></span></p>
<h2>Distributed monitoring</h2>
<p><img class="alignright size-full wp-image-1020" style="margin-bottom: 8px; margin-left: 10px;" title="distributedMonitoring" src="http://labs.opsview.com/wp-content/uploads/2011/08/distributedMonitoring.jpg" alt="" width="169" height="163" /></p>
<p>Opsview takes the complexities of its core engine, <a href="http://www.opsview.com/company/legal/trademarks#NagiosTrademarkStatement">Nagios® Core</a>, and makes distributed monitoring simple. All management is performed on a single master server and communication with slaves is handled by Opsview&#8217;s middleware layer. Provision is included for geographically diverse monitoring and to cope with potentially unreliable WAN connections between servers.</p>
<h2>Host attributes</h2>
<p>A feature you won’t find in Nagios Core, <a href="http://labs.opsview.com/2011/10/5-steps-to-organising-your-server-monitoring-with-attributes/">host attributes</a> help simplify configurations by allowing you to create multiple services based on a set of pre-defined attributes.  You can assign one or many attributes to a host and set service checks to use the attributes for a host to then create multiple services for monitoring.</p>
<h2>Keywords</h2>
<p>Opsview’s keyword function gives you a flexible way of grouping hosts and services. You can tag devices, business processes and applications giving you a convenient way of seeing the status of the groups, e.g. critical IT systems, network circuits or business users and customers.</p>
<p><img class="alignleft" style="margin-bottom: 8px; margin-right: 10px;" title="Cloning" src="http://www.opsview.com/sites/all/themes/opsview/images/opsviewApplianceIcon90px.png" alt="" width="90" height="82" /></p>
<h2>Cloning capability</h2>
<p>Chances are when you’re configuring or adding devices and services to your network many of them will be quite similar.  To save time you can simply choose to clone an existing device or service monitored with Opsview and add it to the network.</p>
<h2>SNMP discovery</h2>
<p>Nagios Core provides support for SNMP via its plugin project, but it doesn’t provide support for processing SNMP traps. Opsview does this automatically. A powerful processing engine accepts incoming traps, analyses the data and then decides how they should be processed.  In-built SNMP discovery also means SNMP objects can be detected and monitored with ease without the need for human intervention.</p>
<h2><img class="alignright" style="margin-bottom: 8px; margin-left: 10px;" title="Service Desk Connector" src="http://www.opsview.com/sites/default/files/service-desk-connector600px.png" alt="" width="252" height="83" />Notification profiles</h2>
<p>Opsview helps you avoid information overload by easily creating complex business rules that define who gets alerts, how they get them and why. Combined with the Opsview service desk module you get a powerful notification tool that helps speed up mean time to repair and streamline workflows.</p>
<h2>Configuration UI</h2>
<p>Configuring and maintaining a system with Nagios Core can become difficult the bigger and more complex the monitoring environment gets. Opsview’s configuration UI means you don’t need to be a Nagios Core expert to get your monitoring up and running.   All the software processes are kept ‘under the hood’ and presented via an intuitive interface so you can see the information that makes a difference to your business without getting caught up with software.</p>
<h2>APIs for Automation</h2>
<p>Opsview includes automated APIs for configuration, monitoring and notification which makes system set-up pain-free and scaling simple.  The APIs also make integrating with other IT Management tools easy.</p>
<h2>SLA reporting</h2>
<p><img class="alignright" style="margin-bottom: 8px; margin-left: 10px; border: 1px solid #ccc;" title="Reports Module" src="http://www.opsview.com/sites/default/files/reports800px.jpg" alt="Reports Module" width="182" height="128" />Opsview’s <a href="http://www.opsview.com/products/enterprise-modules/reports">Reports Module</a> can automatically generate custom reports in line with business requirements. If you have to produce regular reports for your management or customers, this module will save you hours by generating the reports you need when you need them. The reports can be sent out automatically on email in PDF, HTML, Excel, ODT or XML to your chosen distribution list.</p>
<h2>Service desk integration</h2>
<p>When you <a href="http://www.opsview.com/products/enterprise-modules/service-desk-connector">integrate your service desk with Opsview</a> you get a powerful tool for automating incident reporting. Tickets can be created in your system based on alerts generated by Opsview, saving time and freeing up resources. Out of-the-box support is included for Service-Now.com, Bestpractical’s Request Tracker and Atlassian JIRA.</p>
<div style="border: 1px solid #ccc; background-color: #e6e6e6; padding: 6px;"><strong>IMPORTANT LEGAL NOTICE: No affiliation, partnership, joint-venture or any other commercial relationship exists between Opsera Ltd, the makers of Opsview, and Nagios Enterprises LLC, the trademark holders of Nagios.</strong></div>
]]></content:encoded>
			<wfw:commentRss>http://labs.opsview.com/2011/08/10-ways-to-make-your-monitoring-system-easier/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Managing security permissions for large teams in Opsview</title>
		<link>http://labs.opsview.com/2011/04/managing-security-permissions-for-large-teams-in-opsview/</link>
		<comments>http://labs.opsview.com/2011/04/managing-security-permissions-for-large-teams-in-opsview/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 10:34:10 +0000</pubDate>
		<dc:creator>tonvoon</dc:creator>
				<category><![CDATA[Catalyst]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[MSPs]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Opsview]]></category>
		<category><![CDATA[System Management]]></category>
		<category><![CDATA[Unix / Linux]]></category>
		<category><![CDATA[business systems]]></category>
		<category><![CDATA[multi-tenancy]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://labs.opsview.com/?p=819</guid>
		<description><![CDATA[
			
				
			
		Hindsight is a wonderful thing.
In hindsight, Opsview would have always had access controls for objects at the role level &#8211; since roles also define which parts of the Opsview application you can get to, it would make sense to also put all the host and service objects into this definition.
(In our defence, we wanted to [...]]]></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%2F04%2Fmanaging-security-permissions-for-large-teams-in-opsview%2F">
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Flabs.opsview.com%2F2011%2F04%2Fmanaging-security-permissions-for-large-teams-in-opsview%2F&amp;style=normal&amp;b=2" height="61" width="50" />
			</a>
		</div><p><a class="lightbox" title="img-secure" href="http://labs.opsview.com/wp-content/uploads/2011/04/img-secure.png"><img class="alignleft size-full wp-image-832" title="img-secure" src="http://labs.opsview.com/wp-content/uploads/2011/04/img-secure.png" alt="" width="168" height="168" /></a>Hindsight is a wonderful thing.</p>
<p>In hindsight, Opsview would have always had <a href="http://docs.opsview.com/doku.php?id=opsview3.12:access">access controls</a> for objects at the <a href="http://docs.opsview.com/doku.php?id=opsview3.12:role">role level</a> &#8211; since roles also define which parts of the Opsview application you can get to, it would make sense to also put all the host and service objects into this definition.</p>
<p>(In our defence, we wanted to make it as obvious as possible for a contact when you were changing access information.)</p>
<p>The downside of our design decision many years ago is that Opsview administrators who have lots of their users – or <a href="http://docs.opsview.com/doku.php?id=opsview3.12:contact">contacts</a> in Opsview terms – with the same sort of access and were having to change each user individually. This was painful and error prone if you had 40 &#8220;similar&#8221; users.<span id="more-819"></span></p>
<p>So <a href="http://www.opsview.com/products/opsview-enterprise">Opsview Enterprise 3.12.0</a> now has access information in the role definition. You change access at the role level and it automatically affects all users of that role. Even better, we ensure that a user&#8217;s notification profile only has references to the objects they are allowed &#8211; change the role definitions and object references will be <a href="http://docs.opsview.com/doku.php?id=opsview3.12:role#authorised_for_host_groups">automatically removed</a> from all aspects of that contact.</p>
<p>Now you can administer users in a much simpler way.</p>
<p>Hindsight &#8211; we wish we had more of it.</p>
<p>But the next best thing to hindsight &#8211; migratability.</p>
<h2>Migratability?</h2>
<p>The Opsview configuration database is <a href="http://www.ibm.com/developerworks/web/library/wa-dbdsgn2.html">normalised</a> and models the data as it is. Some application designers like to use key-value pairs to describe their data, which is nice from an expandable point of view, but rubbish when it comes to actually accessing that data in a meaningful way. When it comes to modelling our data, we model it &#8211; we don&#8217;t &#8220;meta-model&#8221; it.</p>
<p>We care a lot about people&#8217;s data because we build up a trust with our users that they can upgrade and bring their platform right up to date with the latest versions of Opsview. So we spend a lot of time getting the upgrade scripts just right.</p>
<p>If you are upgrading to Opsview 3.12, here&#8217;s what the upgrade scripts do:</p>
<ul>
<li>for each contact, it will see if this contact&#8217;s role has access information applied</li>
<li>if it hasn&#8217;t, it will use this contact&#8217;s access information to populate the role</li>
<li>if the role already has access information (from another contact), then it will compare all the current roles with their access information and if there is a match, this role is used</li>
<li>if it isn&#8217;t exactly the same, then a new role is created called &#8220;old role name &#8211; contact&#8221;</li>
</ul>
<p>So for example, let&#8217;s say you have 4 contacts &#8211; John, Paul, George and Ringo &#8211; all using the &#8220;Liverpool administrators&#8221; role.</p>
<p style="text-align: center;"><a class="lightbox" title="contact_list_preupgrade" href="http://labs.opsview.com/wp-content/uploads/2011/03/contact_list_preupgrade1.png"><img class="size-medium wp-image-821 aligncenter" title="contact_list_preupgrade" src="http://labs.opsview.com/wp-content/uploads/2011/03/contact_list_preupgrade1-300x129.png" alt="" width="300" height="129" /></a></p>
<p>The first three have their access information the same, but Ringo has missed out the <em>Production &#8211; Slicehost Servers</em> host group he should have had access to.</p>
<p style="text-align: center;"><a class="lightbox" title="ringo_config" href="http://labs.opsview.com/wp-content/uploads/2011/03/ringo_config.png"><img class="size-medium wp-image-818 aligncenter" title="ringo_config" src="http://labs.opsview.com/wp-content/uploads/2011/03/ringo_config-300x221.png" alt="" width="300" height="221" /></a></p>
<p>After the upgrade, the first three would still have the role of <em>Liverpool administrators</em>, but Ringo would have the role of a newly created <em>Liverpool administrators &#8211; ringo</em>. You could easily tell from this that Ringo should belong to the Liverpool administrators, so you can set him to this. Otherwise, maybe he is different after all, so you can rename the role to <em>Liverpool drummers</em>.</p>
<p style="text-align: center;"><a class="lightbox" title="contact_list_postupgrade" href="http://labs.opsview.com/wp-content/uploads/2011/03/contact_list_postupgrade.png"><img class="size-medium wp-image-822 aligncenter" title="contact_list_postupgrade" src="http://labs.opsview.com/wp-content/uploads/2011/03/contact_list_postupgrade-300x129.png" alt="" width="300" height="129" /></a></p>
<p>This means that most of the configuration for this new functionality is done for you automatically and you can think of your users in their role groups, rather than individually. Another step to making Opsview easier to use.</p>
]]></content:encoded>
			<wfw:commentRss>http://labs.opsview.com/2011/04/managing-security-permissions-for-large-teams-in-opsview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

