<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Thanks for your suggestion Daniel,&nbsp; unfortunately I&#8217;m still having difficulty running Kamailio with snmpstats &#8211; same error.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Has anyone got this working on CentOS?&nbsp; I&#8217;m not sure what to try next?<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:16.0pt;color:#1F497D;mso-fareast-language:EN-GB">Stephen Dodge<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB">Network Projects &amp; Support<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB">T: 0845 070 2291<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB">F: 0845 070 2281<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:16.0pt;font-family:&quot;Century Gothic&quot;,&quot;sans-serif&quot;;color:#1F497D;mso-fareast-language:EN-GB">bis</span></b><span style="font-size:16.0pt;font-family:&quot;Century Gothic&quot;,&quot;sans-serif&quot;;color:#1F497D;mso-fareast-language:EN-GB">tech</span><span style="font-size:16.0pt;color:#1F497D;mso-fareast-language:EN-GB">&nbsp;&nbsp;&nbsp;
 |&nbsp;&nbsp;&nbsp; </span><b><span style="font-size:16.0pt;font-family:&quot;Century Gothic&quot;,&quot;sans-serif&quot;;color:#1F497D;mso-fareast-language:EN-GB">bis</span></b><span style="font-size:16.0pt;font-family:&quot;Century Gothic&quot;,&quot;sans-serif&quot;;color:#1F497D;mso-fareast-language:EN-GB">net</span><span style="font-size:16.0pt;color:#1F497D;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:60%"><span style="color:#8064A2;mso-fareast-language:EN-GB">&nbsp;&nbsp;&nbsp;
</span><span style="font-size:9.0pt;line-height:60%;color:#8064A2;mso-fareast-language:EN-GB">O--</span><span style="font-size:9.0pt;line-height:60%;color:#00B050;mso-fareast-language:EN-GB">o</span><span style="font-size:9.0pt;line-height:60%;color:#8064A2;mso-fareast-language:EN-GB">--</span><span style="font-size:9.0pt;line-height:60%;color:#00B050;mso-fareast-language:EN-GB">o</span><span style="font-size:9.0pt;line-height:60%;color:#8064A2;mso-fareast-language:EN-GB">--</span><span style="font-size:9.0pt;line-height:60%;color:#00B050;mso-fareast-language:EN-GB">o--o&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style="font-size:9.0pt;line-height:60%;color:yellow;mso-fareast-language:EN-GB">O</span><span style="font-size:9.0pt;line-height:60%;color:#8064A2;mso-fareast-language:EN-GB">-</span><span style="font-size:9.0pt;line-height:60%;color:#00B050;mso-fareast-language:EN-GB">o</span><span style="font-size:9.0pt;line-height:60%;color:#8064A2;mso-fareast-language:EN-GB">-</span><span style="font-size:9.0pt;line-height:60%;color:#00B050;mso-fareast-language:EN-GB">o</span><span style="font-size:9.0pt;line-height:60%;color:#8064A2;mso-fareast-language:EN-GB">-</span><span style="font-size:9.0pt;line-height:60%;color:#00B050;mso-fareast-language:EN-GB">o-o<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:60%"><span style="font-size:9.0pt;line-height:60%;color:#00B050;mso-fareast-language:EN-GB"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB">Visit
<a href="http://www.bistech.co.uk/"><span style="color:blue">www.bistech.co.uk</span></a> for news and information<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB"><o:p>&nbsp;</o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext;mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext;mso-fareast-language:EN-GB">
 Daniel-Constantin Mierla [mailto:miconda@gmail.com] <br>
<b>Sent:</b> 26 August 2011 12:40<br>
<b>To:</b> Stephen Dodge (Bistech)<br>
<b>Cc:</b> SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List<br>
<b>Subject:</b> Re: [SR-Users] Kamailio 3.1.1 snmpstat help!!<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Hello,<br>
<br>
On 8/26/11 1:05 PM, Stephen Dodge (Bistech) wrote: <o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks Daniel,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">This morning I tried installing Kamailio 3.1.4 and SMTPstats using the CentOS rpm&#8217;s from
</span><a href="http://download.opensuse.org/repositories/home:/kamailio:/telephony/CentOS_CentOS-5/x86_64/">http://download.opensuse.org/repositories/home:/kamailio:/telephony/CentOS_CentOS-5/x86_64/</a><span style="color:#1F497D"> &nbsp;&nbsp;- our production Kamailio
 servers were installed this way, &nbsp;but I still have the same issue. </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">It looks like it may be a problem with CentOS, any idea?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;mso-fareast-language:EN-GB">googling, I found that host_ctl symbol comes with libwrap, thus I guess the module has to be linked against it on centos. In the faq of&nbsp; exim:<br>
<br>
<a href="http://wiki.exim.org/FAQ/Building_and_Installing/Q0103">http://wiki.exim.org/FAQ/Building_and_Installing/Q0103</a><br>
<br>
To try it, you will have to recompile the module (installing from sources or building the rpms), edit first modules_k/snmpstats/Makefile and add -lwrap to LIBS variable.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">&nbsp;</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB">Regards</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:16.0pt;color:#1F497D;mso-fareast-language:EN-GB">Stephen Dodge</span><o:p></o:p></p>
<p class="MsoNormal" style="line-height:60%"><span style="font-size:9.0pt;line-height:60%;color:#00B050;mso-fareast-language:EN-GB">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB">Visit
<a href="http://www.bistech.co.uk/">www.bistech.co.uk</a> for news and information</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB">&nbsp;</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D">&nbsp;</span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext;mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext;mso-fareast-language:EN-GB">
 Daniel-Constantin Mierla [<a href="mailto:miconda@gmail.com">mailto:miconda@gmail.com</a>]
