<?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>The Lazy Sys Admin&#187; SNMP</title>
	<atom:link href="http://www.thelazysysadmin.net/tag/snmp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thelazysysadmin.net</link>
	<description>Why do things the hard way?</description>
	<lastBuildDate>Mon, 07 Jun 2010 22:24:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Monitor Mitel 3300 ICP with Nagios</title>
		<link>http://www.thelazysysadmin.net/2009/07/monitor-mitel-3300-icp-with-nagios/</link>
		<comments>http://www.thelazysysadmin.net/2009/07/monitor-mitel-3300-icp-with-nagios/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 09:01:04 +0000</pubDate>
		<dc:creator>Jon Smith</dc:creator>
				<category><![CDATA[Mitel]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[Alarms]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[PABX]]></category>
		<category><![CDATA[SNMP]]></category>

		<guid isPermaLink="false">http://www.thelazysysadmin.net/?p=578</guid>
		<description><![CDATA[I have a cluster of Mitel 3300 ICP PABX&#8217;s across several offices internationally and have been looking for a monitoring solution that can send alerts whenever an alarm is triggered on any one of the PABX controllers. Mitel already have a monitoring solution called Enterprise Manager, but this didn&#8217;t do what I wanted it to [...]]]></description>
			<content:encoded><![CDATA[<p>I have a cluster of Mitel 3300 ICP PABX&#8217;s across several offices internationally and have been looking for a monitoring solution that can send alerts whenever an alarm is triggered on any one of the PABX controllers. Mitel already have a monitoring solution called Enterprise Manager, but this didn&#8217;t do what I wanted it to do. Enterprise Manager will send out emails based on certain policies and allow for issue escalation but its features are a little limited. I already have an extensive Nagios setup that will SMS and email for alerts, so I looked at integrating with this system.</p>
<p><span id="more-578"></span>I have developed a script that will check the Mitel system via SNMP to check the current alarm level, if there is an alarm it will then make another SNMP call to the alarm categories table and list the current list of alarms as part of the alert. The script requires the perl module Net::SNMP and can be downloaded from the download section at the bottom of this post.</p>
<p>Usage:</p>
<pre class="brush: plain;">Usage: ./check_mitel.pl hostname [snmp community: Defaults to &quot;public&quot;]
            [snmp port: Defaults to &quot;161&quot;]</pre>
<p>Check Command Definition:</p>
<pre class="brush: plain;">define command{
        command_name    mitelalarm
        command_line    $USER1$/check_mitel.pl $HOSTADDRESS$ $ARG1$
}</pre>
<p>Service Template Definition:</p>
<pre class="brush: plain;">define service {
        name mitelalarm
        use base
        check_command mitelalarm
        register 0
}</pre>
<p>Service Definition (replace &#8220;public&#8221; with the SNMP Community set on your Mitel controller):</p>
<pre class="brush: plain;">define service {
        use base
        service_description Mitel Alarm Check
        check_command mitelalarm!public
        host_name mitelcontroller1
}</pre>
<p><strong>Download</strong>:</p>
<ul>
<li><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/check_mitel.pl">check_mitel.pl</a></li>
</ul>
<p>I have also been working on Cacti graphs of the Bandwidth management details, more on that early next month <img src='http://www.thelazysysadmin.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelazysysadmin.net/2009/07/monitor-mitel-3300-icp-with-nagios/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
