<div dir="ltr">Hi all,<div><br></div><div>found the reason for this myself: The php5-snmp module was missing from my installation.</div><div><br></div><div>"apt-get install php5-snmp" made it work on ubuntu. </div>
<div><br></div><div>Should be added to the wiki documentation.<br></div><div><br></div><div><br></div><div>Cheers, Thorleif</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Sep 15, 2013 at 6:59 PM, Thorleif Wiik [BCIX] <span dir="ltr"><<a href="mailto:thorleif.wiik@bcix.de" target="_blank">thorleif.wiik@bcix.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi there,</div><div><br></div><div>I just installed and configured IXP Manager for the first time.</div>
<div><br></div><div>No I added two switches, one Force10 and one Brocade Switch and tried to </div>
<div>edit ports with SNMP poll and got an error 500 :-( (see apache log lines at the end).</div><div><br></div><div>Any tips to fix this bug? </div><div><br></div><div>And which SNMP Version does IXP Manager use?</div><div>
<br></div><div><br></div><div><br></div><div><br></div><div>I used ( Home / Switches / List -> View / Edit Ports (with SNMP poll) )</div><div><br></div><div><br></div><div>Logs:</div><div><br></div><div>[Sun Sep 15 18:48:39 2013] [error] [client 212.255.28.136] FastCGI: server "/usr/lib/cgi-bin/php5-fcgi" stderr: PHP message: PHP Notice: Use of undefined constant SNMP_OID_OUTPUT_FULL - assumed 'SNMP_OID_OUTPUT_FULL' in /var/www/ixp/application/controllers/SwitchPortController.php on line 479</div>
<div>[Sun Sep 15 18:48:39 2013] [error] [client 212.255.28.136] FastCGI: server "/usr/lib/cgi-bin/php5-fcgi" stderr: PHP message: PHP Notice: Use of undefined constant SNMP_OID_OUTPUT_NUMERIC - assumed 'SNMP_OID_OUTPUT_NUMERIC' in /var/www/ixp/application/controllers/SwitchPortController.php on line 479</div>
<div>[Sun Sep 15 18:48:39 2013] [error] [client 212.255.28.136] FastCGI: server "/usr/lib/cgi-bin/php5-fcgi" stderr: PHP message: PHP Fatal error: Call to undefined function OSS_SNMP\\snmp_set_oid_output_format() in /var/www/ixp/library/OSS_SNMP.git/OSS_SNMP/SNMP.php on line 518</div>
<div><br></div><div><br></div><div>Thanks, Thorleif</div><div><br></div>-- <br>Thorleif Wiik<br><a href="mailto:thorleif.wiik@bcix.de" target="_blank">thorleif.wiik@bcix.de</a><br><br> Tel: <a href="tel:%2B49%20160%2090378641" value="+4916090378641" target="_blank">+49 160 90378641</a><br>
<br>BCIX Management GmbH / BCIX e.V.<br>
Stromstrasse 5<br>10555 Berlin - Germany<br><br><a href="http://www.bcix.de/" target="_blank">http://www.bcix.de/</a><br><a href="http://twitter.com/bcix" target="_blank">http://twitter.com/bcix</a><div><a href="https://www.facebook.com/BCIX.Internet.Exchange" target="_blank">https://www.facebook.com/BCIX.Internet.Exchange</a></div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Thorleif Wiik<br><a href="mailto:thorleif.wiik@bcix.de" target="_blank">thorleif.wiik@bcix.de</a><br><br> Tel: +49 160 90378641<br><br>BCIX Management GmbH / BCIX e.V.<br>
Stromstrasse 5<br>10555 Berlin - Germany<br><br><a href="http://www.bcix.de/" target="_blank">http://www.bcix.de/</a><br><a href="http://twitter.com/bcix" target="_blank">http://twitter.com/bcix</a><div><a href="https://www.facebook.com/BCIX.Internet.Exchange" target="_blank">https://www.facebook.com/BCIX.Internet.Exchange</a></div>
</div></div>