<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Monitoring Wanpipe and chan_ss7 with Nagios</title>
	<atom:link href="http://convergence.pk/monitoring-wanpipe-and-chan_ss7-with-nagios.html/feed" rel="self" type="application/rss+xml" />
	<link>http://convergence.pk/monitoring-wanpipe-and-chan_ss7-with-nagios.html</link>
	<description>Bringing IT to a point ...</description>
	<lastBuildDate>Sun, 19 Jun 2011 11:50:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: wasim</title>
		<link>http://convergence.pk/monitoring-wanpipe-and-chan_ss7-with-nagios.html/comment-page-1#comment-28</link>
		<dc:creator>wasim</dc:creator>
		<pubDate>Wed, 10 Mar 2010 02:20:18 +0000</pubDate>
		<guid isPermaLink="false">http://convergence.pk/?p=273#comment-28</guid>
		<description>oh, for those of you using libss7, apply this patch

28c28
&lt; 		linkset = &quot;1&quot;
---
&gt; 		linkset = &quot;ptcl&quot;
36c36
&lt; 	line = os.popen(&quot;%s -rnx &#039;ss7 show linkset %s&#039;&quot; % (cmd,linkset)).readline()
---
&gt; 	line = os.popen(&quot;%s -rnx &#039;ss7 link status&#039;&quot; % cmd).readline()
38c38
&lt; 		if &quot;Down&quot; in line :
---
&gt; 		if &quot;NOT_ALIGNED&quot; in line :
40c40,42
&lt; 		elif &quot;Up&quot; in line :
---
&gt; 		elif &quot;PROVING&quot; in line :
&gt; 			np.nagios_exit(&quot;WARNING&quot;, &quot;link %s PROVING&quot; % linkset)
&gt; 		elif &quot;INSERVICE&quot; in line :

I&#039;ll write something up for the dahdi monitoring as well ...</description>
		<content:encoded><![CDATA[<p>oh, for those of you using libss7, apply this patch</p>
<p>28c28<br />
< linkset = "1"<br />
---<br />
> 		linkset = &#8220;ptcl&#8221;<br />
36c36<br />
< line = os.popen("%s -rnx 'ss7 show linkset %s'" % (cmd,linkset)).readline()<br />
---<br />
> 	line = os.popen(&#8220;%s -rnx &#8216;ss7 link status&#8217;&#8221; % cmd).readline()<br />
38c38<br />
< if "Down" in line :<br />
---<br />
> 		if &#8220;NOT_ALIGNED&#8221; in line :<br />
40c40,42<br />
< elif "Up" in line :<br />
---<br />
> 		elif &#8220;PROVING&#8221; in line :<br />
> 			np.nagios_exit(&#8220;WARNING&#8221;, &#8220;link %s PROVING&#8221; % linkset)<br />
> 		elif &#8220;INSERVICE&#8221; in line :</p>
<p>I&#8217;ll write something up for the dahdi monitoring as well &#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

