<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">sorry for inconvenience ,,</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">We edited  <strong>/srv/ixpmanager/vendor/opensolutions/oss-snmp/src/OSS_SNMP/Platforms/vendor_cisco.php</strong></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">to add our new switch model by adding below lines :</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">"</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">if( substr( $sysDescr, 0, 12 ) == 'Cisco IOS Software')<br />{<br /><br />//our_switch<br /><br /> (preg_match( '/Cisco(.+)C3560 Software(.+)Version\s([0-9A-Za-z\(\)\.]+),\sRELEASE SOFTWARE.*/',<br /> $sysDescr, $matches ));<br /><br /> $this->setVendor( 'Cisco Systems' );<br /> $this->setModel( 'C3560' );<br /> $this->setOs( 'IOS' );<br /> $this->setOsVersion( $matches[3] );<br /> $this->sietOsDate( null );<br />}<br /><br /></div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">"</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">, when try to add again it gave us :</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">"
<h2>ErrorException</h2>
<dl>
<dt>File</dt>
<dd>/srv/ixpmanager/vendor/opensolutions/oss-snmp/src/OSS_SNMP/Platforms/vendor_cisco.php</dd>
<dt>Line</dt>
<dd>78</dd>
<dt>Message</dt>
<dd>Undefined offset: 1</dd>
<dt>Code</dt>
<dd>0"</dd>
</dl>
<p><br /></p>
<p>It is code syntax Error and we don't know how to deal with it .</p>
<p><br /></p>
<p>Thanks in advance </p>
</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">On 2017-11-28 07:08, Mike Hammett wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">You'll need to be more verbose. What doesn't work? Why?<br /> <br /> -----<br /> Mike Hammett<br /> Intelligent Computing Solutions [<a href="http://www.ics-il.com/" target="_blank" rel="noreferrer">1</a>]<br />  [<a href="https://www.facebook.com/ICSIL" target="_blank" rel="noreferrer">2</a>] [<a href="https://plus.google.com/+IntelligentComputingSolutionsDeKalb" target="_blank" rel="noreferrer">3</a>] [<a href="https://www.linkedin.com/company/intelligent-computing-solutions" target="_blank" rel="noreferrer">4</a>] [<a href="https://twitter.com/ICSIL" target="_blank" rel="noreferrer">5</a>]<br /> Midwest Internet Exchange [<a href="http://www.midwest-ix.com/" target="_blank" rel="noreferrer">6</a>]<br />  [<a href="https://www.facebook.com/mdwestix" target="_blank" rel="noreferrer">7</a>] [<a href="https://www.linkedin.com/company/midwest-internet-exchange" target="_blank" rel="noreferrer">8</a>] [<a href="https://twitter.com/mdwestix" target="_blank" rel="noreferrer">9</a>]<br /> The Brothers WISP [<a href="http://www.thebrotherswisp.com/" target="_blank" rel="noreferrer">10</a>]<br />  [<a href="https://www.facebook.com/thebrotherswisp" target="_blank" rel="noreferrer">11</a>] [<a href="https://www.youtube.com/channel/UCXSdfxQv7SpoRQYNyLwntZg" target="_blank" rel="noreferrer">12</a>]<br /> <br /> -------------------------<br /> <br /> FROM: "k abdalla" <<a href="mailto:k.abdalla@q-ab.com">k.abdalla@q-ab.com</a>><br /> TO: "Barry O'Donovan" <<a href="mailto:barry.odonovan@inex.ie">barry.odonovan@inex.ie</a>><br /> CC: "INEX IXP Manager Mailing List" <<a href="mailto:ixpmanager@inex.ie">ixpmanager@inex.ie</a>>, "a rifat"<br /> <<a href="mailto:a.rifat@q-ab.com">a.rifat@q-ab.com</a>><br /> SENT: Tuesday, November 28, 2017 6:04:51 AM<br /> SUBJECT: Re: [ixpmanager] Error when Adding Switch via SNMP on IXP<br /> Manager<br /> <br /> Thanks for great help , I tried to add new device but it did'nt work<br /> can you please help me  <br /> <br /> On 2017-11-28 04:05, Barry O'Donovan wrote: <br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Hi K,<br /> <br /> 3) Remove the log file, retry and then post the entire log file to<br /> a<br /> pastebin and provide the URL please.<br /> can you please see the log *<a href="https://pastebin.com/whR4KWP0*" target="_blank" rel="noreferrer">https://pastebin.com/whR4KWP0*</a></blockquote>
<br /> Thanks.<br /> <br /> That's narrowed it down to an issue with OSS_SNMP - the library we use<br /> to SNMP poll the switches. Looks like yours is not fully supported.<br /> <br /> Can you following the instructions from:<br /> <br /> <a href="https://github.com/opensolutions/OSS_SNMP/wiki/Device-Discovery#adding-new-devices" target="_blank" rel="noreferrer">https://github.com/opensolutions/OSS_SNMP/wiki/Device-Discovery#adding-new-devices</a><br /> <br /> Specifically, provide:<br /> <br /> 1) switch make, model, OS name and version<br /> <br /> 2) the output of:<br /> <br />     snmpget -c $community -On -v 2c $hostname .1.3.6.1.2.1.1.1.0 <br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">.1.3.6.1.2.1.1.1.0 = STRING: "CISCO IOS SOFTWARE, C3560E SOFTWARE<br /> (C3560E-UNIVERSALK9-M), VERSION 12.2(55)SE5, RELEASE SOFTWARE (FC1)<br /> TECHNICAL SUPPORT: <a href="HTTP://WWW.CISCO.COM/TECHSUPPORT" target="_blank" rel="noreferrer">HTTP://WWW.CISCO.COM/TECHSUPPORT</a><br /> COPYRIGHT (C) 1986-2012 BY CISCO SYSTEMS, INC.<br /> COMPILED THU 09-FEB-12 18:32 BY PROD_REL_TEAM"</blockquote>
<br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">snmpget -c $community -On -v 2c $hostname .1.3.6.1.2.1.1.2.0</blockquote>
     .1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.9.1.796<br /> <br /> 3) if you want to record the serial number and your device supports<br /> it,<br /> then the OID and a sample response for that also. E.g. on a Brocade<br /> FESX<br /> it's:<br /> <br />     snmpget -c $community -On -v 2c $hostname<br /> .1.3.6.1.4.1.1991.1.1.1.1.2.0<br /> <br /> Barry <br /> <br /> Thanks again !and much appreciated  <br /> _______________________________________________<br /> INEX IXP Manager mailing list<br /> <a href="mailto:ixpmanager@inex.ie">ixpmanager@inex.ie</a><br /> <a href="https://www.inex.ie/mailman/listinfo/ixpmanager" target="_blank" rel="noreferrer">https://www.inex.ie/mailman/listinfo/ixpmanager</a><br /> <br /> <br /> <br /> Links:<br /> ------<br /> [1] <a href="http://www.ics-il.com/" target="_blank" rel="noreferrer">http://www.ics-il.com/</a><br /> [2] <a href="https://www.facebook.com/ICSIL" target="_blank" rel="noreferrer">https://www.facebook.com/ICSIL</a><br /> [3] <a href="https://plus.google.com/+IntelligentComputingSolutionsDeKalb" target="_blank" rel="noreferrer">https://plus.google.com/+IntelligentComputingSolutionsDeKalb</a><br /> [4] <a href="https://www.linkedin.com/company/intelligent-computing-solutions" target="_blank" rel="noreferrer">https://www.linkedin.com/company/intelligent-computing-solutions</a><br /> [5] <a href="https://twitter.com/ICSIL" target="_blank" rel="noreferrer">https://twitter.com/ICSIL</a><br /> [6] <a href="http://www.midwest-ix.com/" target="_blank" rel="noreferrer">http://www.midwest-ix.com/</a><br /> [7] <a href="https://www.facebook.com/mdwestix" target="_blank" rel="noreferrer">https://www.facebook.com/mdwestix</a><br /> [8] <a href="https://www.linkedin.com/company/midwest-internet-exchange" target="_blank" rel="noreferrer">https://www.linkedin.com/company/midwest-internet-exchange</a><br /> [9] <a href="https://twitter.com/mdwestix" target="_blank" rel="noreferrer">https://twitter.com/mdwestix</a><br /> [10] <a href="http://www.thebrotherswisp.com/" target="_blank" rel="noreferrer">http://www.thebrotherswisp.com/</a><br /> [11] <a href="https://www.facebook.com/thebrotherswisp" target="_blank" rel="noreferrer">https://www.facebook.com/thebrotherswisp</a><br /> [12] <a href="https://www.youtube.com/channel/UCXSdfxQv7SpoRQYNyLwntZg" target="_blank" rel="noreferrer">https://www.youtube.com/channel/UCXSdfxQv7SpoRQYNyLwntZg</a><br /> _______________________________________________<br /> INEX IXP Manager mailing list<br /> <a href="mailto:ixpmanager@inex.ie">ixpmanager@inex.ie</a><br /> <a href="https://www.inex.ie/mailman/listinfo/ixpmanager" target="_blank" rel="noreferrer">https://www.inex.ie/mailman/listinfo/ixpmanager</a></blockquote>
</div>
</body></html>