<br>
<b>Sent:</b> 25 August 2011 18:07<br>
<b>To:</b> SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List<br>
<b>Cc:</b> Stephen Dodge (Bistech)<br>
<b>Subject:</b> Re: [SR-Users] Kamailio 3.1.1 snmpstat help!!</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">Hi Stephen,<br>
<br>
On 8/25/11 6:47 PM, Stephen Dodge (Bistech) wrote: <o:p></o:p></p>
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">I am having difficulty running the snmpstats module.&nbsp; We are running CentOS 5.6 and Kamailio version 3.1.1 (i386/linux).&nbsp; &nbsp;&nbsp;I&#8217;ve tried a fresh install of Kamailio,&nbsp; installing net-snmp from source but I can&#8217;t seem to get it running &#8211; I&#8217;ve
 seen a couple of posts regarding the issue but nothing seems to work for us!!<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt">you have to use at least 3.1.2 iirc - I did some fixes after 3.1.1 in this branch -- of course, the best is to run the latest stable version 3.1.4 or the git branch 3.1.<br>
<br>
At the time I did those fixes, I worked with this module on ubuntu and snmpwalk worked fine to pull the stats.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">The issue I get when I start Kamailio is:<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">0(27523) ERROR: &lt;core&gt; [sr_module.c:523]: ERROR: load_module: could not open module &lt;/usr/local/lib/kamailio/modules_k/snmpstats.so&gt;: /usr/lib/libnetsnmpagent.so.10: undefined symbol: hosts_ctl<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Any help would be much appreciated.&nbsp; Also,&nbsp; if anyone has any suggestions on how best to get either Solarwinds or PRTG to monitor our Kamailio servers that would be good.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Thanks.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:16.0pt;mso-fareast-language:EN-GB">Stephen Dodge</span><o:p></o:p></p>
<p class="MsoNormal" style="line-height:60%"><span style="font-size:9.0pt;line-height:60%;color:#00B050;mso-fareast-language:EN-GB">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Visit <a href="http://www.bistech.co.uk/">
www.bistech.co.uk</a> for news and information</span><o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Regards</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:16.0pt;mso-fareast-language:EN-GB">Stephen Dodge</span><o:p></o:p></p>
<p class="MsoNormal" style="line-height:60%"><span style="font-size:9.0pt;line-height:60%;color:#00B050;mso-fareast-language:EN-GB">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Visit <a href="http://www.bistech.co.uk/">
www.bistech.co.uk</a> for news and information</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt">&nbsp;</span><o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray;mso-fareast-language:EN-GB">Information in this message, including any attachments, is confidential to the person to whom it is addressed and may be legally privileged.
 If you are not the intended recipient please notify the sender and delete the message from your system. Please note that Bistech Group plc, Bistech plc, Bisnet Limited and the sender do not accept any responsibility for viruses. It is your responsibility to
 check the e-mail and any attachments for viruses. Calls may be monitored and recorded.<br>
</span><span style="font-size:12.0pt"><br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<o:p></o:p></pre>
<pre><a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><o:p></o:p></pre>
<pre><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></pre>
<p class="MsoNormal"><span style="font-size:12.0pt"><br>
<br>
<br>
</span><o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Daniel-Constantin Mierla -- <a href="http://www.asipto.com">http://www.asipto.com</a><o:p></o:p></pre>
<pre>Kamailio Advanced Training, Oct 10-13, Berlin: <a href="http://asipto.com/u/kat">http://asipto.com/u/kat</a><o:p></o:p></pre>
<pre><a href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda">http://twitter.com/miconda</a><o:p></o:p></pre>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;mso-fareast-language:EN-GB"><o:p>&nbsp;</o:p></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;mso-fareast-language:EN-GB">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:gray;mso-fareast-language:EN-GB">Information in this message, including any attachments, is confidential to the person to whom it is addressed and may be legally privileged.
 If you are not the intended recipient please notify the sender and delete the message from your system. Please note that Bistech Group plc, Bistech plc, Bisnet Limited and the sender do not accept any responsibility for viruses. It is your responsibility to
 check the e-mail and any attachments for viruses. Calls may be monitored and recorded.</span><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;mso-fareast-language:EN-GB"><br>
<br>
<o:p></o:p></span></p>
<pre>-- <o:p></o:p></pre>
<pre>Daniel-Constantin Mierla -- <a href="http://www.asipto.com">http://www.asipto.com</a><o:p></o:p></pre>
<pre>Kamailio Advanced Training, Oct 10-13, Berlin: <a href="http://asipto.com/u/kat">http://asipto.com/u/kat</a><o:p></o:p></pre>
<pre><a href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda">http://twitter.com/miconda</a><o:p></o:p></pre>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">Information in this message, including any attachments, is confidential to the person to whom it is addressed and may be legally privileged. If you are not the intended recipient please notify the sender and delete the
 message from your system. Please note that Bistech Group plc, Bistech plc, Bisnet Limited and the sender do not accept any responsibility for viruses. It is your responsibility to check the e-mail and any attachments for viruses. Calls may be monitored and
 recorded.<br>
</font>
</body>
</html>